summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-20 19:22:32 -0300
committerGabriel Schneider <[email protected]>2026-11-20 19:51:13 -0300
commit4e1432049765be6e793a3834c93c4cd5318e82bc (patch)
treeaa8e98c4cb2b7ee6ba33a49255fa85cab0089e2d /build
parent486f347adeed5bac6aaabe8be34e6a69bf323a62 (diff)
parent2d75490196a9d15eff6ac471e9584101a5697afe (diff)
downloadpardes-4e1432049765be6e793a3834c93c4cd5318e82bc.tar.gz
pardes-4e1432049765be6e793a3834c93c4cd5318e82bc.zip
integration: six slot fields typed, the docking vocabulary, the Mac's callbacks and consumer-test, on six small faults: pardes-slots (Pipe.PendingPipe.pane, Ask.wait.pane, theme_file_pane, ThemeFileRequest.pane as Pane.Id; Authority.view_of and Peer.view as View.Id; layout.dockFrom and the prose; macos State.callbacks; the build step consumer-test) and pardes-merge42; one conflict, in Peers.detach, where the pair's lifetime rule (daemon.keepSession) and the view's type (peer.view.index()) met on neighbouring lines: both kept; 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; this line carries the client's heap corruption that came with pardes-merge40 (a fix is being made): not gated further until it has it
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'build')
-rw-r--r--build/tests.zig2
-rw-r--r--build/tools.zig16
2 files changed, 9 insertions, 9 deletions
diff --git a/build/tests.zig b/build/tests.zig
index 741eb24a..e0b33911 100644
--- a/build/tests.zig
+++ b/build/tests.zig
@@ -62,7 +62,7 @@ pub fn add(b: *std.Build, c: struct {
// The perf gate runs with every unit-test (a regression like a
// contrast search per grapheme costs 100x, far past the gate).
unit_step.dependOn(c.tools.perf_gate_step);
- unit_step.dependOn(c.tools.lib_test_step);
+ unit_step.dependOn(c.tools.consumer_test_step);
const units: Units = .{ .nonce = c.test_nonce, .build = c.test_build, .unit = unit_step, .match = testMatch(b, c.unit_profile, c.test_filters, unit_step), .profiler = c.unit_profile, .filters = c.test_filters, .target = c.target, .optimize = c.optimize };
// The perf and fs bench programs' own tests: they compile no editor.
_ = units.add(b, units.root(b, "test/perf.zig", true, &.{.{ .name = "perf_options", .module = c.tools.perf_options.createModule() }}), null);
diff --git a/build/tools.zig b/build/tools.zig
index 2ed0e57e..e573b16d 100644
--- a/build/tools.zig
+++ b/build/tools.zig
@@ -16,7 +16,7 @@ pub const Tools = struct {
perf_gate_step: *std.Build.Step,
/// The perf program's build identity, which its own tests read too.
perf_options: *std.Build.Step.Options,
- lib_test_step: *std.Build.Step,
+ consumer_test_step: *std.Build.Step,
};
/// The harnesses, the helix comparisons, the benches and the perf gate, the
@@ -243,12 +243,12 @@ pub fn add(b: *std.Build, c: struct {
// The library as a package that depends on pardes is given it
// (`library`): test/consumer's own `zig build test`, over the packages
// this checkout has fetched.
- const lib_test = b.addSystemCommand(&.{ b.graph.zig_exe, "build", "test", "--pkg-dir", "../../zig-pkg" });
- lib_test.setName("zig build test in test/consumer, a package that depends on pardes");
- lib_test.setCwd(b.path("test/consumer"));
- lib_test.has_side_effects = true;
- const lib_test_step = b.step("lib-test", "build and test the library from a package that depends on pardes (test/consumer)");
- lib_test_step.dependOn(&lib_test.step);
+ const consumer_test = b.addSystemCommand(&.{ b.graph.zig_exe, "build", "test", "--pkg-dir", "../../zig-pkg" });
+ consumer_test.setName("zig build test in test/consumer, a package that depends on pardes");
+ consumer_test.setCwd(b.path("test/consumer"));
+ consumer_test.has_side_effects = true;
+ const consumer_test_step = b.step("consumer-test", "build and test the library from a package that depends on pardes (test/consumer)");
+ consumer_test_step.dependOn(&consumer_test.step);
const history = b.addExecutable(.{
.name = "pardes-history",
@@ -262,7 +262,7 @@ pub fn add(b: *std.Build, c: struct {
run_history.addPassthruArgs();
run_history.has_side_effects = true;
b.step("history", "compare command output and test/build runtime across jj revisions").dependOn(&run_history.step);
- return .{ .perf_gate_step = perf_gate_step, .perf_options = perf_options, .lib_test_step = lib_test_step };
+ return .{ .perf_gate_step = perf_gate_step, .perf_options = perf_options, .consumer_test_step = consumer_test_step };
}
/// The PDF benches: the core over the pdf addon, a pane of it.