swift/.functests
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
2012-04-18 15:13:09 +03:00

14 lines
152 B
Bash
Executable File

#!/bin/bash
cd test/functional
nosetests --exe $@
func1=$?
cd -
cd test/functionalnosetests
nosetests --exe $@
func2=$?
cd -
exit $((func1 + func2))