summaryrefslogtreecommitdiff
path: root/build/tests.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build/tests.zig')
-rw-r--r--build/tests.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/tests.zig b/build/tests.zig
index 50d3dd02..741eb24a 100644
--- a/build/tests.zig
+++ b/build/tests.zig
@@ -84,7 +84,7 @@ pub fn add(b: *std.Build, c: struct {
if (c.ghostty_vt_for_tests) |x| pane_tests.root_module.addImport("ghostty-vt", x);
// The core's own options module, not another over the same file:
// a file is in one module of a compilation.
- pane_tests.root_module.addImport("pardes_config", c.core_module.import_table.get("pardes_config").?);
+ pane_tests.root_module.addImport("pardes_options", c.core_module.import_table.get("pardes_options").?);
const test_addons = b.addOptions();
test_addons.addOptionPath("image", c.image_addon.getEmittedBin());
test_addons.addOption(bool, "has_pdf", c.pdf_addon != null);
@@ -129,7 +129,7 @@ pub fn add(b: *std.Build, c: struct {
session_module.addOptions("session_options", session_options);
// The build's options alone (platform), never the core: a test of a
// window's word knows which build it runs in.
- const behaviour_tests = units.root(b, "test/behaviour.zig", true, &.{ .{ .name = "session", .module = session_module }, .{ .name = "pardes_config", .module = c.core_module.import_table.get("pardes_config").? } });
+ const behaviour_tests = units.root(b, "test/behaviour.zig", true, &.{ .{ .name = "session", .module = session_module }, .{ .name = "pardes_options", .module = c.core_module.import_table.get("pardes_options").? } });
const behaviour_test_step = b.step("behaviour-test", "run the behavioural tests, through the 9P tree alone (test/behaviour/), and the T1 runner (-- [--seed N]... | --monkey <seeds> | --replay)");
_ = units.add(b, behaviour_tests, behaviour_test_step);
// An addon's own test: `--addon-test` over the fake (the template)