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