From 0a2341798f38891a7e99aca3518635ed3ae368b1 Mon Sep 17 00:00:00 2001 From: Chase Qi Date: Fri, 1 Sep 2017 16:05:22 +0800 Subject: 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 --- automated/android/tradefed/tradefed.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'automated') 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 -- cgit v1.2.3