Closed
Bug 1301981
Opened 8 years ago
Closed 8 years ago
Add devtools code coverage collection to linux64-jsdcov.
Categories
(Testing :: Code Coverage, defect)
Testing
Code Coverage
Tracking
(firefox52 fixed)
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: sparky, Assigned: sparky)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
This should be done in the same way as mochitest-bc and a new flavor will have to created to enable the code coverage collection, something similar to "browser-chrome-coverage".
Comment hidden (mozreview-request) |
Assignee | ||
Comment 2•8 years ago
|
||
Here's an example run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=2b3dd21d8f64f0cf33c2f3088d5ad2455eb025b6
Updated•8 years ago
|
Attachment #8806478 -
Flags: review?(cmanchester) → review?(jmaher)
Comment 3•8 years ago
|
||
Patch looks ok to me, but there may be some subtleties to the taskcluster stuff I wouldn't catch, so let's have Joel sign off on it as well.
Updated•8 years ago
|
Assignee: nobody → gmierz2
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Comment 4•8 years ago
|
||
mozreview-review |
Comment on attachment 8806478 [details] Bug 1301981 - Add devtools test task definition to linux64-jsdcov. https://reviewboard.mozilla.org/r/89862/#review90110 ::: testing/mozharness/configs/unittests/linux_unittest.py:197 (Diff revision 1) > "browser-chrome-coverage": ["--flavor=browser", "--chunk-by-runtime", "--timeout=1200"], > "browser-chrome-screenshots": ["--flavor=browser", "--subsuite=screenshots"], > "mochitest-gl": ["--subsuite=webgl"], > "mochitest-devtools-chrome": ["--flavor=browser", "--subsuite=devtools"], > "mochitest-devtools-chrome-chunked": ["--flavor=browser", "--subsuite=devtools", "--chunk-by-runtime"], > + "mochitest-devtools-chrome-coverage": ["--flavor=browser", "--subsuite=devtools", "--chunk-by-runtime", "--timeout=1200"], do we need some other flags here to run jsdcoverage?
Assignee | ||
Comment 5•8 years ago
|
||
mozreview-review-reply |
Comment on attachment 8806478 [details] Bug 1301981 - Add devtools test task definition to linux64-jsdcov. https://reviewboard.mozilla.org/r/89862/#review90110 > do we need some other flags here to run jsdcoverage? This part only changes some run options like the extra timeout. In the other modified file, this new flavor is used to determine whether or not code coverage should be turned on. If you take a look at the treeherder link I posted in the bug, it has an example run which generates the code coverage.
Comment 6•8 years ago
|
||
mozreview-review |
Comment on attachment 8806478 [details] Bug 1301981 - Add devtools test task definition to linux64-jsdcov. https://reviewboard.mozilla.org/r/89862/#review90192
Attachment #8806478 -
Flags: review?(jmaher) → review+
Pushed by jmaher@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a195a9d6e901 Add devtools test task definition to linux64-jsdcov. r=jmaher
Comment 8•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a195a9d6e901
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in
before you can comment on or make changes to this bug.
Description
•