summaryrefslogtreecommitdiff
path: root/build/tools.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-20 19:02:34 -0300
committerGabriel Schneider <[email protected]>2026-11-20 19:02:34 -0300
commit486f347adeed5bac6aaabe8be34e6a69bf323a62 (patch)
treeda8b333b4033889aa2fd16ab7f5a4bef35b0401d /build/tools.zig
parent4053e62a2aabd794db9075d93ebe57eec3f432a6 (diff)
parent06f6c72583faf8256190a0ae195a8085e7cd7f32 (diff)
downloadpardes-486f347adeed5bac6aaabe8be34e6a69bf323a62.tar.gz
pardes-486f347adeed5bac6aaabe8be34e6a69bf323a62.zip
integration: six small faults on a hang-up as a close: pardes-faults-6 (a hang-up with no daemon kills the language servers' children; the daemon's reader hands a note under a lock; a retried Edit write answered from the listener's hold; the cursor hidden when a frame has no caret; syntax-test deleted and the grammar tiers' tests skipping; the tty harness's Esc after what came before is read) and pardes-merge41, merged without a textual conflict; tui core-test 874/1031 (157 skipped), shell-test 1073/1076, term-test 17/17, both soaks diverged 0, unequal 0, unlisted 0, the window builds; the coordinator's gate in the ledger (reorg/merge42)
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'build/tools.zig')
-rw-r--r--build/tools.zig13
1 files changed, 2 insertions, 11 deletions
diff --git a/build/tools.zig b/build/tools.zig
index a4b41dd7..2ed0e57e 100644
--- a/build/tools.zig
+++ b/build/tools.zig
@@ -229,8 +229,8 @@ pub fn add(b: *std.Build, c: struct {
const fs_bench_step = b.step("fs-bench", "9P filesystem request cost and allocation count (-- [--json] [--reps N])");
fs_bench_step.dependOn(&run_fs_bench.step);
- // The syntax module's own tests and snapshots, on the core without
- // a terminal: its tests reach the editor's modes (modal.zig).
+ // The syntax module's snapshots, on the core without a terminal (its
+ // tests are core-test's, those named "syntax ...").
var syntax_cfg = c.lean;
syntax_cfg.root = "core/syntax.zig";
const syntax_module = core.module(b, c.parts, syntax_cfg).root;
@@ -239,15 +239,6 @@ pub fn add(b: *std.Build, c: struct {
run_syntax.addPassthruArgs();
run_syntax.has_side_effects = true;
b.step("syntax", "emit deterministic syntax snapshots (-- --bench: highlighting latency and allocations)").dependOn(&run_syntax.step);
- const syntax_test = b.addTest(.{
- .root_module = syntax_module,
- .filters = if (c.test_filters.len == 0) &.{"syntax "} else c.test_filters,
- });
- const run_syntax_test = b.addRunArtifact(syntax_test);
- run_syntax_test.has_side_effects = true;
- const syntax_test_step = b.step("syntax-test", "test syntax correctness without building the editor");
- syntax_test_step.dependOn(&run_syntax_test.step);
- if (testMatch(b, c.unit_profile, c.test_filters, syntax_test_step)) |check| check.addArtifactArg(syntax_test);
// The library as a package that depends on pardes is given it
// (`library`): test/consumer's own `zig build test`, over the packages