WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
250398
Unable to reset messages.py unit test results
https://bugs.webkit.org/show_bug.cgi?id=250398
Summary
Unable to reset messages.py unit test results
David Kilzer (:ddkilzer)
Reported
2023-01-10 11:06:52 PST
I am currently unable to reset messages.py unit test results. $ xcrun python3 Source/WebKit/Scripts/webkit/messages_unittest.py -r Traceback (most recent call last): File "Source/WebKit/Scripts/webkit/messages_unittest.py", line 145, in <module> add_reset_results_to_unittest_help() File "Source/WebKit/Scripts/webkit/messages_unittest.py", line 121, in add_reset_results_to_unittest_help lines = unittest.TestProgram.USAGE.splitlines(True) AttributeError: type object 'TestProgram' has no attribute 'USAGE' $ I'm not sure when this started failing--maybe after the Python3 update?
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-01-10 11:07:10 PST
<
rdar://problem/104085791
>
David Kilzer (:ddkilzer)
Comment 2
2023-01-10 11:10:09 PST
LOL...I have only myself to blame:
Bug 171627
: messages_unittest.py should support a [-r|--reset-results] switch <
https://bugs.webkit.org/show_bug.cgi?id=171627
>
Radar WebKit Bug Importer
Comment 3
2023-01-10 11:10:20 PST
<
rdar://problem/104085961
>
David Kilzer (:ddkilzer)
Comment 4
2023-01-10 11:11:14 PST
<
rdar://problem/104085791
>
David Kilzer (:ddkilzer)
Comment 5
2023-01-10 12:30:37 PST
Pull request:
https://github.com/WebKit/WebKit/pull/8477
EWS
Comment 6
2023-01-10 15:40:26 PST
Committed
258748@main
(639329ca6b9a): <
https://commits.webkit.org/258748@main
> Reviewed commits have been landed. Closing PR #8477 and removing active labels.
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