WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 37408
Break new-run-webkit-tests options into groups for easier re-use and possible relocation
https://bugs.webkit.org/show_bug.cgi?id=37408
Summary
Break new-run-webkit-tests options into groups for easier re-use and possible...
Eric Seidel (no email)
Reported
2010-04-11 01:15:56 PDT
Break new-run-webkit-tests options into groups for easier re-use and possible relocation
Attachments
Patch
(17.92 KB, patch)
2010-04-11 01:22 PDT
,
Eric Seidel (no email)
no flags
Details
Formatted Diff
Diff
Patch for landing
(20.12 KB, patch)
2010-04-11 19:04 PDT
,
Eric Seidel (no email)
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Eric Seidel (no email)
Comment 1
2010-04-11 01:22:47 PDT
Created
attachment 53081
[details]
Patch
Eric Seidel (no email)
Comment 2
2010-04-11 01:24:13 PDT
One of the mild inconsistencies in this code currently is punctuation and capitalization of option help strings.
Mark Rowe (bdash)
Comment 3
2010-04-11 02:14:26 PDT
Any chance that the misspelling of “deprecated" can be fixed while you’re touching it?
Adam Barth
Comment 4
2010-04-11 08:51:09 PDT
Comment on
attachment 53081
[details]
Patch Ok. Please fix the spelling error that Mark pointed out. Also configuration_options seems to occur twice. Can we start by sharing that?
Dirk Pranke
Comment 5
2010-04-11 11:41:13 PDT
Comment on
attachment 53081
[details]
Patch Personally, I prefer options lists to be alphabetized, especially for the short flags, but I can see what you're trying to do. Can you maybe at least alphabetize in each group? Down the road it might be good to have the groups share common prefixes in the long flags, to make this clearer. Also, if you are really brave, it was part of my original intent to pull some options from the port object itself so, for example, Chromium-specific flags would live in chromium.py, and not clutter up the main code. This would require you to parse the flags in two passes, the first to figure out which port to run, and then second to re-parse the flags with the generic list plus a list pulled from the port. This would also address port-specific default values more cleanly.
Eric Seidel (no email)
Comment 6
2010-04-11 11:50:10 PDT
I agree we should move the options to chromium.py. I don't think we should parse in two passes, as they would be hidden from the main help. I think we just want to list the Chromium-only and Mac-only and Qt-only, etc. options separately in the main help.
Eric Seidel (no email)
Comment 7
2010-04-11 11:50:38 PDT
I've gone through and commented in each group about the options missing from new-run-webkit-tests vs. old-run-webkit-tests.
Eric Seidel (no email)
Comment 8
2010-04-11 19:04:06 PDT
Created
attachment 53125
[details]
Patch for landing
WebKit Commit Bot
Comment 9
2010-04-11 19:16:51 PDT
Comment on
attachment 53125
[details]
Patch for landing Clearing flags on attachment: 53125 Committed
r57463
: <
http://trac.webkit.org/changeset/57463
>
WebKit Commit Bot
Comment 10
2010-04-11 19:16:57 PDT
All reviewed patches have been landed. Closing bug.
Dirk Pranke
Comment 11
2010-04-12 16:39:28 PDT
Um, this wasn't anywhere near formatted for 80-columns. Assuming this was a mistake, please be more careful next time.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug