Open
Bug 1865861
Opened 1 year ago
Updated 1 year ago
Allow using PERFTESTS_MANIFESTS to define mozperftest tests in mochitest
Categories
(Testing :: mozperftest, defect, P2)
Testing
mozperftest
Tracking
(Not tracked)
NEW
People
(Reporter: sparky, Unassigned)
References
Details
(Whiteboard: [fxp])
Currently, if you try to add a perftest to PERFTESTS_MANIFESTS
for mochitest, you'll hit an error from mach test
that prevents us from using this variable. Instead, we need to add them to the mochitest manifest variable like so (depending on the flavour - this is for mochitest-plain):
MOCHITEST_MANIFESTS += [
"test/performance/perftest.toml",
]
This is the error we get when we try to use PERFTESTS_MANIFESTS
:
$ ./mach perftest dom/serviceworkers/test/performance/test_fetch.html
Good job! Best selection.
dom/serviceworkers/test/performance/test_fetch.html
0:00.64 Running profile:run
0:00.64 Created profile at /tmp/tmpf5fjh8ko.mozrunner
0:00.64 Running mochitest:run
Test configuration changed. Regenerating backend.
I know you are trying to run a perftest test. Unfortunately, I can't run those
tests yet. Sorry!
Updated•1 year ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•