WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
217390
Refactor TestOptions code in WebKitTestRunner to make it easier to rationalize and extend
https://bugs.webkit.org/show_bug.cgi?id=217390
Summary
Refactor TestOptions code in WebKitTestRunner to make it easier to rationaliz...
Sam Weinig
Reported
2020-10-06 09:44:39 PDT
Refactor TestOptions code in WebKitTestRunner to make it easier to rationalize and extend
Attachments
Patch
(98.59 KB, patch)
2020-10-06 09:52 PDT
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(99.39 KB, patch)
2020-10-06 20:41 PDT
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Path
(99.39 KB, patch)
2020-10-07 15:17 PDT
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(103.19 KB, patch)
2020-10-08 09:04 PDT
,
Sam Weinig
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Patch
(104.71 KB, patch)
2020-10-08 12:40 PDT
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(104.12 KB, patch)
2020-10-08 17:05 PDT
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2020-10-06 09:52:05 PDT
Created
attachment 410649
[details]
Patch
Darin Adler
Comment 2
2020-10-06 18:09:21 PDT
Comment on
attachment 410649
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=410649&action=review
I approve the idea of using the standard library in our test tools. However I don’t know what specifically motivates doing more of that here while still having so much code using WTF.
> Tools/WebKitTestRunner/Options.cpp:116 > +static bool parseFeature(String featureString, std::unordered_map<std::string, bool>& features)
Funny that this takes String, not StringView or const String&
> Tools/WebKitTestRunner/TestOptions.cpp:101 > +enum class KeyType {
Perhaps : uint8_t?
Sam Weinig
Comment 3
2020-10-06 20:40:59 PDT
(In reply to Darin Adler from
comment #2
)
> Comment on
attachment 410649
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=410649&action=review
> > I approve the idea of using the standard library in our test tools. However > I don’t know what specifically motivates doing more of that here while still > having so much code using WTF.
I'm mostly trying to ween WebKitTestRunner off of WTF where there are stdlib equivalents we can use, but I haven't been super consistent. Going to do another pass where I do just that.
> > > Tools/WebKitTestRunner/Options.cpp:116 > > +static bool parseFeature(String featureString, std::unordered_map<std::string, bool>& features) > > Funny that this takes String, not StringView or const String&
I made it take std::string_view :).
> > > Tools/WebKitTestRunner/TestOptions.cpp:101 > > +enum class KeyType { > > Perhaps : uint8_t?
Done.
Sam Weinig
Comment 4
2020-10-06 20:41:11 PDT
Created
attachment 410730
[details]
Patch
EWS
Comment 5
2020-10-06 21:20:24 PDT
Committed
r268115
: <
https://trac.webkit.org/changeset/268115
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 410730
[details]
.
Radar WebKit Bug Importer
Comment 6
2020-10-06 21:21:19 PDT
<
rdar://problem/70031230
>
Karl Rackler
Comment 7
2020-10-07 13:10:31 PDT
Reverted
r268115
for reason: This reverts commit
r268115
while investigating ews test failure. Committed
r268143
: <
https://trac.webkit.org/changeset/268143
>
Sam Weinig
Comment 8
2020-10-07 15:17:28 PDT
Created
attachment 410790
[details]
Path
Sam Weinig
Comment 9
2020-10-08 09:04:04 PDT
Created
attachment 410848
[details]
Patch
Sam Weinig
Comment 10
2020-10-08 10:54:45 PDT
I do not understand this iOS-WebKit2 failure. What in my change is affecting anti-aliasing results?
Sam Weinig
Comment 11
2020-10-08 12:40:21 PDT
Created
attachment 410872
[details]
Patch
EWS
Comment 12
2020-10-08 15:35:38 PDT
Tools/Scripts/svn-apply failed to apply
attachment 410872
[details]
to trunk. Please resolve the conflicts and upload a new patch.
Sam Weinig
Comment 13
2020-10-08 17:05:21 PDT
Created
attachment 410896
[details]
Patch
EWS
Comment 14
2020-10-08 17:45:34 PDT
Committed
r268238
: <
https://trac.webkit.org/changeset/268238
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 410896
[details]
.
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