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

Issue 3444010: Re-do argument passing to match zbehan's change (Closed)

Created:
10 years, 3 months ago by Paul Stewart
Modified:
9 years, 7 months ago
Reviewers:
zbehan, Daniel Kurtz
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, anush, sosa
Base URL:
ssh://gitrw.chromium.org/crosutils.git
Visibility:
Public.

Description

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

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -3 lines) Patch
M bin/cros_run_wifi_tests.sh View 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Paul Stewart
10 years, 3 months ago (2010-09-17 20:29:37 UTC) #1
zbehan
Just a FYI: for run_remote_tests.sh, the -a and --args exist and do the same thing, ...
10 years, 3 months ago (2010-09-17 20:48:50 UTC) #2
Paul Stewart
Thanks for the feedback. I'll probably keep both of those bits the same because: * ...
10 years, 3 months ago (2010-09-17 23:07:38 UTC) #3
Paul Stewart
10 years, 3 months ago (2010-09-17 23:07:41 UTC) #4
Thanks for the feedback.  I'll probably keep both of those bits the same
because:

  * The --args is more clear as to its purpose and is more consistent with the
other flags
  * The append_ function might be wordy but it avoids having a leading
delimiter.  In the specific case of the "--args" parameter, I need to quote the
arg (since there are necessarily spaces in there) so leading spaces won't be
swallowed by the shell.  Who knows what leading spaces does to
run_remote_tests/autotest.  And of course, that could change. :-)

Powered by Google App Engine
This is Rietveld 408576698