authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-08-28 12:13:41 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-08-28 12:13:41 -07:00
log9b047a3e3df0e86d47c088d376c7b34ef4801a84
treeafc22f0263417c416032cabe19c3529aaeedb685
parente1b68ef07bfa322983f6a575d6b5e22dc1ed18b0

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


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

build.zig+1
...@@ -16,6 +16,7 @@ pub fn build(b: *std.Build) void {...@@ -16,6 +16,7 @@ pub fn build(b: *std.Build) void {
16 tests.use_lld = !disable_llvm;16 tests.use_lld = !disable_llvm;
1717
18 const tests_run = b.addRunArtifact(tests);18 const tests_run = b.addRunArtifact(tests);
19 tests_run.setCwd(b.path("."));
19 tests_run.has_side_effects = true;20 tests_run.has_side_effects = true;
2021
21 const test_step = b.step("test", "dummy test step to pass CI checks");22 const test_step = b.step("test", "dummy test step to pass CI checks");