Merge "make test runner functions return the status of running the tests"
This commit is contained in:
commit
9fe0a1cc4b
|
@ -2,8 +2,12 @@
|
||||||
|
|
||||||
cd test/functional
|
cd test/functional
|
||||||
nosetests --exe $@
|
nosetests --exe $@
|
||||||
|
func1=$?
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
cd test/functionalnosetests
|
cd test/functionalnosetests
|
||||||
nosetests --exe $@
|
nosetests --exe $@
|
||||||
|
func2=$?
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
|
exit $((func1 + func2))
|
||||||
|
|
|
@ -2,4 +2,7 @@
|
||||||
|
|
||||||
cd test/probe
|
cd test/probe
|
||||||
nosetests --exe
|
nosetests --exe
|
||||||
|
rvalue=$?
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
|
exit $rvalue
|
||||||
|
|
|
@ -2,5 +2,7 @@
|
||||||
|
|
||||||
cd test/unit
|
cd test/unit
|
||||||
nosetests --exe --with-coverage --cover-package swift --cover-erase $@
|
nosetests --exe --with-coverage --cover-package swift --cover-erase $@
|
||||||
|
rvalue=$?
|
||||||
rm -f .coverage
|
rm -f .coverage
|
||||||
cd -
|
cd -
|
||||||
|
exit $rvalue
|
Loading…
Reference in New Issue