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