Code Review
/
functest-xtesting.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
2d77ecd
)
Stop the job and quit with error if a test case fails
author
jose.lausuch
<jose.lausuch@ericsson.com>
Thu, 2 Jun 2016 20:26:03 +0000
(22:26 +0200)
committer
jose.lausuch
<jose.lausuch@ericsson.com>
Thu, 2 Jun 2016 20:26:03 +0000
(22:26 +0200)
JIRA: FUNCTEST-282
Change-Id: I9fd638c19333772040481140f9e2324b7d80772f
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
ci/exec_test.sh
patch
|
blob
|
history
diff --git
a/ci/exec_test.sh
b/ci/exec_test.sh
index
2916397
..
2269aa7
100755
(executable)
--- a/
ci/exec_test.sh
+++ b/
ci/exec_test.sh
@@
-141,6
+141,10
@@
function run_test(){
echo "The test case '${test_name}' does not exist."
exit 1
esac
+
+ if [[ $? != 0 ]]; then exit 1
+ else exit 0
+ fi
}