summaryrefslogtreecommitdiff
path: root/.probetests
diff options
context:
space:
mode:
authorclayg <clay.gerrard@gmail.com>2012-11-26 09:58:09 -0600
committerclayg <clay.gerrard@gmail.com>2012-12-07 14:08:49 -0800
commit1f83f007e8f2a063b326176c3b34b02d8e04181f (patch)
tree9fa935edf3f1d2e88ebdb3079345338d8ee795aa /.probetests
parent13937ad696893898022517846ad17233fb57d61e (diff)
downloadswift-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 '.probetests')
-rwxr-xr-x.probetests2
1 files changed, 1 insertions, 1 deletions
diff --git a/.probetests b/.probetests
index 67d25aae8..5d9f69915 100755
--- a/.probetests
+++ b/.probetests
@@ -1,6 +1,6 @@
#!/bin/bash
-cd test/probe
+cd $(dirname $0)/test/probe
nosetests --exe
rvalue=$?
cd -