| ... | @@ -28,7 +28,7 @@ pub fn build(b: *std.Build) void { | ... | @@ -28,7 +28,7 @@ pub fn build(b: *std.Build) void { |
| 28 | }); | 28 | }); |
| 29 | | 29 | |
| 30 | const run_test = b.addRunArtifact(tests); | 30 | const run_test = b.addRunArtifact(tests); |
| 31 | run_test.step.dependOn(&tests.step); | 31 | run_test.has_side_effects = true; |
| 32 | | 32 | |
| 33 | const test_step = b.step("test", "Run the test suite"); | 33 | const test_step = b.step("test", "Run the test suite"); |
| 34 | test_step.dependOn(&run_test.step); | 34 | test_step.dependOn(&run_test.step); |