authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-08-28 12:10:42 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-08-28 12:10:42 -07:00
log8a3254e194d970a18a083f06f5877f4b30c831ce
tree835dd9d886b830e2348f5e7c1fac26eeecbe144c
parent3ae26f4ac394ce20453239fdf4314e49e7cc4cfb

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}