Code coverage not being recorded for the maintenance service
Categories
(Toolkit :: Application Update, task, P3)
Tracking
()
People
(Reporter: molly, Unassigned)
Details
According to our code coverage reporting, no coverage data has been collected from the maintenance service when running as a service [1], even though it should be getting built with the required instrumentation, and we do have XPCShell tests which exercise it.
Without really knowing myself how this works, our theory is that some necessary configuration is not making its way into the service context, so the counters aren't being written to anywhere that they can be found. This would certainly happen if that configuration were in the form of environment variables; in that case some alternate means of conveying that information to the service would have to be found.
[1] The bit of covered code which is visible there is due to this test, which executes the maintenance service binary directly instead of running it as a service.
Description
•