diff options
| author | Andy Russell <arussell123@gmail.com> | 2017-08-22 10:14:43 -0500 |
|---|---|---|
| committer | Andy Russell <arussell123@gmail.com> | 2017-08-23 17:32:09 -0400 |
| commit | 91bfe3f55bddf508624a39eec9da859f911f966c (patch) | |
| tree | 28f36fecad2a6e8e7af6008527bdfd24a2afcb67 | |
| parent | 02e95e508df195becd939ae7f6ad70094a1117aa (diff) | |
| download | rust-91bfe3f55bddf508624a39eec9da859f911f966c.tar.gz rust-91bfe3f55bddf508624a39eec9da859f911f966c.zip | |
capture `adb shell` stdout
| -rw-r--r-- | src/tools/compiletest/src/runtest.rs | 2 |
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)); |
