summaryrefslogtreecommitdiff
path: root/test/snapshot.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshot.zig')
-rw-r--r--test/snapshot.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/snapshot.zig b/test/snapshot.zig
index bdabb56e..53553657 100644
--- a/test/snapshot.zig
+++ b/test/snapshot.zig
@@ -579,6 +579,9 @@ fn runScript(arena: std.mem.Allocator, exe_z: [:0]const u8, script_path: []const
// views' durations (lsp_zls.zig hideTime) and the transient message row's
// time of day (message.zig stamp)
_ = setenv("PARDES_NOTIME", "1", 1);
+ // A virtual core clock: animation moves a frame per timed-out wait,
+ // whatever the machine's load (host_io.testClock).
+ _ = setenv("PARDES_TEST_CLOCK", "1", 1);
// The protocol client must be HERMETIC under the harness: `.rs` files
// speak to the deterministic mock when the build handed one over, and
// every other spec is disabled outright — a script that opened a stray