summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChase Qi <chase.qi@linaro.org>2017-09-01 16:05:22 +0800
committerChase Qi <chase.qi@linaro.org>2017-09-01 17:25:37 +0800
commit0a2341798f38891a7e99aca3518635ed3ae368b1 (patch)
treefd33e18b188624101170374632b33bddb908a161
parent32c192985b2409817efbe2ffae3f71d9d442ae9b (diff)
android: tradefed: enable shell '-e' option
cts/vts packaging download failure leads to test hangs until test timed out. Refer to: https://lkft.validation.linaro.org/scheduler/job/18457#L3168 Pexpect threw an exception says android-cts/vts not found, but it didn't exit for some reasons. With '-e' option enabled, test will exit on any errors. When this happen, LAVA will record the whole test run as fail. Change-Id: Ib7919ee2c4559c3673acb6ef475840cd20916f7f Signed-off-by: Chase Qi <chase.qi@linaro.org>
-rwxr-xr-xautomated/android/tradefed/tradefed.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/automated/android/tradefed/tradefed.sh b/automated/android/tradefed/tradefed.sh
index 84df05a..08bc20a 100755
--- a/automated/android/tradefed/tradefed.sh
+++ b/automated/android/tradefed/tradefed.sh
@@ -1,4 +1,4 @@
-#!/bin/sh -x
+#!/bin/sh -ex
# shellcheck disable=SC1091
. ../../lib/sh-test-lib