Files
a064fa4227c4960052e2089d2b05bc684706f13e
swift /.unittests
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

9 lines
156 B
Bash
Executable File

#!/bin/bash
cd $(dirname 0ドル)/test/unit
nosetests --exe --with-coverage --cover-package swift --cover-erase $@
rvalue=$?
rm -f .coverage
cd -
exit $rvalue