WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
204252
Python 3: Support run-api-tests
https://bugs.webkit.org/show_bug.cgi?id=204252
Summary
Python 3: Support run-api-tests
Jonathan Bedard
Reported
2019-11-15 15:02:14 PST
run-api-tests should work with Python 3
Attachments
Patch
(12.09 KB, patch)
2019-11-18 14:13 PST
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch for landing
(12.17 KB, patch)
2019-11-18 17:22 PST
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Jonathan Bedard
Comment 1
2019-11-18 14:13:37 PST
Created
attachment 383789
[details]
Patch
Dean Johnson
Comment 2
2019-11-18 16:44:11 PST
Comment on
attachment 383789
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=383789&action=review
Looks good to me; unofficial r+.
> Tools/Scripts/webkitpy/api_tests/manager.py:185 > + test_names = [test for test in test_names for _ in range(self._options.repeat_each)]
Long-standing bug here that this can blow up with a pretty high repeat_each count. Since test_names is stored as a list though, it shouldn't be any different than it was before.
Aakash Jain
Comment 3
2019-11-18 16:45:20 PST
rs=me
Jonathan Bedard
Comment 4
2019-11-18 17:11:48 PST
Comment on
attachment 383789
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=383789&action=review
>> Tools/Scripts/webkitpy/api_tests/manager.py:185 >> + test_names = [test for test in test_names for _ in range(self._options.repeat_each)] > > Long-standing bug here that this can blow up with a pretty high repeat_each count. Since test_names is stored as a list though, it shouldn't be any different than it was before.
True, but if it does blow up, we wouldn't be able to store the results from the run in RAM anyways, so not sure how useful they would be.
Jonathan Bedard
Comment 5
2019-11-18 17:22:59 PST
Created
attachment 383814
[details]
Patch for landing
WebKit Commit Bot
Comment 6
2019-11-18 17:51:25 PST
Comment on
attachment 383814
[details]
Patch for landing Clearing flags on attachment: 383814 Committed
r252616
: <
https://trac.webkit.org/changeset/252616
>
WebKit Commit Bot
Comment 7
2019-11-18 17:51:26 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8
2019-11-18 17:52:17 PST
<
rdar://problem/57306597
>
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