Skip to content

Commit 981f7b2

Browse files
committed
canary tests: continue after failure
Intent to continue after test failure now realized.
1 parent e20cbf0 commit 981f7b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/test_libs.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@
454454
(throw (ex-info (format "missing test-cmds for %s" name) {})))
455455
(status/line :head "%s: Running tests" name)
456456
(let [exit-codes (into [] (map-indexed (fn [ndx cmd]
457-
(let [{:keys [exit]} (shcmd {:dir home-dir} cmd)]
457+
(let [{:keys [exit]} (shcmd {:dir home-dir :continue true} cmd)]
458458
(if (zero? exit)
459459
(status/line :detail "=> %s: TESTS %d of %d PASSED\n" name (inc ndx) (count test-cmds))
460460
(status/line :warn "=> %s: TESTS %d of %d FAILED" name (inc ndx) (count test-cmds)))

0 commit comments

Comments
 (0)