Fix unit tests to have accurate return code.
Before 'tox -epy27' would not fail even if a unit test failed. Change-Id: I3ed43fdd78d0d877b93b59e2eaaf5de289a17259
This commit is contained in:
parent
866c55dced
commit
f95644470a
2
tox.ini
2
tox.ini
@ -12,7 +12,7 @@ deps=
|
||||
babel
|
||||
commands=
|
||||
bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'
|
||||
bash -c 'testr run --parallel {posargs} ; RET=$? echo "Slowest Tests" ; testr slowest && exit $RET'
|
||||
bash -c 'testr run --parallel {posargs} ; RET=$?; echo "Slowest Tests" ; testr slowest && exit $RET'
|
||||
|
||||
[testenv:py26]
|
||||
deps=
|
||||
|
Loading…
Reference in New Issue
Block a user