Correct --unittest-only test behavior

run_tests.sh --unittest-only current issues a warning that
`muranoapi/tests/functional` can't be found, and tries to run the
tests in functionaltests, which require tempest and a running server.

Changes run_tests.sh to exclude `functionaltests` instead.

Change-Id: I86bca560ddf7906d43c0fcf80dd331163a22ea3e
Closes-Bug: 1303885
This commit is contained in:
Steve McLellan 2014-04-07 11:11:58 -05:00
parent cec21ec9e5
commit 1caed4c6a6
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ function process_option {
-P|--no-pep8) let no_pep8=1;;
-f|--force) let force=1;;
-u|--update) update=1;;
--unittests-only) noseopts="$noseopts --exclude-dir=muranoapi/tests/functional";;
--unittests-only) noseopts="$noseopts --exclude-dir=functionaltests";;
-c|--coverage) noseopts="$noseopts --with-coverage --cover-package=muranoapi";;
-*) noseopts="$noseopts $1";;
*) noseargs="$noseargs $1"