summaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.zig b/src/main.zig
index 66d25816..004d59cb 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -441,6 +441,13 @@ test {
// because this file reaches pardes.zig (`Server(acmefs)`); src/9p.zig, the
// half that does NOT, has one in build.zig.
_ = @import("fs9_service.zig");
+ // Its client twin, and it needs its name here for the same reason with the
+ // same measurement behind it: builtins.zig imports it for the `9p` word,
+ // and naming a file does not make Zig analyse the tests of what IT
+ // imports. The protocol half's tests are in src/9p.zig's own b.addTest;
+ // these are the host's — the argument split, the two dial spellings, and
+ // the immediate refusal when nothing is listening.
+ _ = @import("fs9_client.zig");
if (comptime pardes.platform == .tty) {
_ = @import("tty/tty.zig");
// tty.zig calls the compositor only from its runtime loop, so merely