From 0086a5baba640127487a55942da9f67a09bb28d8 Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Thu, 28 Aug 2025 12:16:09 -0700 Subject: [PATCH] build.zig: ensure tests are run with project root as cwd --- build.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/build.zig b/build.zig index 7c2aa07d3d75bfc4985e95775436584f4e4ca2b9..12b7268f21f094f9fe7ac86fa37205d639fe9424 100644 --- a/build.zig +++ b/build.zig @@ -21,6 +21,7 @@ pub fn build(b: *std.Build) void { const test_step = b.step("test", "Run all library tests"); const tests_run = b.addRunArtifact(tests); + tests_run.setCwd(b.path(".")); tests_run.has_side_effects = true; test_step.dependOn(&tests_run.step); -- 2.54.0