diff --git a/build.zig b/build.zig index 3186f9e597d420273e74ee0163f7de56ca20f033..dd448888d2c889bc246740fb0cfb08441e806bef 100644 --- a/build.zig +++ b/build.zig @@ -37,6 +37,7 @@ pub fn build(b: *std.Build) void { const test_step = b.step("test", "Run all library tests"); const tests_run = b.addRunArtifact(tests); + tests_run.setCwd(b.path(".")); tests_run.has_side_effects = true; test_step.dependOn(&tests_run.step); test_step.dependOn(&exe2.step);