From 39febbcd89ea0a92f849c1697b76dd540ee6cfb6 Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Thu, 28 Aug 2025 12:10:59 -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 3450f068a15690475ece577e1a407dbbc7e4cc6a..c002c9b9e7b402e7281ab501e14b88df0197d127 100644 --- a/build.zig +++ b/build.zig @@ -34,6 +34,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