Skip to content

Commit

Permalink
capture adb shell stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
euclio committed Aug 23, 2017
1 parent 02e95e5 commit 91bfe3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tools/compiletest/src/runtest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit 91bfe3f

Please sign in to comment.