| ... | ... | @@ -1294,6 +1294,8 @@ pub const TestContext = struct { |
| 1294 | 1294 | |
| 1295 | 1295 | if (case.is_test) { |
| 1296 | 1296 | try zig_args.append("test"); |
| 1297 | } else if (update.case == .Execution) { |
| 1298 | try zig_args.append("run"); |
| 1297 | 1299 | } else switch (case.output_mode) { |
| 1298 | 1300 | .Obj => try zig_args.append("build-obj"), |
| 1299 | 1301 | .Exe => try zig_args.append("build-exe"), |
| ... | ... | @@ -1402,6 +1404,7 @@ pub const TestContext = struct { |
| 1402 | 1404 | switch (result.term) { |
| 1403 | 1405 | .Exited => |code| { |
| 1404 | 1406 | if (code != 0) { |
| 1407 | std.debug.print("{s}", .{result.stderr}); |
| 1405 | 1408 | dumpArgs(zig_args.items); |
| 1406 | 1409 | return error.CompilationFailed; |
| 1407 | 1410 | } |