Merge "make test runner functions return the status of running the tests"

This commit is contained in:
Jenkins 2012-04-20 16:02:18 +00:00 committed by Gerrit Code Review
commit 9fe0a1cc4b
3 changed files with 9 additions and 0 deletions

View File

@ -2,8 +2,12 @@
cd test/functional
nosetests --exe $@
func1=$?
cd -
cd test/functionalnosetests
nosetests --exe $@
func2=$?
cd -
exit $((func1 + func2))

View File

@ -2,4 +2,7 @@
cd test/probe
nosetests --exe
rvalue=$?
cd -
exit $rvalue

View File

@ -2,5 +2,7 @@
cd test/unit
nosetests --exe --with-coverage --cover-package swift --cover-erase $@
rvalue=$?
rm -f .coverage
cd -
exit $rvalue