diff options
Diffstat (limited to 'build')
| -rw-r--r-- | build/tests.zig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build/tests.zig b/build/tests.zig index 8cf42acd..c35857f7 100644 --- a/build/tests.zig +++ b/build/tests.zig @@ -76,6 +76,11 @@ pub fn add(b: *std.Build, c: struct { core_test_step.dependOn(&run_core_test.step); if (core_match) |check| check.addArtifactArg(core_test); } + // The theme importer's own tests (tools/gen_themes.zig): its mapping, + // rule by rule, on the machine that builds. + const gen_themes_test = b.addTest(.{ .root_module = b.createModule(.{ .root_source_file = b.path("tools/gen_themes.zig"), .target = b.graph.host, .optimize = .debug }), .filters = c.test_filters }); + core_test_step.dependOn(&b.addRunArtifact(gen_themes_test).step); + if (core_match) |check| check.addArtifactArg(gen_themes_test); // The terminal module's own tests (core/term/): the emulator without a core. const run_term_test = units.add(b, b.addTest(.{ .root_module = c.parts.term, .filters = c.test_filters }), null); b.step("term-test", "run the terminal module's own tests (core/term/)").dependOn(&run_term_test.step); |
