diff options
Diffstat (limited to 'src/tape.zig')
| -rw-r--r-- | src/tape.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tape.zig b/src/tape.zig index 3573d887..d4fb7756 100644 --- a/src/tape.zig +++ b/src/tape.zig @@ -983,6 +983,8 @@ pub fn replayMain(io: std.Io, path: []const u8) u8 { if (t.diverged) |why| if (std.mem.startsWith(u8, why, "the tape ends")) { t.diverged = null; }; + // One killed (as the harnesses end theirs) has its end state here. + if (t.dump_check and t.diverged == null) if (t.core) |core| t.dumpRoundTrip(core); if (t.diverged) |why| { failed = true; std.debug.print("replay {s}: {s} replica diverged after {d} digests: {s}\n", .{ path, run.name, t.digests, why }); |
