summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2018-04-19 12:39:19 +0800
committerYongqin Liu <yongqin.liu@linaro.org>2018-04-19 12:39:19 +0800
commitc38be5852826d4459cba46add67402a135c76c78 (patch)
treeffab9e2d6ad39d774466359584fc4dd5891ea623
parent806d42e4140b721422d0b0cd01f924042f9fde5e (diff)
android-test-lib: list fastboot devices in adb_debug_info
so that we could know if the devices is in fastboot mode or has other problem Change-Id: Ibcf3ad2fd98bb511aca2387f7be2790d14482f7b Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rwxr-xr-xautomated/lib/android-test-lib4
1 files changed, 4 insertions, 0 deletions
diff --git a/automated/lib/android-test-lib b/automated/lib/android-test-lib
index 1b7e4af..bad964f 100755
--- a/automated/lib/android-test-lib
+++ b/automated/lib/android-test-lib
@@ -26,6 +26,10 @@ adb_debug_info() {
# avoid returning 1 when 'find' doesn't work
find /dev/bus/usb || true
fi
+ info_msg "===== list fastboot devices start ========="
+ fastboot devices
+ info_msg "===== list fastboot devices end ========="
+ info_msg "===== default ANDROID_SERIAL=${ANDROID_SERIAL} ========="
}
initialize_adb() {