Closed Bug 1164967 Opened 9 years ago Closed 9 years ago

Turn on code coverage for known "cc" platforms (linux64-cc)

Categories

(Release Engineering :: Applications: MozharnessCore, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ahal, Assigned: ahal)

References

Details

Attachments

(1 file, 1 obsolete file)

It turns out passing in an argument to every unittest job on a given builder is actually quite complicated. I'm just going to compare the stage_platform buildbot property to a list of known platforms that should have code coverage enabled. This is slightly hacky, but easy to do (and otherwise code coverage would block indefinitely yet again).
Summary: Turn on code coverage → Turn on code coverage for known "cc" platforms (linux64-cc)
Attached file MozReview Request: bz://1164967/ahal (obsolete) (deleted) —
/r/8819 - Bug 1164967 - Enable code coverage for all unittests running on the linux64-cc platform, r=jgriffin

Pull down this commit:

hg pull -r fffcb0785ca52d5320ff9c0df4c0d4c2bbd5abb4 https://reviewboard-hg.mozilla.org/build-mozharness
Attachment #8606273 - Flags: review?(jgriffin)
Comment on attachment 8606273 [details]
MozReview Request: bz://1164967/ahal

https://reviewboard.mozilla.org/r/8817/#review7517

lgtm!
Attachment #8606273 - Flags: review?(jgriffin) → review+
Comment on attachment 8606273 [details]
MozReview Request: bz://1164967/ahal

https://hg.mozilla.org/build/mozharness/rev/5169f4f6b80f
Attachment #8606273 - Flags: checked-in+
Checking for the code coverage platforms can also raise TypeError if self.buildbot_configs is None. This doesn't seem to happen in automation, but a developer hit it while running mozharness locally, so landed a minor follow-up fix:
https://hg.mozilla.org/build/mozharness/rev/5d3fd29f9793
Mozharness version bump was recently landed on central.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Attachment #8606273 - Attachment is obsolete: true
Attachment #8620300 - Flags: review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: