testing: fix test runner

This commit is contained in:
David Rubin 2024-05-05 15:18:00 -07:00
parent 39c95e8930
commit 6603a9c26c
No known key found for this signature in database
GPG Key ID: C326E694CED89F6D

View File

@ -252,6 +252,6 @@ pub fn mainSimple() anyerror!void {
}
if (print_summary) {
stderr.writer().print("{} passed, {} skipped, {} failed\n", .{ passed, skipped, failed }) catch {};
if (failed != 0) std.process.exit(1);
}
if (failed != 0) std.process.exit(1);
}