diff options
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -49,4 +49,8 @@ pub fn build(b: *std.Build) void { const run_unit_tests = b.addRunArtifact(unit_tests); const test_step = b.step("test", "Run unit tests"); test_step.dependOn(&run_unit_tests.step); + + // Also run libpanto's own tests as part of `zig build test` + const lib_test_step = panto_lib_dep.builder.top_level_steps.get("test").?; + test_step.dependOn(&lib_test_step.step); } |
