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

Issue 5821001: run_remote_tests.sh: pass multiple arguments to autoserv (Closed)

Created:
10 years ago by Daniel Kurtz
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, anush, sosa
Visibility:
Public.

Description

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 Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=b38b3c8

Patch Set 1 #

Patch Set 2 : Fix how args are passed to chroot #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M run_remote_tests.sh View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Daniel Kurtz
This patch works with the common WiFi test usage. I don't know what other use ...
10 years ago (2010-12-14 18:06:42 UTC) #1
Sam Leffler
LGTM on this w/ caveat. This works only when running inside the chroot. When outside ...
10 years ago (2010-12-14 19:13:01 UTC) #2
ericli
LGTM as long as you guys tested it. On 2010/12/14 19:13:01, Sam Leffler wrote: > ...
10 years ago (2010-12-14 19:19:41 UTC) #3
kmixter1
How does this work? Can't FLAGS_args have spaces in it and if so wouldn't those ...
10 years ago (2010-12-14 19:32:35 UTC) #4
Sam Leffler
I agree. The change makes no sense to me but appears to work for all ...
10 years ago (2010-12-14 19:41:01 UTC) #5
Daniel Kurtz
args is documented as: "Command line arguments for test. Quoted and space separated if multiple." ...
10 years ago (2010-12-14 20:03:32 UTC) #6
Daniel Kurtz
Update to work both inside & outside chroot. However, sudo 1.7.2p1 is broken (See chromium-os:7072). ...
10 years ago (2010-12-15 04:11:44 UTC) #7
ericli
10 years ago (2010-12-15 18:24:58 UTC) #8
LGTM.
On 2010/12/15 04:11:44, djkurtz wrote:
> Update to work both inside & outside chroot.
> 
> However, sudo 1.7.2p1 is broken (See chromium-os:7072).  It cannot properly
> handle multi-word arguments when using '-i', such as in enter_chroot.sh.
> 
> This will be fixed when we uprev to sudo 1.7.4p4.
> 
> Until then, tests can only be run within the chroot.

Powered by Google App Engine
This is Rietveld 408576698