summaryrefslogtreecommitdiff
path: root/.probetests
diff options
context:
space:
mode:
authorClay Gerrard <clay.gerrard@gmail.com>2013-11-13 11:40:27 -0800
committerClay Gerrard <clay.gerrard@gmail.com>2013-12-06 12:07:52 -0800
commit0b57158007fd23511b6db7be476d5952d2dc1f74 (patch)
treeec59335d044df5553913429abea382dc8563715a /.probetests
parent645d1c93c5514815b0daaf3a6e38bf957ca3da3b (diff)
downloadswift-0b57158007fd23511b6db7be476d5952d2dc1f74.tar.gz
make test tooling less opinionated
Change-Id: I709afcec998795794a9ef13bbe7493ddd46c59b5
Diffstat (limited to '.probetests')
-rwxr-xr-x.probetests4
1 files changed, 3 insertions, 1 deletions
diff --git a/.probetests b/.probetests
index 5d9f69915..e89fcc01d 100755
--- a/.probetests
+++ b/.probetests
@@ -1,6 +1,8 @@
#!/bin/bash
-cd $(dirname $0)/test/probe
+SRC_DIR=$(python -c "import os; print os.path.dirname(os.path.realpath('$0'))")
+
+cd ${SRC_DIR}/test/probe
nosetests --exe
rvalue=$?
cd -