diff options
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 30 |
1 files changed, 0 insertions, 30 deletions
@@ -1748,36 +1748,6 @@ pub fn build(b: *std.Build) void { run_discovery.has_side_effects = true; b.step("fs-discovery-test", "test browsable pane creation over 9P").dependOn(&run_discovery.step); - if (target.result.os.tag == .linux) { - const v9fs_helper = b.addExecutable(.{ - .name = "pardes-v9fs", - .root_module = b.createModule(.{ - .root_source_file = b.path("src/linux/v9fs.zig"), - .target = target, - .optimize = requested_optimize, - .link_libc = true, - }), - }); - // Ordinary executable; each launch asks sudo inside its own PTY. - installHome(b, v9fs_helper, home_bin); - const run_v9fs = b.addSystemCommand(&.{ "python3", "-B", "test/v9fs.py" }); - run_v9fs.addArtifactArg(exe); - run_v9fs.addArtifactArg(v9fs_helper); - run_v9fs.setCwd(b.path(".")); - run_v9fs.has_side_effects = true; - b.step("v9fs-test", "probe Linux kernel 9P mounts in a private subprocess namespace (requires sudo -v)").dependOn(&run_v9fs.step); - const run_v9fs_driver = b.addSystemCommand(&.{ "python3", "-B", "test/v9fs_driver_test.py" }); - run_v9fs_driver.setCwd(b.path(".")); - run_v9fs_driver.has_side_effects = true; - b.step("v9fs-driver-test", "test kernel-mount probe launcher without privileges or compiling the editor").dependOn(&run_v9fs_driver.step); - const run_v9fs_terminal = b.addSystemCommand(&.{ "python3", "-B", "test/v9fs_terminal.py" }); - run_v9fs_terminal.addArtifactArg(exe); - run_v9fs_terminal.addArtifactArg(v9fs_helper); - run_v9fs_terminal.setCwd(b.path(".")); - run_v9fs_terminal.has_side_effects = true; - b.step("v9fs-terminal-test", "exercise Tty9p authentication routing and cleanup without mount privileges").dependOn(&run_v9fs_terminal.step); - } - const run_agent_session_test = b.addSystemCommand(&.{ "python3", "-B", "test/agent_session_test.py" }); run_agent_session_test.addArtifactArg(exe); if (platform == .gui) run_agent_session_test.addArg("--gui-grid"); |
