Bug 1832059 - Modify ScriptInfo to handle mochitest html files. r=perftest-reviewers...
commitedbd58c8714afdc81165b72e314a71fc249dfa5f
authorGreg Mierzwinski <gmierz2@outlook.com>
Tue, 24 Oct 2023 13:05:48 +0000 (24 13:05 +0000)
committerGreg Mierzwinski <gmierz2@outlook.com>
Tue, 24 Oct 2023 13:05:48 +0000 (24 13:05 +0000)
tree059ca437d2f2d65631f2546b0109d22df4defad8
parente5a7bc61d4848c78a49cf4f64b3ecee51eed4086
Bug 1832059 - Modify ScriptInfo to handle mochitest html files. r=perftest-reviewers,AlexandruIonescu

This patch adds the ability to parse HTML files (mochitest test files) to ScriptInfo. This makes it possible to parse the `perfMetadata` from the mochitest tests which will provide mozperftest with default options, and metadata for our performance docs.

Differential Revision: https://phabricator.services.mozilla.com/D190990
python/mozperftest/mozperftest/script.py
python/mozperftest/mozperftest/tests/data/samples/test_mochitest.html [new file with mode: 0644]
python/mozperftest/mozperftest/tests/data/samples/test_mochitest_multiscript.html [new file with mode: 0644]
python/mozperftest/mozperftest/tests/support.py
python/mozperftest/mozperftest/tests/test_script.py