test harness: dump stderr when compiler crashes

This commit is contained in:
Andrew Kelley 2022-05-13 14:02:53 -07:00
parent 7755f7863a
commit 915032715f

View File

@ -1330,6 +1330,7 @@ pub const TestContext = struct {
}
},
else => {
std.debug.print("{s}", .{result.stderr});
dumpArgs(zig_args.items);
return error.CompilationCrashed;
},
@ -1403,6 +1404,7 @@ pub const TestContext = struct {
}
},
else => {
std.debug.print("{s}", .{result.stderr});
dumpArgs(zig_args.items);
return error.CompilationCrashed;
},