diff options
author | clayg <clay.gerrard@gmail.com> | 2012-11-26 09:58:09 -0600 |
---|---|---|
committer | clayg <clay.gerrard@gmail.com> | 2012-12-07 14:08:49 -0800 |
commit | 1f83f007e8f2a063b326176c3b34b02d8e04181f (patch) | |
tree | 9fa935edf3f1d2e88ebdb3079345338d8ee795aa /.unittests | |
parent | 13937ad696893898022517846ad17233fb57d61e (diff) | |
download | swift-1f83f007e8f2a063b326176c3b34b02d8e04181f.tar.gz |
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
Diffstat (limited to '.unittests')
-rwxr-xr-x | .unittests | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.unittests b/.unittests index 773c2cb83..6fc2eb1ed 100755 --- a/.unittests +++ b/.unittests @@ -1,8 +1,8 @@ #!/bin/bash -cd test/unit +cd $(dirname $0)/test/unit nosetests --exe --with-coverage --cover-package swift --cover-erase $@ rvalue=$? rm -f .coverage cd - -exit $rvalue
\ No newline at end of file +exit $rvalue |