authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-08-28 12:10:59 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-08-28 12:10:59 -07:00
log39febbcd89ea0a92f849c1697b76dd540ee6cfb6
tree796b82340a959b18df05af373e79b1925422ec74
parent3a813dc9d347ec7ddf5c9186434e70b0b0a5dba1

build.zig: ensure tests are run with project root as cwd


1 files changed, 1 insertions(+), 0 deletions(-)

build.zig+1
......@@ -34,6 +34,7 @@ pub fn build(b: *std.Build) void {
3434
3535 const test_step = b.step("test", "Run all library tests");
3636 const tests_run = b.addRunArtifact(tests);
37 tests_run.setCwd(b.path("."));
3738 tests_run.has_side_effects = true;
3839 test_step.dependOn(&tests_run.step);
3940}