Merge "relocatable roots doesn't handle testr args/opts"

This commit is contained in:
Jenkins 2013-02-15 21:00:09 +00:00 committed by Gerrit Code Review
commit 596e0b392a

View File

@ -34,7 +34,6 @@ function usage {
function process_options { function process_options {
i=1 i=1
while [ $i -le $# ]; do while [ $i -le $# ]; do
FOO=${!i}
case "${!i}" in case "${!i}" in
-h|--help) usage;; -h|--help) usage;;
-V|--virtual-env) always_venv=1; never_venv=0;; -V|--virtual-env) always_venv=1; never_venv=0;;
@ -59,8 +58,8 @@ function process_options {
(( i++ )) (( i++ ))
tools_path=${!i} tools_path=${!i}
;; ;;
-*) testropts="$testropts $1";; -*) testropts="$testropts ${!i}";;
*) testrargs="$testrargs $1" *) testrargs="$testrargs ${!i}"
esac esac
(( i++ )) (( i++ ))
done done