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:
Joe Gordon 2013-06-20 14:21:40 -07:00
parent 866c55dced
commit f95644470a

View File

@ -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=