authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-08-28 12:14:46 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-08-28 12:14:46 -07:00
logb62b2fd88d0736883e40062023ec44a5cc2a87cb
tree54770751f66a9d64f5b5da5393b39bb0192ad5a6
parentecbf8aa73c48dca4ba045574db3739d69e9fb775

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


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

build.zig+1
......@@ -17,6 +17,7 @@ pub fn build(b: *std.Build) void {
1717
1818 const test_step = b.step("test", "Run all library tests");
1919 const tests_run = b.addRunArtifact(tests);
20 tests_run.setCwd(b.path("."));
2021 tests_run.has_side_effects = true;
2122 test_step.dependOn(&tests_run.step);
2223}