summaryrefslogtreecommitdiff
path: root/9ns/build.zig
diff options
context:
space:
mode:
Diffstat (limited to '9ns/build.zig')
-rw-r--r--9ns/build.zig6
1 files changed, 4 insertions, 2 deletions
diff --git a/9ns/build.zig b/9ns/build.zig
index 7f2155f..4e8d23b 100644
--- a/9ns/build.zig
+++ b/9ns/build.zig
@@ -52,7 +52,9 @@ pub fn add(b: *std.Build, ctx: Context) Artifacts {
test_step.dependOn(&b.addRunArtifact(b.addTest(.{ .root_module = ns_mod })).step);
// End-to-end suites: real namespaces, real FUSE, a real 9P server.
- const itest = b.step("9ns-itest", "Run 9ns/test/integration.sh (needs unprivileged user namespaces and /dev/fuse)");
+ // integration.sh: the single-connection transports; mntgen.sh: the
+ // posted-registry multi-server mode (registry servers + lazy dial).
+ const itest = b.step("9ns-itest", "Run 9ns/test/integration.sh and 9ns/test/mntgen.sh (needs unprivileged user namespaces and /dev/fuse)");
const adv = b.step("9ns-adv", "Run 9ns/test/adversarial.sh (hostile servers, namespaces, stress; several minutes)");
const demo = ctx.proc_demo orelse {
const fail = b.addFail("9ns-itest and 9ns-adv need the 9proc-demo server (build with -D9proc=true)");
@@ -60,7 +62,7 @@ pub fn add(b: *std.Build, ctx: Context) Artifacts {
adv.dependOn(&fail.step);
return .{ .exe = ns, .test_step = test_step, .itest_step = itest, .adv_step = adv };
};
- inline for (.{ .{ itest, "integration" }, .{ adv, "adversarial" } }) |pair| {
+ inline for (.{ .{ itest, "integration" }, .{ itest, "mntgen" }, .{ adv, "adversarial" } }) |pair| {
const run = b.addSystemCommand(&.{"bash"});
run.addFileArg(b.path("9ns/test/" ++ pair[1] ++ ".sh"));
run.addArtifactArg(ns);