summaryrefslogtreecommitdiff
path: root/automated/android/tradefed/tradefed.yaml
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2018-01-17 15:56:21 +0800
committerYongqin Liu <yongqin.liu@linaro.org>2018-01-17 15:56:21 +0800
commitb6405e2e12b71a397c3974a8735b9adcc5cce97f (patch)
tree551d05929c1a651ba1b3328d1335384aefe82c46 /automated/android/tradefed/tradefed.yaml
parent726c1c7a0c61dea9b58a86afa5d89b7785b0d07a (diff)
add more debug information for cts test
Change-Id: I0c959e43f848e8403996b80f67cc59e79e16708e Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Diffstat (limited to 'automated/android/tradefed/tradefed.yaml')
-rw-r--r--automated/android/tradefed/tradefed.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/automated/android/tradefed/tradefed.yaml b/automated/android/tradefed/tradefed.yaml
index baf2a5e..f9d4f9c 100644
--- a/automated/android/tradefed/tradefed.yaml
+++ b/automated/android/tradefed/tradefed.yaml
@@ -53,3 +53,5 @@ run:
# Send test result to LAVA.
- ../../utils/send-to-lava.sh ./output/result.txt
- userdel testuser -f -r || true
+ # When adb device lost, end test job to mark it as 'incomplete'.
+ - if ! adb shell echo ok; then error_fatal "adb device $ANDROID_SERIAL lost!"; fi