summaryrefslogtreecommitdiff
path: root/build/tools.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build/tools.zig')
-rw-r--r--build/tools.zig16
1 files changed, 8 insertions, 8 deletions
diff --git a/build/tools.zig b/build/tools.zig
index a4b41dd7..da77958a 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
@@ -252,12 +252,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",
@@ -271,7 +271,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.