diff options
Diffstat (limited to 'build/tests.zig')
| -rw-r--r-- | build/tests.zig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build/tests.zig b/build/tests.zig index fe9e1355..50d3dd02 100644 --- a/build/tests.zig +++ b/build/tests.zig @@ -16,6 +16,8 @@ pub fn add(b: *std.Build, c: struct { /// The wire (abi/wire.zig) on the core's configuration: shell-test's. core_wire: *std.Build.Module, core_module: *std.Build.Module, + /// The runtime beside core_module: the client loop the soak runs. + core_runtime: *std.Build.Module, /// core_module's configuration, for the test roots that run on its imports. core_cfg: core.Core, exe: *std.Build.Step.Compile, @@ -146,7 +148,7 @@ pub fn add(b: *std.Build, c: struct { // The replicas' soak, its clients showing a picture, a game of life and // a PDF (docs/design.pdf) from these libraries, as a user's addons are // loaded. - const replicas = program(b, "pardes-replicas", "test/replicas.zig", c.target, c.optimize, &.{ .{ .name = "pardes", .module = c.core_module }, .{ .name = "term", .module = c.parts.term } }); + const replicas = program(b, "pardes-replicas", "test/replicas.zig", c.target, c.optimize, &.{ .{ .name = "pardes", .module = c.core_module }, .{ .name = "runtime", .module = c.core_runtime }, .{ .name = "term", .module = c.parts.term } }); const run_replicas = b.addRunArtifact(replicas); for ([_]?*std.Build.Step.Compile{ c.image_addon, life_lib, c.pdf_addon }) |l| if (l) |lib| { run_replicas.addArg("--addon"); |
