WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
Bug 205214
Add an option to run_webkit_tests.py to enable all GPU process related features and choose the additional expectations
https://bugs.webkit.org/show_bug.cgi?id=205214
Summary
Add an option to run_webkit_tests.py to enable all GPU process related featur...
Peng Liu
Reported
2019-12-13 11:55:04 PST
Add an option to run_webkit_tests.py to enable all GPU process related features and choose the additional expectations
Attachments
WIP
(2.52 KB, patch)
2019-12-13 12:06 PST
,
Peng Liu
no flags
Details
Formatted Diff
Diff
Patch
(2.78 KB, patch)
2019-12-13 13:13 PST
,
Peng Liu
thorton
: review+
Details
Formatted Diff
Diff
Patch
(2.67 KB, patch)
2019-12-13 13:37 PST
,
Peng Liu
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-12-13 11:57:20 PST
<
rdar://problem/57920116
>
Jonathan Bedard
Comment 2
2019-12-13 11:57:58 PST
This option should also set the flavor of the result upload.
Peng Liu
Comment 3
2019-12-13 12:06:20 PST
Created
attachment 385628
[details]
WIP
Jonathan Bedard
Comment 4
2019-12-13 12:11:49 PST
Comment on
attachment 385628
[details]
WIP View in context:
https://bugs.webkit.org/attachment.cgi?id=385628&action=review
> Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py:379 > + options.internal_feature.append('CaptureAudioInGPUProcessEnabled')
Actually, we're only missing result-report-flavor....just adding: if options.result_report_flavor: raise RuntimeError('--gpu-process-features implicitly sets the result flavor, this should not be overridden') options.result_report_flavor = 'gpuprocess'
Tim Horton
Comment 5
2019-12-13 12:16:07 PST
Comment on
attachment 385628
[details]
WIP View in context:
https://bugs.webkit.org/attachment.cgi?id=385628&action=review
> Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py:328 > + "--gpu-process-features", action="store_true", default=False,
IMO "--use-gpu-process"
Peng Liu
Comment 6
2019-12-13 13:13:26 PST
Created
attachment 385636
[details]
Patch
Peng Liu
Comment 7
2019-12-13 13:15:18 PST
Comment on
attachment 385628
[details]
WIP View in context:
https://bugs.webkit.org/attachment.cgi?id=385628&action=review
>> Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py:328 >> + "--gpu-process-features", action="store_true", default=False, > > IMO "--use-gpu-process"
Fixed.
>> Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py:379 >> + options.internal_feature.append('CaptureAudioInGPUProcessEnabled') > > Actually, we're only missing result-report-flavor....just adding: > > if options.result_report_flavor: > raise RuntimeError('--gpu-process-features implicitly sets the result flavor, this should not be overridden') > options.result_report_flavor = 'gpuprocess'
Got it, thanks!
Tim Horton
Comment 8
2019-12-13 13:28:43 PST
Comment on
attachment 385636
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=385636&action=review
> Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py:329 > + help=("Enable all GPU process related features. Equivalent to '--internal-feature=useGPUProcessForMedia --internal-feature=CaptureAudioInGPUProcessEnabled --additional-expectations=LayoutTests/gpu-process/TestExpectations'")),
I wonder if we should avoid listing the --internal-features in the help here, because people are going to change the set, and probably not change this list. ALSO, you still have a lower-case u in "useGPUProcessForMedia" here.
Peng Liu
Comment 9
2019-12-13 13:37:53 PST
Created
attachment 385638
[details]
Patch
Peng Liu
Comment 10
2019-12-13 13:38:43 PST
Comment on
attachment 385636
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=385636&action=review
>> Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py:329 >> + help=("Enable all GPU process related features. Equivalent to '--internal-feature=useGPUProcessForMedia --internal-feature=CaptureAudioInGPUProcessEnabled --additional-expectations=LayoutTests/gpu-process/TestExpectations'")), > > I wonder if we should avoid listing the --internal-features in the help here, because people are going to change the set, and probably not change this list. ALSO, you still have a lower-case u in "useGPUProcessForMedia" here.
Right!
WebKit Commit Bot
Comment 11
2019-12-13 17:20:55 PST
Comment on
attachment 385638
[details]
Patch Clearing flags on attachment: 385638 Committed
r253512
: <
https://trac.webkit.org/changeset/253512
>
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