Skip to content

Commit 0122e5b

Browse files
committed
test:jvm - dump exception to console
By default, clojure writes unexpected exceptions to a file. This is not helpful for tests running on ci. Ask clojure to write the exception to the console.
1 parent 3fd3e36 commit 0122e5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/test.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,4 @@
123123

124124
(defn test-jvm [& args]
125125
(when-let [{:keys [shell-opts test-runner-args]} (prep args)]
126-
(apply shell/clojure shell-opts "-M:test" test-runner-args)))
126+
(apply shell/clojure shell-opts "-J-Dclojure.main.report=stderr" "-M:test" test-runner-args)))

0 commit comments

Comments
 (0)