Hack run_tests.sh to work with single tests again.
Even though we're moving to testr and this will eventually go away, we should maintain our ability to run and debug individual tests until the broader change is released. This just adds some text around the nosetests call to get us back where we were. Fixes bug: 1181996 Change-Id: Id0082ca8954664679430cc602425b1fadd29151b
This commit is contained in:
parent
1df6516dce
commit
2be0b9c39c
@ -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 ]
|
||||
|
Loading…
Reference in New Issue
Block a user