about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2023-12-19 16:54:02 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2023-12-19 16:54:02 +0100
commit984e045848ff28294d86471478286307942680da (patch)
treeeb99b00f6ebac5c27d2c933236611134b05ba30b
parentbb4fd2c638fa31c0121255e8548488381ab39041 (diff)
downloadrust-984e045848ff28294d86471478286307942680da.tar.gz
rust-984e045848ff28294d86471478286307942680da.zip
Show output of `--mini-tests` and `--std-tests` commands
-rw-r--r--build_system/src/test.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_system/src/test.rs b/build_system/src/test.rs
index a926ee4c79e..13828e46191 100644
--- a/build_system/src/test.rs
+++ b/build_system/src/test.rs
@@ -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(())
 }