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 226344
[run-webkit-tests] Move helper out of Port instance
https://bugs.webkit.org/show_bug.cgi?id=226344
Summary
[run-webkit-tests] Move helper out of Port instance
Jonathan Bedard
Reported
2021-05-27 10:34:40 PDT
Associating the helper process with Port instances doesn't make sense, since there should only ever be a single helper process, and that process should only be managed by the parent process of run-webkit-tests.
Attachments
Patch
(3.92 KB, patch)
2021-05-27 10:37 PDT
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch
(4.29 KB, patch)
2021-05-27 16:37 PDT
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch
(4.37 KB, patch)
2021-05-27 16:39 PDT
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch
(5.27 KB, patch)
2021-06-01 11:48 PDT
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch
(5.64 KB, patch)
2021-06-01 15:42 PDT
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-05-27 10:34:59 PDT
<
rdar://problem/78575542
>
Jonathan Bedard
Comment 2
2021-05-27 10:37:22 PDT
Created
attachment 429900
[details]
Patch
dewei_zhu
Comment 3
2021-05-27 15:52:15 PDT
Comment on
attachment 429900
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=429900&action=review
> Tools/Scripts/webkitpy/port/base.py:963 > it isn't, or it isn't available. If a port overrides start_helper() > it must override this routine as well."""
We may want to update the comment here because MacPort does not overwrite this routine.
> Tools/Scripts/webkitpy/port/base.py:964 > + if Port.helper:
Do we want this to be 'self.helper', otherwise, MacPort.stop_helper() will do nothing.
Jonathan Bedard
Comment 4
2021-05-27 16:37:42 PDT
Created
attachment 429953
[details]
Patch
Jonathan Bedard
Comment 5
2021-05-27 16:39:55 PDT
Created
attachment 429954
[details]
Patch
Jonathan Bedard
Comment 6
2021-06-01 11:48:45 PDT
Created
attachment 430280
[details]
Patch
dewei_zhu
Comment 7
2021-06-01 15:20:25 PDT
Comment on
attachment 430280
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=430280&action=review
r=me with comment.
> Tools/ChangeLog:12 > + (Port.stop_helper): All classes should share the same code to stop the helper process.
Might worth mentioning we are doing this because popen object is not pickleable.
Jonathan Bedard
Comment 8
2021-06-01 15:42:54 PDT
Created
attachment 430300
[details]
Patch
EWS
Comment 9
2021-06-01 16:23:28 PDT
Committed
r278332
(
238365@main
): <
https://commits.webkit.org/238365@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 430300
[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