summaryrefslogtreecommitdiff
path: root/.functests
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 /.functests
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 '.functests')
-rwxr-xr-x.functests4
1 files changed, 4 insertions, 0 deletions
diff --git a/.functests b/.functests
index a7be2b398..56898294e 100755
--- a/.functests
+++ b/.functests
@@ -2,8 +2,12 @@
cd test/functional
nosetests --exe $@
+func1=$?
cd -
cd test/functionalnosetests
nosetests --exe $@
+func2=$?
cd -
+
+exit $((func1 + func2))