mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 14:06:58 +02:00
run_remote_tests.sh: pass multiple arguments to autoserv
Change-Id: I7f54a0e078d0c7eb70e0a614bbb991cd372dec60 BUG=chromium-os:9841 TEST= ## Test with these 2 scripts ./bin/cros_run_wifi_tests.sh --cell 3 MatFunc --args "test_pat=000*" ## --and-- ./run_remote_tests.sh --remote=${DUT} --args="test_pat=000* config_file=wifi_testbed_chromelab server_addr=${SERVER} router_addr=${ROUTER}" MatFunc Review URL: http://codereview.chromium.org/5821001
This commit is contained in:
parent
27c473d6c7
commit
b38b3c81bc
@ -268,7 +268,7 @@ function main() {
|
||||
local autoserv_args="-m ${FLAGS_remote} --ssh-port ${FLAGS_ssh_port} \
|
||||
${option} ${control_file} -r ${results_dir} ${verbose}"
|
||||
if [ -n "${FLAGS_args}" ]; then
|
||||
autoserv_args="${autoserv_args} -a \"${FLAGS_args}\""
|
||||
autoserv_args="${autoserv_args} --args=${FLAGS_args}"
|
||||
fi
|
||||
|
||||
sudo chmod a+w ./server/{tests,site_tests}
|
||||
@ -291,5 +291,5 @@ function main() {
|
||||
print_time_elapsed
|
||||
}
|
||||
|
||||
restart_in_chroot_if_needed $*
|
||||
restart_in_chroot_if_needed "$@"
|
||||
main "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user