| ... | @@ -17,6 +17,7 @@ pub fn build(b: *std.Build) void { | ... | @@ -17,6 +17,7 @@ pub fn build(b: *std.Build) void { |
| 17 | | 17 | |
| 18 | const test_step = b.step("test", "Run all library tests"); | 18 | const test_step = b.step("test", "Run all library tests"); |
| 19 | const tests_run = b.addRunArtifact(tests); | 19 | const tests_run = b.addRunArtifact(tests); |
| | 20 | tests_run.setCwd(b.path(".")); |
| 20 | tests_run.has_side_effects = true; | 21 | tests_run.has_side_effects = true; |
| 21 | test_step.dependOn(&tests_run.step); | 22 | test_step.dependOn(&tests_run.step); |
| 22 | } | 23 | } |