Files
1f83f007e8f2a063b326176c3b34b02d8e04181f
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