Skip to content

Commit 4785fd0

Browse files
committed
"fix" test compilation
1 parent bb4cd4f commit 4785fd0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/run_tests.zig

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,12 @@ test {
331331

332332
std.testing.refAllDecls(@import("generate.zig"));
333333
std.testing.refAllDecls(@import("cdp/msg.zig"));
334-
std.testing.refAllDecls(@import("server.zig"));
334+
335+
// Don't use refAllDecls, as this will pull in the entire project
336+
// and break the test build.
337+
// We should fix this. See this branch & the commit message for details:
338+
// https://github.com/karlseguin/browser/commit/193ab5ceab3d3758ea06db04f7690460d79eb79e
339+
_ = @import("server.zig");
335340
}
336341

337342
fn testJSRuntime(alloc: std.mem.Allocator) !void {

0 commit comments

Comments
 (0)