From b62b2fd88d0736883e40062023ec44a5cc2a87cb Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Thu, 28 Aug 2025 12:14:46 -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 629f32099d91efb146e1f88465f3060f00f2f4cc..3271cf016af8a1023a18d9e377fc6e89dee60990 100644 --- a/build.zig +++ b/build.zig @@ -17,6 +17,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