fix test failure handling

This commit is contained in:
Sean Corfield 2023-08-09 19:19:51 -07:00
parent fd95a69b5c
commit 8ad1110fcb

View file

@ -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]