diff options
Diffstat (limited to 'test/cross_replay.py')
| -rw-r--r-- | test/cross_replay.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cross_replay.py b/test/cross_replay.py index 21367ca1..fe9638f7 100644 --- a/test/cross_replay.py +++ b/test/cross_replay.py @@ -114,7 +114,7 @@ def record(binary, out): def replay(binary, tape): """`binary`'s replay of `tape`: its replicas' digests agree. A replica client never draws its session's frames, and only the replica that - draws none (`headless`) must agree with another frontend's tape: the + draws none (`skips-render`) must agree with another frontend's tape: the two that draw meet the other build's drawing (a window's, a terminal's).""" env = {k: v for k, v in os.environ.items() if not k.startswith('PARDES_')} env['PARDES_REPLAY'] = str(tape) @@ -122,7 +122,7 @@ def replay(binary, tape): said = got.stderr.decode(errors='replace') alike = ('gui' in Path(tape).name) == ('gui' in Path(binary).name) agreed = [line for line in said.splitlines() if line.endswith('digests agree')] - assert ('headless replica' in ''.join(agreed)) and (not alike or (got.returncode == 0 and len(agreed) == 3)), \ + assert ('skips-render replica' in ''.join(agreed)) and (not alike or (got.returncode == 0 and len(agreed) == 3)), \ f'{binary} replaying {tape}:\n{said[-3000:]}' print(f'cross_replay: {Path(binary).name} replayed {Path(tape).name}: ' + '; '.join(line.split(': ', 1)[1] for line in said.splitlines() if 'replica' in line)) |
