mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 19:56:32 +02:00
Re-do argument passing to match zbehan's change
zbehan's change: "run_remote_tests: destroy the with_spaces hack, use the --args instead of -a (which doesn't work)", despite apparently not working is in active use by others, both by folks using it on the command line and by the script cros_run_wifi_tests.sh. Fix the script to match the new argument. BUG=none TEST=rerun Review URL: http://codereview.chromium.org/3444010
This commit is contained in:
parent
868b777116
commit
30d46e3c0d
@ -63,7 +63,7 @@ append_flag () {
|
||||
|
||||
append_arg () {
|
||||
local delim=''
|
||||
[ -n "${run_remote_args}" ] && delim=','
|
||||
[ -n "${run_remote_args}" ] && delim=' '
|
||||
run_remote_args="${run_remote_args}${delim}$*"
|
||||
}
|
||||
|
||||
@ -145,5 +145,6 @@ for arg in $*; do
|
||||
append_arg $arg
|
||||
done
|
||||
|
||||
eval "exec "${script_root}/run_remote_tests.sh" \
|
||||
-a "${run_remote_args}" --remote=${remote} $run_remote_flags $FLAGS_ARGV"
|
||||
eval "exec ${script_root}/run_remote_tests.sh \
|
||||
--args=\"${run_remote_args}\" --remote=${remote} $run_remote_flags \
|
||||
$FLAGS_ARGV"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user