Files
2352b9d66f7a767376d36bd5b79d4b2c328ea45a
Ionuț Arțăriși
c51788a4ac
make test runner functions return the status of running the tests
This makes it a lot easier for CI jobs to be setup and return the true status of the testsuite. Change-Id: I0c2b0d6b17f560a889cd2f22ab98a68361f6d738
8 lines
140 B
Bash
Executable File
8 lines
140 B
Bash
Executable File
#!/bin/bash
cd test/unit
nosetests --exe --with-coverage --cover-package swift --cover-erase $@
rvalue=$?
rm -f .coverage
cd -
exit $rvalue