authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-08-28 12:16:39 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-12-17 18:35:05 -08:00
log58f624046834b2b965baa22767ba0bc178efa939
tree94beee1f33cddb77cd75164ffc49956b03e449f0
parentbfc5a70fee3b065f523ae5c4754867c497ce87ea

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


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

build.zig+1
......@@ -20,6 +20,7 @@ pub fn build(b: *std.Build) void {
2020
2121 const test_step = b.step("test", "Run all library tests");
2222 const tests_run = b.addRunArtifact(tests);
23 tests_run.setCwd(b.path("."));
2324 tests_run.has_side_effects = true;
2425 test_step.dependOn(&tests_run.step);
2526}