Closed
Bug 1459311
Opened 6 years ago
Closed 6 years ago
Don't put source files which are completely uncovered in the per-test reports
Categories
(Testing :: Code Coverage, enhancement)
Testing
Code Coverage
Tracking
(firefox62 fixed)
RESOLVED
FIXED
mozilla62
Tracking | Status | |
---|---|---|
firefox62 | --- | fixed |
People
(Reporter: marco, Assigned: marco)
Details
Attachments
(1 file)
3.18 KB,
patch
|
jmaher
:
review+
sparky
:
review+
|
Details | Diff | Splinter Review |
In per-test reports, we only want to know about covered files. Removing uncovered files will make the reports way smaller (especially after bug 1455401).
Assignee | ||
Comment 1•6 years ago
|
||
Assignee: nobody → mcastelluccio
Status: NEW → ASSIGNED
Attachment #8973369 -
Flags: review?(jmaher)
Attachment #8973369 -
Flags: review?(gmierz2)
Comment 2•6 years ago
|
||
Comment on attachment 8973369 [details] [diff] [review] Patch Review of attachment 8973369 [details] [diff] [review]: ----------------------------------------------------------------- ::: testing/mozharness/mozharness/mozilla/testing/codecoverage.py @@ -310,4 @@ > with open(grcov_file, 'w') as f: > json.dump({ > 'test': test, > - 'suite': suite, why did you remove 'suite' ?
Attachment #8973369 -
Flags: review?(jmaher) → review+
Comment 3•6 years ago
|
||
Comment on attachment 8973369 [details] [diff] [review] Patch Review of attachment 8973369 [details] [diff] [review]: ----------------------------------------------------------------- This looks good to me. But one thing I am wondering is if this could affect the UIs at all, considering that they look at uncovered lines in files? I am also wondering about the same thing :jmaher asked. I think the suite can be useful information to know, and it doesn't really add anything to the overall space.
Attachment #8973369 -
Flags: review?(gmierz2) → review+
Comment 4•6 years ago
|
||
:marco, would you have a try run with these changes running in it?
Assignee | ||
Comment 5•6 years ago
|
||
(In reply to Greg Mierzwinski [:sparky] from comment #3) > This looks good to me. But one thing I am wondering is if this could affect > the UIs at all, considering that they look at uncovered lines in files? It shouldn't affect the UIs, this will just mean that some files will be missing in ActiveData (files that are completely uncovered) for some tests. > I am also wondering about the same thing :jmaher asked. I think the suite > can be useful information to know, and it doesn't really add anything to the > overall space. Yeah I don't know why I removed it, I agree it should be there. (In reply to Greg Mierzwinski [:sparky] from comment #4) > :marco, would you have a try run with these changes running in it? Here it is: https://treeherder.mozilla.org/#/jobs?repo=try&revision=72d244adca41ebba94c8239cb4b9febc2e9eaa2e.
Comment 6•6 years ago
|
||
:marco, thanks for the link everything looks good to go. Artifacts look like they have decreased in size now too
Pushed by mcastelluccio@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/00630f737536 Remove completely uncovered files from per-test reports. r=jmaher,sparky
Comment 8•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/00630f737536
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Updated•6 years ago
|
Target Milestone: mozilla61 → mozilla62
You need to log in
before you can comment on or make changes to this bug.
Description
•