diff options
Diffstat (limited to 'src/replica.zig')
| -rw-r--r-- | src/replica.zig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/replica.zig b/src/replica.zig index a60f54af..5513b2d9 100644 --- a/src/replica.zig +++ b/src/replica.zig @@ -3399,6 +3399,7 @@ test "another client's input first: a replica rolls back, replays it and applies } test "a delta applied under a speculation outlives its rollback: the terminal stays the authority's newest" { + if (pardes.Term.ops == null) return error.SkipZigTest; // a shell const gpa = std.testing.allocator; const a = try Authority.init(gpa, .{ .cols = 80, .rows = 24, .boot = .tty }, TestHost.host(), true); defer a.deinit(); @@ -3487,6 +3488,7 @@ test "a delta applied under a speculation outlives its rollback: the terminal st } test "a closed terminal brought back on a screen-state replica: its emulator on the C heap, never the rollback epoch's" { + if (pardes.Term.ops == null) return error.SkipZigTest; // a shell const gpa = std.testing.allocator; const a = try Authority.init(gpa, .{ .cols = 80, .rows = 24, .boot = .tty }, TestHost.host(), true); defer a.deinit(); @@ -3511,6 +3513,7 @@ test "a closed terminal brought back on a screen-state replica: its emulator on } test "a view that sized a terminal closing leaves nothing queued: the others' replicas copy, type and agree" { + if (pardes.Term.ops == null) return error.SkipZigTest; // a shell const gpa = std.testing.allocator; const a = try Authority.init(gpa, .{ .cols = 100, .rows = 30, .boot = .tty }, TestHost.host(), true); defer a.deinit(); @@ -3557,6 +3560,7 @@ test "a view that sized a terminal closing leaves nothing queued: the others' re } test "a terminal sized again by a client's key: the step reads the grid it had, on both sides" { + if (pardes.Term.ops == null) return error.SkipZigTest; // a shell const gpa = std.testing.allocator; const a = try Authority.init(gpa, .{ .cols = 50, .rows = 20, .boot = .tty }, TestHost.host(), true); defer a.deinit(); @@ -3636,6 +3640,7 @@ test "a terminal sized again by a client's key: the step reads the grid it had, } test "pardes's own keys over a terminal's history apply at once: its view moves here, a delta while they wait puts them on top again, the authority's ends the same" { + if (pardes.Term.ops == null) return error.SkipZigTest; // a shell const gpa = std.testing.allocator; const a = try Authority.init(gpa, .{ .cols = 80, .rows = 24, .boot = .tty }, TestHost.host(), true); defer a.deinit(); @@ -4240,6 +4245,7 @@ test "a client joined from a dump makes a `/` query's rows as the session does, } test "a step that reads a terminal's rows as the core keeps them sends a new client the ones it holds as holes" { + if (pardes.Term.ops == null) return error.SkipZigTest; // a shell const gpa = std.testing.allocator; const a = try Authority.init(gpa, .{ .cols = 80, .rows = 24, .boot = .tty }, PtyHost.host(), true); defer a.deinit(); |
