Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(397)

Side by Side Diff: bin/cros_run_wifi_tests.sh

Issue 3444010: Re-do argument passing to match zbehan's change (Closed) Base URL: ssh://gitrw.chromium.org/crosutils.git
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Wrapper script around run_remote_tests.sh that knows how to find 7 # Wrapper script around run_remote_tests.sh that knows how to find
8 # device test cells. 8 # device test cells.
9 9
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 run_remote_args=${FLAGS_args} 56 run_remote_args=${FLAGS_args}
57 57
58 append_flag () { 58 append_flag () {
59 local delim='' 59 local delim=''
60 [ -n "${run_remote_flags}" ] && delim=' ' 60 [ -n "${run_remote_flags}" ] && delim=' '
61 run_remote_flags="${run_remote_flags}${delim}$*" 61 run_remote_flags="${run_remote_flags}${delim}$*"
62 } 62 }
63 63
64 append_arg () { 64 append_arg () {
65 local delim='' 65 local delim=''
66 [ -n "${run_remote_args}" ] && delim=',' 66 [ -n "${run_remote_args}" ] && delim=' '
67 run_remote_args="${run_remote_args}${delim}$*" 67 run_remote_args="${run_remote_args}${delim}$*"
68 } 68 }
69 69
70 if [ -n "${FLAGS_board}" ]; then 70 if [ -n "${FLAGS_board}" ]; then
71 append_flag --board "'${FLAGS_board}'" 71 append_flag --board "'${FLAGS_board}'"
72 fi 72 fi
73 73
74 if [ -n "${FLAGS_chroot}" ]; then 74 if [ -n "${FLAGS_chroot}" ]; then
75 append_flag --chroot "'${FLAGS_chroot}'" 75 append_flag --chroot "'${FLAGS_chroot}'"
76 fi 76 fi
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 exit 1 138 exit 1
139 fi 139 fi
140 140
141 set $ret 141 set $ret
142 remote=$1 142 remote=$1
143 shift 143 shift
144 for arg in $*; do 144 for arg in $*; do
145 append_arg $arg 145 append_arg $arg
146 done 146 done
147 147
148 eval "exec "${script_root}/run_remote_tests.sh" \ 148 eval "exec ${script_root}/run_remote_tests.sh \
149 -a "${run_remote_args}" --remote=${remote} $run_remote_flags $FLAGS_ARGV" 149 --args=\"${run_remote_args}\" --remote=${remote} $run_remote_flags \
150 $FLAGS_ARGV"
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698