From fbff819ece89380536faf1884025a520c85e6d8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Tue, 22 Aug 2023 15:38:55 +0300 Subject: [PATCH] make tests run again --- build.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.zig b/build.zig index 6ece0e4..2421578 100644 --- a/build.zig +++ b/build.zig @@ -179,8 +179,9 @@ pub fn build(b: *zbs.Builder) void { .optimize = optimize, }); addCmphDeps(src_test, cmph); + const run = b.addRunArtifact(src_test); const test_step = b.step("test", "Run the tests"); - test_step.dependOn(&src_test.step); + test_step.dependOn(&run.step); } }