Skip to content

Commit

Permalink
Hack run_tests.sh to work with single tests again.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
j-griffith committed May 24, 2013
1 parent 1df6516 commit 2be0b9c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down Expand Up @@ -113,7 +113,6 @@ function run_pep8 {
bash -c "${wrapper} flake8 cinder* bin"
}


NOSETESTS="nosetests $noseopts $noseargs"

if [ $never_venv -eq 0 ]
Expand Down

0 comments on commit 2be0b9c

Please sign in to comment.