summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/tools.zig7
1 files changed, 4 insertions, 3 deletions
diff --git a/build/tools.zig b/build/tools.zig
index 62e9817a..a4b41dd7 100644
--- a/build/tools.zig
+++ b/build/tools.zig
@@ -250,12 +250,13 @@ pub fn add(b: *std.Build, c: struct {
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/lib's own `zig build test`, over the packages
+ // (`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.setCwd(b.path("test/lib"));
+ 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/lib)");
+ 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 history = b.addExecutable(.{