authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-08-28 12:15:18 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-08-28 12:15:18 -07:00
log655572fe75ac5172bd981922b3c66068855c9041
tree181e47bd27561b0af6d1ae877f24774fa294c422
parent3bee7b28a37f3d0898119ef095687467fa907d4b

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


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

build.zig+1
......@@ -37,6 +37,7 @@ pub fn build(b: *std.Build) void {
3737
3838 const test_step = b.step("test", "Run all library tests");
3939 const tests_run = b.addRunArtifact(tests);
40 tests_run.setCwd(b.path("."));
4041 tests_run.has_side_effects = true;
4142 test_step.dependOn(&tests_run.step);
4243}