Skip to content

Commit 984e045

Browse files
Show output of --mini-tests and --std-tests commands
1 parent bb4fd2c commit 984e045

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build_system/src/test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ fn maybe_run_command_in_vm(
304304
args: &TestArg,
305305
) -> Result<(), String> {
306306
if !args.config_info.run_in_vm {
307-
run_command_with_env(command, None, Some(env))?;
307+
run_command_with_output_and_env(command, None, Some(env))?;
308308
return Ok(());
309309
}
310310
let vm_parent_dir = match env.get("CG_GCC_VM_DIR") {
@@ -330,7 +330,7 @@ fn maybe_run_command_in_vm(
330330
&inside_vm_exe_path,
331331
];
332332
vm_command.extend_from_slice(command);
333-
run_command_with_env(&vm_command, Some(&vm_parent_dir), Some(env))?;
333+
run_command_with_output_and_env(&vm_command, Some(&vm_parent_dir), Some(env))?;
334334
Ok(())
335335
}
336336

0 commit comments

Comments
 (0)