1
Fork 0

make tests run again

This commit is contained in:
Motiejus Jakštys 2023-08-22 15:38:55 +03:00
parent 993a29d2f8
commit fbff819ece
1 changed files with 2 additions and 1 deletions

View File

@ -179,8 +179,9 @@ pub fn build(b: *zbs.Builder) void {
.optimize = optimize, .optimize = optimize,
}); });
addCmphDeps(src_test, cmph); addCmphDeps(src_test, cmph);
const run = b.addRunArtifact(src_test);
const test_step = b.step("test", "Run the tests"); const test_step = b.step("test", "Run the tests");
test_step.dependOn(&src_test.step); test_step.dependOn(&run.step);
} }
} }