authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-08-28 12:16:09 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-08-28 12:16:09 -07:00
log0086a5baba640127487a55942da9f67a09bb28d8
treeea8d88768d89b0b6aaa8e4cd97fd58fddbb4d7b1
parent3d0e9038b7af0f07d3068bdf725bad8242926f6d

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


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

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