| ... | @@ -26,6 +26,7 @@ pub fn build(b: *std.Build) void { | ... | @@ -26,6 +26,7 @@ pub fn build(b: *std.Build) void { |
| 26 | | 26 | |
| 27 | const test_step = b.step("test", "Run all library tests"); | 27 | const test_step = b.step("test", "Run all library tests"); |
| 28 | const tests_run = b.addRunArtifact(tests); | 28 | const tests_run = b.addRunArtifact(tests); |
| | 29 | tests_run.setCwd(b.path(".")); |
| 29 | tests_run.has_side_effects = true; | 30 | tests_run.has_side_effects = true; |
| 30 | test_step.dependOn(&tests_run.step); | 31 | test_step.dependOn(&tests_run.step); |
| 31 | } | 32 | } |