Files
c51788a4ac225f361c7307f8e0d4c92022ad73b5
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