mirror of
https://github.com/ziglang/zig.git
synced 2026-02-01 12:13:44 +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…
x
Reference in New Issue
Block a user