Merge lp:~asac/lava-dispatcher/lava-test-case-exit-code-fix into lp:lava-dispatcher
Proposed by
Alexander Sack
Status: | Merged |
---|---|
Merged at revision: | 505 |
Proposed branch: | lp:~asac/lava-dispatcher/lava-test-case-exit-code-fix |
Merge into: | lp:lava-dispatcher |
Diff against target: |
13 lines (+5/-1) 1 file modified
lava_test_shell/lava-test-case (+5/-1) |
To merge this branch: | bzr merge lp:~asac/lava-dispatcher/lava-test-case-exit-code-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Linaro Validation Team | Pending | ||
Review via email: mp+140446@code.launchpad.net |
Description of the change
=== modified file 'lava_test_
--- lava_test_
+++ lava_test_
@@ -74,4 +74,8 @@
if [ -n "${MEASUREMENT+x}" ]; then
echo $MEASUREMENT > $result_
fi
-exit $rc
+
+# lava-test-case testname --shell false should report a fail as test result
+# but not fail itself; hence don't honor 'rc' if we reach this, but exit 0
+exit 0
+
To post a comment you must log in.