diff --git a/run_tests.sh b/run_tests.sh index b420d67954b..1661ff76a73 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -44,7 +44,7 @@ function process_option { -c|--coverage) coverage=1;; -X|--coverage-xml) coverage_xml=1;; -*) noseopts="$noseopts $1";; - *) noseargs="$noseargs $1" + *) noseargs="--tests ./cinder/tests/$noseargs$1.py" esac } @@ -113,7 +113,6 @@ function run_pep8 { bash -c "${wrapper} flake8 cinder* bin" } - NOSETESTS="nosetests $noseopts $noseargs" if [ $never_venv -eq 0 ]