about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/tools/compiletest/src/runtest.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs
index a68491b5bc7..d2a0c776b33 100644
--- a/src/tools/compiletest/src/runtest.rs
+++ b/src/tools/compiletest/src/runtest.rs
@@ -515,6 +515,8 @@ actual:\n\
                 debug!("adb arg: {}", adb_arg);
                 let mut adb = Command::new(adb_path)
                     .args(&["shell", &adb_arg])
+                    .stdout(Stdio::piped())
+                    .stderr(Stdio::inherit())
                     .spawn()
                     .expect(&format!("failed to exec `{:?}`", adb_path));