summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-28 23:19:54 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:15 -0300
commitf0c947bd1b1e6e172b11f007d7bdeff2d6599e03 (patch)
treeaaa3b9e6bc1bdfee58a55bc3a87eb2bf46374643 /build.zig
parentf33e4bfc32de821df5fa15fbae3da73b341d5890 (diff)
downloadpardes-f0c947bd1b1e6e172b11f007d7bdeff2d6599e03.tar.gz
pardes-f0c947bd1b1e6e172b11f007d7bdeff2d6599e03.zip
config-test goes: config.zig is the core now, and core-test runs its tests
config.zig imports pardes.zig and builtins.zig, so it cannot be compiled "without the editor" any more; the step failed with 40 missing-module errors (zls, uucode, cloud9, mupdf, ...). Its two tests (Space-k unbound, wheel drift guard) already run in core-test, checked with -Dtest-filter. Wiring every core import into it would only rebuild core-test for two tests. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig12
1 files changed, 0 insertions, 12 deletions
diff --git a/build.zig b/build.zig
index 3c1447eb..4a478ac5 100644
--- a/build.zig
+++ b/build.zig
@@ -1375,18 +1375,6 @@ pub fn build(b: *std.Build) void {
lspbench_test_step.dependOn(&run_lspbench_tests.step);
lspbench_check_step.dependOn(&run_lspbench_tests.step);
if (testMatch(b, unit_profile, test_filters, lspbench_test_step)) |check| check.addArtifactArg(lspbench_tests);
- const config_module = b.createModule(.{
- .target = target,
- .optimize = optimize,
- .root_source_file = b.path("src/config.zig"),
- });
- config_module.addImport("pardes_config", core_module.import_table.get("pardes_config").?);
- const config_tests = b.addTest(.{ .root_module = config_module, .filters = test_filters });
- const run_config_tests = b.addRunArtifact(config_tests);
- run_config_tests.has_side_effects = true;
- const config_test_step = b.step("config-test", "run configuration tests without compiling the editor");
- config_test_step.dependOn(&run_config_tests.step);
- if (testMatch(b, unit_profile, test_filters, config_test_step)) |check| check.addArtifactArg(config_tests);
const diff_tests = b.addTest(.{ .root_module = hxdiff.root_module, .filters = test_filters });
const run_diff_tests = b.addRunArtifact(diff_tests);
run_diff_tests.has_side_effects = true;