summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorChase Qi <chase.qi@linaro.org>2015-04-09 08:15:54 +0000
committerChase Qi <chase.qi@linaro.org>2015-04-09 08:15:59 +0000
commitb54913f7cb6f58362b09c7e1ca611512dde53106 (patch)
treef2e373b33e4876aec282cbeab8d582396fd1cf3c /common
parentda02c65c2e98854514d31491b49e8010fe1a1b46 (diff)
android/common: clean exit so that LAVA can trust test results
lava-test-shell-run is used to detect if the lava-test-shell finshed successfully. If the exit code of test case is nonzero, even all tests finished normally, lava-test-shell-run test will fail. Change-Id: If4c8266ccdfcb78ac99dd7bc4288601454e7af6b Signed-off-by: Chase Qi <chase.qi@linaro.org>
Diffstat (limited to 'common')
-rwxr-xr-xcommon/scripts/kselftest-runner.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/scripts/kselftest-runner.sh b/common/scripts/kselftest-runner.sh
index 6220051..7318db5 100755
--- a/common/scripts/kselftest-runner.sh
+++ b/common/scripts/kselftest-runner.sh
@@ -22,3 +22,5 @@ do
[ "${test}" -a "${result}" ] && echo "${test}: ${result}" && unset test && unset result
done < ${LOG}
+# clean exit so that lava-test-shell can trust the results
+exit 0