Skip to content

Commit 20ee62a

Browse files
committed
Always rerun tests, and fail on non-zero return
1 parent 2e0226e commit 20ee62a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.zig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@ pub fn build(b: *std.Build) void {
219219
for (test_scripts) |test_script| {
220220
const run_test_cmd = b.addRunArtifact(janet_exe);
221221
run_test_cmd.addFileArg(b.path(test_script));
222+
run_test_cmd.expectExitCode(0);
223+
run_test_cmd.stdio = .inherit;
222224
test_step.dependOn(&run_test_cmd.step);
223225
}
224226
}

0 commit comments

Comments
 (0)