authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-08-28 12:11:37 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-08-28 12:11:37 -07:00
log337a9a96e01ec481e1197d6699af225e4d246967
tree1b7b6fb377d200bdc949dba667cd6f4aae7761db
parent2367a0a7a24ea3cf27e2a8b65e88dba53e2606b9

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}