diff options
-rwxr-xr-x | run_tests.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/run_tests.sh b/run_tests.sh index 1f269fbfe..28aa68a2a 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -33,7 +33,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;; @@ -57,8 +56,8 @@ function process_options { (( i++ )) tools_path=${!i} ;; - -*) testropts="$testropts $1";; - *) testrargs="$testrargs $1" + -*) testropts="$testropts ${!i}";; + *) testrargs="$testrargs ${!i}" esac (( i++ )) done |