diff options
Diffstat (limited to 'run_tests.sh')
-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 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 |