authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-08-28 12:16:27 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-08-28 12:16:27 -07:00
log8d553ba6283f778965678ee73b17ae1e2019440d
treed7912a7fc7693d8bc7890a27f92b5e1f08f9c67c
parent9b85f69e9adc28ec70a217c07b86046e331d3485

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}