diff options
Diffstat (limited to 'src/replica.zig')
| -rw-r--r-- | src/replica.zig | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/replica.zig b/src/replica.zig index 70b7c4bc..858c8e01 100644 --- a/src/replica.zig +++ b/src/replica.zig @@ -3180,7 +3180,6 @@ 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 (comptime !terminal.enabled) return error.SkipZigTest; const gpa = std.testing.allocator; const a = try Authority.init(gpa, .{ .cols = 80, .rows = 24, .boot = .tty }, TestHost.host(), true); defer a.deinit(); @@ -3269,7 +3268,6 @@ 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 (comptime !terminal.enabled) return error.SkipZigTest; const gpa = std.testing.allocator; const a = try Authority.init(gpa, .{ .cols = 80, .rows = 24, .boot = .tty }, TestHost.host(), true); defer a.deinit(); @@ -3294,7 +3292,6 @@ 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 (comptime !terminal.enabled) return error.SkipZigTest; const gpa = std.testing.allocator; const a = try Authority.init(gpa, .{ .cols = 100, .rows = 30, .boot = .tty }, TestHost.host(), true); defer a.deinit(); @@ -3341,7 +3338,6 @@ 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 (comptime !terminal.enabled) return error.SkipZigTest; const gpa = std.testing.allocator; const a = try Authority.init(gpa, .{ .cols = 50, .rows = 20, .boot = .tty }, TestHost.host(), true); defer a.deinit(); @@ -3444,7 +3440,6 @@ fn deliver(a: *Authority, screens: *Screens, peer: u16, r: *Replica, comptime wh } 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 (comptime !terminal.enabled) return error.SkipZigTest; const gpa = std.testing.allocator; const a = try Authority.init(gpa, .{ .cols = 80, .rows = 24, .boot = .tty }, TestHost.host(), true); defer a.deinit(); @@ -3957,7 +3952,6 @@ fn inputOf(buf: []u8, client: u16, seq: u32, ev: pardes.Event) ![]const u8 { } test "a client leaves, and one joins: what the leave queued (a terminal's resize) is done in its unit, on every side, before the join's dump" { - if (comptime !terminal.enabled) return error.SkipZigTest; const gpa = std.testing.allocator; const a = try Authority.init(gpa, .{ .cols = 80, .rows = 24, .boot = .tty }, PtyHost.host(), true); defer a.deinit(); @@ -4121,7 +4115,6 @@ fn sendAs(r: *Replica, a: *Authority, screens: *Screens, rs: []const *Replica, p } 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 (comptime !terminal.enabled) return error.SkipZigTest; const gpa = std.testing.allocator; const a = try Authority.init(gpa, .{ .cols = 80, .rows = 24, .boot = .tty }, PtyHost.host(), true); defer a.deinit(); |
