swift/.functests

16 lines
255 B
Plaintext
Raw Normal View History

2010-07-12 17:03:45 -05:00
#!/bin/bash
SRC_DIR=$(python -c "import os; print os.path.dirname(os.path.realpath('$0'))")
cd ${SRC_DIR}/test/functional
nosetests --exe $@
func1=$?
cd -
cd ${SRC_DIR}/test/functionalnosetests
nosetests --exe $@
func2=$?
cd -
exit $((func1 + func2))