summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig12
1 files changed, 12 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index bc9308c8..fa987360 100644
--- a/build.zig
+++ b/build.zig
@@ -590,6 +590,18 @@ pub fn build(b: *std.Build) void {
unit_step.dependOn(&run_petscii.step);
test_step.dependOn(&run_petscii.step);
+ const pane_ui_tests = b.addTest(.{
+ .root_module = b.createModule(.{
+ .target = target,
+ .optimize = optimize,
+ .root_source_file = b.path("pane_ui.zig"),
+ }),
+ });
+ pane_ui_tests.linkage = exe_linkage;
+ const run_pane_ui = b.addRunArtifact(pane_ui_tests);
+ unit_step.dependOn(&run_pane_ui.step);
+ test_step.dependOn(&run_pane_ui.step);
+
const dump_tests = b.addTest(.{
.root_module = b.createModule(.{
.target = target,