fix test failure handling
This commit is contained in:
parent
fd95a69b5c
commit
8ad1110fcb
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@
|
|||
:main 'clojure.main
|
||||
:main-args ["-m" "cognitect.test-runner"]})
|
||||
{:keys [exit]} (b/process cmds)]
|
||||
(when-not (zero? exit) (throw "Tests failed"))))
|
||||
(when-not (zero? exit) (throw (ex-info "Tests failed" {})))))
|
||||
opts)
|
||||
|
||||
(defn- jar-opts [opts]
|
||||
|
|
|
|||
Loading…
Reference in a new issue