haikuwebkit/Tools/Scripts/webkitpy/layout_tests/controllers
Jon Lee 5a30917057 Teach run-webkit-tests to print a summary of test status
https://bugs.webkit.org/show_bug.cgi?id=200556

Reviewed by Simon Fraser.

Add a new option to print a summary listing test expectation health.
It uses the same expected results as --print-expectations.

To run it: run-webkit-tests --print-summary

You can pass the same arguments as normal run-webkit-tests and it will
return stats based on the tests collected.

It also outputs a .csv file with the data.

* Scripts/webkitpy/layout_tests/controllers/manager.py:
(Manager.print_expectations): Gather the tests. Note whether the test
is marked as skip, pass, flaky, or fail, the definitions of which are
dictated by model.get_tests_with_result_type(). Output the results to
command line as well as to file.
* Scripts/webkitpy/layout_tests/run_webkit_tests.py: Add the new option.
It goes through the same path as --print-expectations.


Canonical link: https://commits.webkit.org/240757@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281340 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-20 21:57:40 +00:00
..
__init__.py
layout_test_finder.py
layout_test_finder_unittest.py
layout_test_runner.py
layout_test_runner_unittest.py
manager.py Teach run-webkit-tests to print a summary of test status 2021-08-20 21:57:40 +00:00
manager_unittest.py
single_test_runner.py Remove all WTR output before Content-Type:text/plain for WebRTC tests in case of known excessive logging 2021-08-20 07:50:20 +00:00
test_result_writer.py
test_result_writer_unittest.py