swift/.functests
clayg 1f83f007e8 Allow dot test runners from any dir
Currently the .*test files in the source tree root seem to assume you're
in that directory when you run them.  This change should work exactly
the same except for removing that restriction.

Change-Id: I9b037016490dd6d5b515cb2c3cad2f99ee40bb6d
2012-12-07 14:08:49 -08:00

16 lines
197 B
Bash
Executable File

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