File tree 5 files changed +15
-3
lines changed
5 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -11,3 +11,4 @@ pom.xml.asc
11
11
.hg /
12
12
doc /api
13
13
test /debug.log
14
+ test /junit.xml
Original file line number Diff line number Diff line change @@ -2,6 +2,13 @@ machine:
2
2
java :
3
3
version : oraclejdk8
4
4
5
+ test :
6
+ post :
7
+ - mkdir -p ${CIRCLE_TEST_REPORTS}/lein-test :
8
+ parallel : true
9
+ - cp test/junit.xml ${CIRCLE_TEST_REPORTS}/lein-test/${CIRCLE_NODE_INDEX}.xml :
10
+ parallel : true
11
+
5
12
deployment :
6
13
all :
7
14
branch : /.*/
Original file line number Diff line number Diff line change 11
11
[net.n01se/clojure-jna " 1.0.0" ]
12
12
[robert/hooke " 1.3.0" ]]
13
13
:profiles {:dev {:plugins [[lein-codox " 0.9.1" ]]}
14
- :test {:jvm-opts [" -Djava.util.logging.config.file=test/logging.properties" ]}}
14
+ :test {:dependencies [[clojure-test-junit-output " 0.1.3" ]]
15
+ :jvm-opts [" -Djava.util.logging.config.file=test/logging.properties" ]}}
15
16
:deploy-repositories ^:replace [[" clojars" {:url " https://clojars.org/repo"
16
17
:username [:gpg :env/clojars_username ]
17
18
:password [:gpg :env/clojars_password ]
Original file line number Diff line number Diff line change 96
96
(swap! output conj (String. b off len))))
97
97
run-exec (future
98
98
(try
99
- (ssh/exec {:port 2222
99
+ (ssh/exec {:blocking-timeout 5000
100
+ :port 2222
100
101
:read-timeout 5000 }
101
102
(str " tail -F " tempfile)
102
103
:out streaming-reader)
Original file line number Diff line number Diff line change 2
2
(:require [clojure.java.shell :as sh]
3
3
[clojure.string :as str]
4
4
[clojure.test :as test]
5
+ [clojure-test-junit-output.core :refer [with-junit-output]]
5
6
[net.n01se.clojure-jna :as jna]
6
7
[clj-libssh2.logging :as logging])
7
8
(:import [java.io File]))
60
61
(defn fixtures
61
62
[]
62
63
(test/use-fixtures :once (test/join-fixtures
63
- [with-sandbox-sshd
64
+ [(with-junit-output " test/junit.xml" )
65
+ with-sandbox-sshd
64
66
with-really-verbose-logging])))
65
67
66
68
(defmacro with-temp-file
You can’t perform that action at this time.
0 commit comments