diff options
Diffstat (limited to 'test/process/window.zig')
| -rw-r--r-- | test/process/window.zig | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/test/process/window.zig b/test/process/window.zig index 49c2d4f0..144013e1 100644 --- a/test/process/window.zig +++ b/test/process/window.zig @@ -55,7 +55,7 @@ fn monkeyOne(gpa: std.mem.Allocator, exe: [:0]const u8, motion: []const u8, seed var arena = std.heap.ArenaAllocator.init(gpa); defer arena.deinit(); const a = arena.allocator(); - const init = try std.fmt.allocPrint(a, "Shell /bin/sh\nMessageLinger 0\nMotion {s}\nPanelSlide\n", .{motion}); + const init = try std.fmt.allocPrint(a, "Shell /bin/sh\nMessageLinger 0\nMotion {s}\n", .{motion}); var d = try process.Detached.start(gpa, exe, "monkey", .{ .init = init, .grid = .{ 80, 28 }, .env = &.{ .{ "PARDES_TEST_CLOCK", "1" }, .{ "PARDES_TEST_PAD", "0" }, } }); @@ -240,8 +240,7 @@ fn goldens(gpa: std.mem.Allocator, exe: [:0]const u8) !void { .root = root, .file = root ++ "/shapes.zig", .init = "Shell /bin/sh\nTheme forge\nMessageLinger 0\n", - // The virtual clock: a transition's frames are the same frames on - // any machine, so one partway through can be hashed too. + // The virtual clock: the same frames on any machine. .grid = .{ 120, 40 }, .env = &.{ .{ "PARDES_TEST_CLOCK", "1" }, .{ "PARDES_TEST_PAD", "7" } }, }); @@ -339,11 +338,6 @@ fn goldens(gpa: std.mem.Allocator, exe: [:0]const u8) !void { if (process.nowMs() > deadline) return error.NoTerminalOutput; } try shot(&d, a, &results, keep, "17-terminal", "latest.ppm"); - // Partway through a transition: the panes, the picture among them, - // sliding over for a new column, frame 6 of PanelSlide's 12. - try f.write("/ctl", "PanelSlide\n"); - try f.write(f.at("/pane/{d}/exec", .{first}), "Newcol\n"); - try shot(&d, a, &results, keep, "18-mid-transition", "transition-6.ppm"); const goldens_path = "test/gui-goldens.txt"; if (std.mem.eql(u8, mode, "update")) { |
