-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[webkitcorepy] Add generic test runner #15243
[webkitcorepy] Add generic test runner #15243
Conversation
EWS run on previous version of this PR (hash 4d06808) |
4d06808
to
576b630
Compare
EWS run on previous version of this PR (hash 576b630) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rs=me
576b630
to
157843d
Compare
EWS run on current version of this PR (hash 157843d) |
https://bugs.webkit.org/show_bug.cgi?id=258464 rdar://111220802 Reviewed by Aakash Jain. * Tools/Scripts/libraries/webkitcorepy/run-tests: Added. * Tools/Scripts/libraries/webkitcorepy/setup.py: Bump version. * Tools/Scripts/libraries/webkitcorepy/webkitcorepy/__init__.py: Ditto. * Tools/Scripts/libraries/webkitcorepy/webkitcorepy/terminal.py: (Terminal.size): Compute size of current terminal. * Tools/Scripts/libraries/webkitcorepy/webkitcorepy/testing/__init__.py: Added. * Tools/Scripts/libraries/webkitcorepy/webkitcorepy/testing/path_test_case.py: Renamed from Tools/Scripts/libraries/webkitcorepy/webkitcorepy/testing.py. * Tools/Scripts/libraries/webkitcorepy/webkitcorepy/testing/python_test_runner.py: Added. (PythonTestRunner.recurse): List all tests in a suite. (PythonTestRunner.__init__): Discover all tests in provided modules. (PythonTestRunner.tests): List all tests to be run, given a set of arguments. (PythonTestRunner.run_test): Attempt to run a test with a name. (PythonTestRunner.id): Convert a test to a name. (PythonTestRunner.run): Trigger autoinstall before running tests. * Tools/Scripts/libraries/webkitcorepy/webkitcorepy/testing/test_runner.py: Added. (TestRunner.combine): Combine two test result objects. (TestRunner.__init__): (TestRunner.tests): Subclass to implement. (TestRunner.run_test): Ditto. (TestRunner.id): Pass-through unless subclass implements. (TestRunner.run): Run all tests. (TestRunner.main): Parse arguments and run tests. Canonical link: https://commits.webkit.org/265519@main
157843d
to
41ea5f4
Compare
Committed 265519@main (41ea5f4): https://commits.webkit.org/265519@main Reviewed commits have been landed. Closing PR #15243 and removing active labels. |
41ea5f4
157843d
π§ͺ wpe-wk2π§ͺ ios-wk2π§ͺ api-macπ§ͺ ios-wk2-wptπ§ͺ mac-wk1π§ͺ gtk-wk2π§ͺ api-iosπ§ͺ mac-wk2π§ͺ api-gtkπ tvπ§ͺ mac-AS-debug-wk2π watch-sim