diff options
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 27 |
1 files changed, 2 insertions, 25 deletions
@@ -1482,13 +1482,6 @@ pub fn build(b: *std.Build) void { run_lspbench.has_side_effects = true; const lspbench_step = b.step("lspbench", "language-backend latency + feature matrix (-- [--json] [--check] [repo-root]), or one query (-- probe <kind> <file> <line>:<col> [arg] [--reps N])"); lspbench_step.dependOn(&run_lspbench.step); - const run_lspbench_check = b.addRunArtifact(lspbench); - run_lspbench_check.addArg("--check"); - run_lspbench_check.addPassthruArgs(); - run_lspbench_check.setCwd(b.path(".")); - run_lspbench_check.has_side_effects = true; - const lspbench_check_step = b.step("lspbench-check", "require every configured language probe to complete correctly"); - lspbench_check_step.dependOn(&run_lspbench_check.step); const rollback_bench = b.addExecutable(.{ .name = "pardes-rollback-bench", @@ -1644,12 +1637,8 @@ pub fn build(b: *std.Build) void { syntax_runner.root_module.addImport("syntax", syntax_module); const run_syntax = b.addRunArtifact(syntax_runner); run_syntax.addPassthruArgs(); - b.step("syntax", "emit deterministic syntax snapshots").dependOn(&run_syntax.step); - const run_syntax_bench = b.addRunArtifact(syntax_runner); - run_syntax_bench.addArg("--bench"); - run_syntax_bench.addPassthruArgs(); - run_syntax_bench.has_side_effects = true; - b.step("syntax-bench", "measure highlighting latency and allocations").dependOn(&run_syntax_bench.step); + 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 (test_filters.len == 0) &.{"syntax "} else test_filters, @@ -1703,7 +1692,6 @@ pub fn build(b: *std.Build) void { run_lspbench_tests.has_side_effects = true; const lspbench_test_step = b.step("lspbench-test", "test language benchmark completeness and correctness gates"); 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 diff_tests = b.addTest(.{ .root_module = hxdiff.root_module, .filters = test_filters }); const run_diff_tests = b.addRunArtifact(diff_tests); @@ -1846,9 +1834,7 @@ pub fn build(b: *std.Build) void { b.step("fs-unit-test", "run filesystem unit tests").dependOn(&b.addRunArtifact(fs_tests).step); const protocol_step = b.step("9p-test", "run freestanding 9P protocol tests"); - const history_step = b.step("history-test", "test historical comparisons and regression gates"); const protocol_match = testMatch(b, unit_profile, test_filters, protocol_step); - const history_match = testMatch(b, unit_profile, test_filters, history_step); for ([_]struct { path: []const u8, libc: bool, optimize: ?std.builtin.OptimizeMode = null }{ .{ .path = "test/history.zig", .libc = false }, .{ .path = "src/9p.zig", .libc = false }, @@ -1879,10 +1865,6 @@ pub fn build(b: *std.Build) void { protocol_step.dependOn(&run_tests.step); if (protocol_match) |check| check.addArtifactArg(tests); } - if (std.mem.eql(u8, entry.path, "test/history.zig")) { - history_step.dependOn(&run_tests.step); - if (history_match) |check| check.addArtifactArg(tests); - } } const deck_module = b.createModule(.{ @@ -1914,11 +1896,6 @@ pub fn build(b: *std.Build) void { // The native shell's tests alone, without the perf gate's // ReleaseFast build: what a -Dtest-filter iteration wants. b.step("shell-test", "run the native shell's unit tests (src/main.zig's)").dependOn(&run_shell_test.step); - const run_profile = b.addRunArtifact(unit_profile); - run_profile.addArtifactArg(shell_test); - run_profile.addPassthruArgs(); - run_profile.has_side_effects = true; - b.step("unit-profile", "report test request time and process memory as JSONL (-- optional filter, --timeout-ms=N)").dependOn(&run_profile.step); const profile_test = b.addExecutable(.{ .name = "pardes-unit-profile-test", .root_module = b.createModule(.{ |
