diff options
author | Vishal Bhoj <vishal.bhoj@linaro.org> | 2017-12-05 17:46:23 +0530 |
---|---|---|
committer | Vishal Bhoj <vishal.bhoj@linaro.org> | 2017-12-05 17:46:23 +0530 |
commit | 0729429901be04ba1d62377b97771c10744ce351 (patch) | |
tree | 9dd1d4705bbcf061b17f7dbf0126eb7e909eaed7 /automated/lib/android-test-lib | |
parent | 794c9eeeb0e51ded2a864ece89c74942df027d33 (diff) |
android: stop the lava job if device is not present
Change-Id: Ia2e69c4e480c8e461792022e55568c387a350fab
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Diffstat (limited to 'automated/lib/android-test-lib')
-rwxr-xr-x | automated/lib/android-test-lib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/automated/lib/android-test-lib b/automated/lib/android-test-lib index 633dd45..a904411 100755 --- a/automated/lib/android-test-lib +++ b/automated/lib/android-test-lib @@ -33,7 +33,7 @@ initialize_adb() { set -x adb_debug_info adb start-server - timeout 600 adb wait-for-device || error_msg "Device NOT found!" + timeout 600 adb wait-for-device || error_fatal "Device NOT found!" adb devices if [ -z "${ANDROID_SERIAL}" ]; then |