print tests passed msg

This commit is contained in:
Anton-4 2025-07-07 16:43:27 +02:00
parent 73d0850e32
commit f625e38b0a
No known key found for this signature in database
GPG key ID: 0971D718C0A9B937

View file

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