summaryrefslogtreecommitdiff
path: root/.unittests
diff options
context:
space:
mode:
authorIonuț Arțăriși <iartarisi@suse.cz>2012-04-18 15:12:10 +0300
committerIonuț Arțăriși <iartarisi@suse.cz>2012-04-18 15:13:09 +0300
commitc51788a4ac225f361c7307f8e0d4c92022ad73b5 (patch)
treec888717eb5ce3b5c2bd5fedfe7e08f742e4e6a5d /.unittests
parent40cbff9fd3913bb7d36e2c145367c740dfc2d47b (diff)
downloadswift-c51788a4ac225f361c7307f8e0d4c92022ad73b5.tar.gz
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
Diffstat (limited to '.unittests')
-rwxr-xr-x.unittests2
1 files changed, 2 insertions, 0 deletions
diff --git a/.unittests b/.unittests
index 6f99aecdb..773c2cb83 100755
--- a/.unittests
+++ b/.unittests
@@ -2,5 +2,7 @@
cd test/unit
nosetests --exe --with-coverage --cover-package swift --cover-erase $@
+rvalue=$?
rm -f .coverage
cd -
+exit $rvalue \ No newline at end of file