mirror of
https://github.com/ziglang/zig.git
synced 2024-11-14 16:13:24 +00:00
test harness: dump stderr when compiler crashes
This commit is contained in:
parent
7755f7863a
commit
915032715f
@ -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;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user