Comment 1 for bug 1065758

Revision history for this message
Gerardo Porras (gerardo8a) wrote :

diff --git a/run_tests.sh b/run_tests.sh
index 6812a8f..d7759a8 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -26,6 +26,7 @@ function process_option {
     -f|--force) let force=1;;
     --unittests-only) noseargs="$noseargs --exclude-dir=glance/tests/functional";;
     -c|--coverage) noseargs="$noseargs --with-coverage --cover-package=glance";;
+ -*) noseopts="$noseopts $1";;
     *) noseargs="$noseargs $1"
   esac
 }
@@ -67,7 +68,7 @@ function run_pep8 {
 }

-NOSETESTS="nosetests $noseargs"
+NOSETESTS="nosetests $noseopts $noseargs"

 if [ $never_venv -eq 0 ]
 then