summaryrefslogtreecommitdiff
path: root/automated/lib
diff options
context:
space:
mode:
authorChase Qi <chase.qi@linaro.org>2017-09-08 17:14:24 +0800
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2017-09-08 09:27:10 +0000
commit8f623fcfde11507cc595b11898b56ff9bd566efe (patch)
tree2b4af8a76dc6eb7fd7137eea34480214cb9f1fca /automated/lib
parent3ad29680969fba7f6ea4c73e44d4151f13c9d08a (diff)
android-test-lib: move 'adb wait-for-device' to the right place
Change-Id: I6546c8608b70a63829a3de953240919cde1d8364 Signed-off-by: Chase Qi <chase.qi@linaro.org>
Diffstat (limited to 'automated/lib')
-rwxr-xr-xautomated/lib/android-test-lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/automated/lib/android-test-lib b/automated/lib/android-test-lib
index 40c3ef3..4c515ce 100755
--- a/automated/lib/android-test-lib
+++ b/automated/lib/android-test-lib
@@ -32,6 +32,7 @@ initialize_adb() {
set -x
adb_debug_info
adb start-server
+ adb wait-for-device
adb devices
if [ -z "${ANDROID_SERIAL}" ]; then
@@ -46,7 +47,6 @@ initialize_adb() {
fi
export ANDROID_SERIAL
info_msg "Default adb device: ${ANDROID_SERIAL}"
- adb wait-for-device
if adb shell echo "Testing adb connectivity"; then
info_msg "Connected to device ${ANDROID_SERIAL} successfully"