Open Bug 1583073 Opened 5 years ago Updated 4 years ago

Manifests included in root manifest despite not being referenced anywhere

Categories

(Testing :: XPCShell Harness, defect, P3)

Version 3
defect

Tracking

(Not tracked)

People

(Reporter: darktrojan, Unassigned)

Details

I'm trying to debug mach xpcshell-test complaining about .ini files that don't exist. They don't exist because I'm building in artifact mode. (This could be the cause, but I can't see how.)

I've noticed that these three lines keep appearing in objdir/_tests/xpcshell/xpcshell.ini, even with all references to them removed from moz.build files and the source files themselves removed:

[include:modules/libmar/tests/unit/xpcshell.ini]
[include:toolkit/crashreporter/test/unit/xpcshell-phc.ini]
[include:toolkit/crashreporter/test/unit_ipc/xpcshell-phc.ini]

Where are they coming from, and why?

With a non-artifact, desktop firefox build, I deleted the libmar xpcshell reference at:

https://searchfox.org/mozilla-central/rev/153feabebc2d13bb4c29ef8adf104ec1ebd246ae/modules/libmar/tests/moz.build#8

and re-ran 'mach configure': "[include:modules/libmar/tests/unit/xpcshell.ini]" was immediately removed from <objdir>/_tests/xpcshell/xpcshell.ini. I cannot think of why your experience would be different.

Priority: -- → P3

Hmm, this is weird. If I just do mach configure, they are not there. But if I do mach build, they are there. Must be part of the build process somehow.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.