WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
198662
webkitpy: Support reporting results for uncommon test configurations
https://bugs.webkit.org/show_bug.cgi?id=198662
Summary
webkitpy: Support reporting results for uncommon test configurations
Jonathan Bedard
Reported
2019-06-07 09:23:09 PDT
It's possible to run layout tests is a variety of exotic ways. Rather than try and categorize each method as a separate style (as we have done for GuardMalloc and ASan), we should just allow buildbot to specifically override the default 'flavor' of a test result, since the 'flavor' option was designed for exactly such exotic configurations.
Attachments
Patch
(3.87 KB, patch)
2019-06-07 10:30 PDT
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch
(4.36 KB, patch)
2019-06-07 13:43 PDT
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch
(3.94 KB, patch)
2019-06-07 14:41 PDT
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-06-07 09:24:31 PDT
<
rdar://problem/51524128
>
Jonathan Bedard
Comment 2
2019-06-07 10:30:16 PDT
Created
attachment 371593
[details]
Patch
Jonathan Bedard
Comment 3
2019-06-07 13:43:22 PDT
Created
attachment 371607
[details]
Patch
Aakash Jain
Comment 4
2019-06-07 14:28:23 PDT
Comment on
attachment 371607
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=371607&action=review
> Tools/ChangeLog:3 > + webkitpy: Support reporting results for exotic test configurations
exotic or uncommon/rare?
> Tools/Scripts/webkitpy/layout_tests/controllers/manager.py:271 > + if not configuration.get('flavor', None): # The --result-report-flavor argument should override wk1/wk2
flavor or result-report-flavor? does this file already have concept of flavour? What does that do?
> Tools/Scripts/webkitpy/test/main.py:281 > + print json.dumps(upload.configuration)
Is this for debugging or for production?
Jonathan Bedard
Comment 5
2019-06-07 14:37:52 PDT
Comment on
attachment 371607
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=371607&action=review
>> Tools/Scripts/webkitpy/layout_tests/controllers/manager.py:271 >> + if not configuration.get('flavor', None): # The --result-report-flavor argument should override wk1/wk2 > > flavor or result-report-flavor? > > does this file already have concept of flavour? What does that do?
Here, flavor is correct because we're updating the upload configuration dictionary. Layout tests already use this key to differentiate wk1 and wk2. More generally, the 'flavor' option is used as a wild-card key to distinguish testing configurations that don't fit into other more structured configuration options (like platform, style, model, ect.)
Jonathan Bedard
Comment 6
2019-06-07 14:41:01 PDT
Created
attachment 371611
[details]
Patch
WebKit Commit Bot
Comment 7
2019-06-07 15:50:16 PDT
Comment on
attachment 371611
[details]
Patch Clearing flags on attachment: 371611 Committed
r246221
: <
https://trac.webkit.org/changeset/246221
>
WebKit Commit Bot
Comment 8
2019-06-07 15:50:18 PDT
All reviewed patches have been landed. Closing bug.
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