summaryrefslogtreecommitdiffstats
path: root/run_tests.sh
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-02-15 21:00:09 +0000
committerGerrit Code Review <review@openstack.org>2013-02-15 21:00:09 +0000
commit596e0b392a961c28c5d8f81ec45dc6e2b28578e2 (patch)
treee9e3e14dc047594e844662bc8840b6147c9cb945 /run_tests.sh
parente989d323d1b7723e4d8e5535c316d33c9fa9f35f (diff)
parentee5eb4972462efaa8e4e98666a41356a7f2cee2f (diff)
downloadnova-596e0b392a961c28c5d8f81ec45dc6e2b28578e2.tar.gz
nova-596e0b392a961c28c5d8f81ec45dc6e2b28578e2.tar.xz
nova-596e0b392a961c28c5d8f81ec45dc6e2b28578e2.zip
Merge "relocatable roots doesn't handle testr args/opts"
Diffstat (limited to 'run_tests.sh')
-rwxr-xr-xrun_tests.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/run_tests.sh b/run_tests.sh
index 389a74f6d..5a76b514f 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -34,7 +34,6 @@ function usage {
function process_options {
i=1
while [ $i -le $# ]; do
- FOO=${!i}
case "${!i}" in
-h|--help) usage;;
-V|--virtual-env) always_venv=1; never_venv=0;;
@@ -59,8 +58,8 @@ function process_options {
(( i++ ))
tools_path=${!i}
;;
- -*) testropts="$testropts $1";;
- *) testrargs="$testrargs $1"
+ -*) testropts="$testropts ${!i}";;
+ *) testrargs="$testrargs ${!i}"
esac
(( i++ ))
done