mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
print tests passed msg
This commit is contained in:
parent
73d0850e32
commit
f625e38b0a
1 changed files with 6 additions and 0 deletions
|
@ -116,6 +116,12 @@ pub fn build(b: *std.Build) void {
|
|||
const run_builtins_tests = b.addRunArtifact(builtins_tests);
|
||||
builtins_test_step.dependOn(&run_builtins_tests.step);
|
||||
test_step.dependOn(&run_builtins_tests.step);
|
||||
|
||||
// Add success message after all tests complete
|
||||
const tests_passed_step = b.addSystemCommand(&.{ "echo", "All tests passed!" });
|
||||
tests_passed_step.step.dependOn(&run_tests.step);
|
||||
tests_passed_step.step.dependOn(&run_builtins_tests.step);
|
||||
test_step.dependOn(&tests_passed_step.step);
|
||||
}
|
||||
|
||||
// Fmt zig code.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue