Bug 1808747 - Add python test support class scripts to raptor. r=perftest-reviewers...
commitc83c8037b132ab71ec1fbd799325007eaa7c8e85
authorGreg Mierzwinski <gmierz2@outlook.com>
Tue, 18 Apr 2023 11:46:37 +0000 (18 11:46 +0000)
committerGreg Mierzwinski <gmierz2@outlook.com>
Tue, 18 Apr 2023 11:46:37 +0000 (18 11:46 +0000)
tree15d5963dda4f46e4cd44b448645994613d1a5226
parent03266532293431080cc33d411c7d811d4c3b205e
Bug 1808747 - Add python test support class scripts to raptor. r=perftest-reviewers,afinder

This patch adds python support classes for tests. With them, we'll be able to customize the results, and output parsing better, and with less impact on other existing tests. The first method available allows a test author to modify the command before the test runs. A sample test is also added to show how it all works. No CI tests will be added for it.

Differential Revision: https://phabricator.services.mozilla.com/D173870
testing/perfdocs/generated/raptor.rst
testing/raptor/browsertime/support-scripts/sample_python_support.py [new file with mode: 0644]
testing/raptor/raptor/browsertime/base.py
testing/raptor/raptor/manifest.py
testing/raptor/raptor/perfdocs/config.yml
testing/raptor/raptor/raptor.ini
testing/raptor/raptor/tests/custom/browsertime-sample-python-support.ini [new file with mode: 0644]
testing/raptor/raptor/utils.py