aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Pfeffer <zach.pfeffer@linaro.org>2013-02-21 11:34:05 -0600
committerZach Pfeffer <zach.pfeffer@linaro.org>2013-02-21 11:34:05 -0600
commit254f9813b8d7397e155d59d5bfefbfda81bbec06 (patch)
treec2070c75c897e2c6786e3aa32372cf747e9c5c61
parent66d49da093cc144d190211e6eb2433670ea7b746 (diff)
downloadat-254f9813b8d7397e155d59d5bfefbfda81bbec06.tar.gz
runadbhost: Add a delay before invoking the shell
Signed-off-by: Zach Pfeffer <zach.pfeffer@linaro.org>
-rw-r--r--tools.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools.sh b/tools.sh
index 10e50b1..0aaf8cd 100644
--- a/tools.sh
+++ b/tools.sh
@@ -257,7 +257,9 @@ function targetterm() {
function runadbhost() {
export ANDROID_PRODUCT_OUT=$(realpath out/target/product/vexpress/)
adb kill-server
+ sleep 1
adb connect 127.0.0.1:5556
+ adb wait-for-device
adb shell
}