| ... | @@ -34,6 +34,7 @@ pub fn build(b: *std.Build) void { | ... | @@ -34,6 +34,7 @@ pub fn build(b: *std.Build) void { |
| 34 | | 34 | |
| 35 | const test_step = b.step("test", "Run all library tests"); | 35 | const test_step = b.step("test", "Run all library tests"); |
| 36 | const tests_run = b.addRunArtifact(tests); | 36 | const tests_run = b.addRunArtifact(tests); |
| | 37 | tests_run.setCwd(b.path(".")); |
| 37 | tests_run.has_side_effects = true; | 38 | tests_run.has_side_effects = true; |
| 38 | test_step.dependOn(&tests_run.step); | 39 | test_step.dependOn(&tests_run.step); |
| 39 | } | 40 | } |