summaryrefslogtreecommitdiff
path: root/.functests
diff options
context:
space:
mode:
Diffstat (limited to '.functests')
-rwxr-xr-x.functests6
1 files changed, 4 insertions, 2 deletions
diff --git a/.functests b/.functests
index 56898294e..9797f58a1 100755
--- a/.functests
+++ b/.functests
@@ -1,11 +1,13 @@
#!/bin/bash
-cd test/functional
+SRC_DIR=$(dirname $0)
+
+cd ${SRC_DIR}/test/functional
nosetests --exe $@
func1=$?
cd -
-cd test/functionalnosetests
+cd ${SRC_DIR}/test/functionalnosetests
nosetests --exe $@
func2=$?
cd -