Commit 7bd80f2071
Changed files (1)
test
test/tests.zig
@@ -1512,7 +1512,7 @@ pub const TranslateCContext = struct {
switch (term) {
.Exited => |code| {
if (code != 0) {
- warn("Compilation failed with exit code {}\n", .{code});
+ warn("Compilation failed with exit code {}\n{}\n", .{ code, stderr_buf.toSliceConst() });
printInvocation(zig_args.toSliceConst());
return error.TestFailed;
}