Merge "Allow dot test runners from any dir"

This commit is contained in:
Jenkins 2012-12-11 22:07:22 +00:00 committed by Gerrit Code Review
commit 1135c9e256
3 changed files with 7 additions and 5 deletions

View File

@ -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 -

View File

@ -1,6 +1,6 @@
#!/bin/bash
cd test/probe
cd $(dirname $0)/test/probe
nosetests --exe
rvalue=$?
cd -

View File

@ -1,6 +1,6 @@
#!/bin/bash
cd test/unit
cd $(dirname $0)/test/unit
nosetests --exe --with-coverage --cover-package swift --cover-erase $@
rvalue=$?
rm -f .coverage