Show output of --mini-tests and --std-tests commands

This commit is contained in:
Guillaume Gomez 2023-12-19 16:54:02 +01:00
parent bb4fd2c638
commit 984e045848

View File

@ -304,7 +304,7 @@ fn maybe_run_command_in_vm(
args: &TestArg,
) -> Result<(), String> {
if !args.config_info.run_in_vm {
run_command_with_env(command, None, Some(env))?;
run_command_with_output_and_env(command, None, Some(env))?;
return Ok(());
}
let vm_parent_dir = match env.get("CG_GCC_VM_DIR") {
@ -330,7 +330,7 @@ fn maybe_run_command_in_vm(
&inside_vm_exe_path,
];
vm_command.extend_from_slice(command);
run_command_with_env(&vm_command, Some(&vm_parent_dir), Some(env))?;
run_command_with_output_and_env(&vm_command, Some(&vm_parent_dir), Some(env))?;
Ok(())
}