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:
parent
cec21ec9e5
commit
1caed4c6a6
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue