summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorT <t@tjp.lol>2026-05-25 13:24:02 -0700
committerT <t@tjp.lol>2026-05-25 15:27:11 -0700
commitdf2edee86eec2a8deb0ad57b5d20552199c12b65 (patch)
treec1e962e9b0bdf25572929e3efedc3b1915be853f /build.zig
parente8272efd9f71ad27a0e62b6b3fa3d13e99a6736f (diff)
phase 1 done
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index c5ea966..5d4cdb6 100644
--- a/build.zig
+++ b/build.zig
@@ -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);
}