Files
34e2ab3f31ff039359e35c8a41197b5cf7af8156
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
16 lines
197 B
Bash
Executable File
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))