Skip to content

Commit 91bfe3f

Browse files
committed
capture adb shell stdout
1 parent 02e95e5 commit 91bfe3f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tools/compiletest/src/runtest.rs

+2
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,8 @@ actual:\n\
515515
debug!("adb arg: {}", adb_arg);
516516
let mut adb = Command::new(adb_path)
517517
.args(&["shell", &adb_arg])
518+
.stdout(Stdio::piped())
519+
.stderr(Stdio::inherit())
518520
.spawn()
519521
.expect(&format!("failed to exec `{:?}`", adb_path));
520522

0 commit comments

Comments
 (0)