diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-28 23:19:54 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:15 -0300 |
| commit | f0c947bd1b1e6e172b11f007d7bdeff2d6599e03 (patch) | |
| tree | aaa3b9e6bc1bdfee58a55bc3a87eb2bf46374643 | |
| parent | f33e4bfc32de821df5fa15fbae3da73b341d5890 (diff) | |
| download | pardes-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]>
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | build.zig | 12 |
2 files changed, 0 insertions, 13 deletions
@@ -108,7 +108,6 @@ zig build test-build compile the unit-test programs without running them zig build unit-profile test request time and process memory as JSONL zig build unit-profile-test profiler timing, failure and timeout checks zig build core-test core tests without native shell tests -zig build config-test configuration tests without compiling the editor zig build pane-test pane and namespace integration tests zig build syntax-test tree-sitter tests without building the editor zig build syntax deterministic per-byte highlighting snapshots @@ -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; |
