diff options
author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2024-02-06 18:36:50 +0000 |
---|---|---|
committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2024-02-06 18:36:50 +0000 |
commit | 4b1ae6117ce77123c689602e0a04bb616c92ca19 (patch) | |
tree | 2bd9819855b221da270ca441803e8932df7400e8 /test | |
parent | fa22e861d5b8b63e0f34934e9a21544ad25b4110 (diff) | |
parent | 755911747fe9f4833e006421cde7961089533f47 (diff) |
Merge pull request 'Fix zig_exe location in Build struct' (#45) from asd/ziglings:main into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/45
Diffstat (limited to 'test')
-rw-r--r-- | test/tests.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tests.zig b/test/tests.zig index 0a19277..9ab15b3 100644 --- a/test/tests.zig +++ b/test/tests.zig @@ -33,7 +33,7 @@ pub fn addCliTests(b: *std.Build, exercises: []const Exercise) *Step { const n = ex.number(); const cmd = b.addSystemCommand(&.{ - b.zig_exe, + b.graph.zig_exe, "build", "-Dhealed", b.fmt("-Dhealed-path={s}", .{tmp_path}), @@ -69,7 +69,7 @@ pub fn addCliTests(b: *std.Build, exercises: []const Exercise) *Step { // TODO: when an exercise is modified, the cache is not invalidated. const cmd = b.addSystemCommand(&.{ - b.zig_exe, + b.graph.zig_exe, "build", "-Dhealed", b.fmt("-Dhealed-path={s}", .{tmp_path}), @@ -99,7 +99,7 @@ pub fn addCliTests(b: *std.Build, exercises: []const Exercise) *Step { const n = ex.number(); const cmd = b.addSystemCommand(&.{ - b.zig_exe, + b.graph.zig_exe, "build", b.fmt("-Dn={}", .{n}), }); |