diff --git a/.functests b/.functests index 56898294eb..9797f58a1e 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 - diff --git a/.probetests b/.probetests index 67d25aae8d..5d9f69915e 100755 --- a/.probetests +++ b/.probetests @@ -1,6 +1,6 @@ #!/bin/bash -cd test/probe +cd $(dirname $0)/test/probe nosetests --exe rvalue=$? cd - diff --git a/.unittests b/.unittests index 773c2cb836..6fc2eb1ed9 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