Fail rally-cli job if at least one test failed
Call subunit-stats at the end of post-test-hook. This should set $? to non-zero if at least one test failed. Change-Id: I5e8cd57a6611e96bfe09ad65072b13d1668e4b3d
This commit is contained in:
parent
8980bfe9c5
commit
99622325f0
@ -119,6 +119,7 @@
|
||||
sudo -H -u stack tox -ecli -v
|
||||
.tox/cli/bin/python /usr/local/jenkins/slave_scripts/subunit2html.py .testrepository/subunit.log $WORKSPACE/results.html
|
||||
gzip -9 $WORKSPACE/results.html
|
||||
.tox/cli/bin/subunit-stats .testrepository/subunit.log
|
||||
}
|
||||
export -f pre_test_hook
|
||||
export -f post_test_hook
|
||||
|
Loading…
x
Reference in New Issue
Block a user