summaryrefslogtreecommitdiff
path: root/test/tty.zig
Commit message (Collapse)AuthorAge
* tests: monkey and replay are modes of the T1 runner and snapshot.zig goes: ↵Gabriel Schneider8 days
| | | | | | | behaviour-test runs test/monkey9p.zig bare (its smoke), `-- --monkey <seeds>` drives an in-process session with test/monkey.zig's input (keys, leader bursts, the mouse, tiny resizes, over /kbdin, /mousein and Session.resize) hunting panics and hangs, `-- --replay` records each seed's sessions as a tape in memory and replays it (tape.replayBytes, replayMain's loop: three replicas and the dump), and `process-test -- --replay` records and replays the tty cases' real sessions as `zig build replay` did (with the addons it lacked, so images passes); the snap, snap-driver-test, monkey, monkey-test (it no longer compiled), replay and monkey-session steps, pardes-snap and build/snap.zig (now build/process.zig) go; checked: a counter outside the core bumped at the 40th update diverges every T1 seed and 89 of 103 old tapes, one bumped on terminal output diverges no T1 seed but 69 tty cases and 70 old tapes (why the tty replay stays), a panic on a window under 5x5 is found by the T1 monkey (seeds 1 8 17 20) and the old one (seed 13) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* tests: the tty's own cases get their runner in the process suite, ↵Gabriel Schneider8 days
test/tty.zig (a pardes in a pty of its own, driven by a terminal's bytes, its captures compared with test/snapshots/<name>.golden: the snapshot scripts' commands as methods, their capture and settle code moved from snapshot.zig) and process_test.zig's pool (a child a case, a core's worth at once, a failure run again alone with the wider settle probe), with six empty files for the script families the next changes fill, so each family can be reverted alone Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge