Closed Bug 1628200 Opened 5 years ago Closed 5 years ago

config/tests/test_mozbuild_reading.py is busted

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox-esr68 unaffected, firefox74 wontfix, firefox75 wontfix, firefox76 wontfix, firefox77 fixed)

RESOLVED FIXED
mozilla77
Tracking Status
firefox-esr68 --- unaffected
firefox74 --- wontfix
firefox75 --- wontfix
firefox76 --- wontfix
firefox77 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

The error is:

E           BuildReaderError: 
E           ==============================
E           FATAL ERROR PROCESSING MOZBUILD FILE
E           ==============================
E           
E           The error occurred while processing the following file:
E           
E               /tmp/gecko/browser/app/winlauncher/freestanding/moz.build
E           
E           The error was triggered on line 50 of this file:
E           
E               flags=[CONFIG['LLVM_DLLTOOL']] + CONFIG['LLVM_DLLTOOL_FLAGS'])
E           
E           An error was encountered as part of executing the file itself. The error appears to be the fault of the script.
E           
E           The error as reported by Python is:
E           
E               ['TypeError: can only concatenate list (not "NoneType") to list\n']

But fixing that one unveils a ton more.

Since the test goes through all moz.build files disregarding DIRS and
the conditions that may disable directories, in some cases, moz.builds
can fail to be evaluated properly because of missing variables in
config.status. This time (because it's not the first), it's
LLVM_DLLTOOL.

After fixing that, it turns out many of the files/directories pointed to
by Files() directives were removed or moved.

Has Regression Range: --- → yes
Blocks: 1628205
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/35a1ebbb1099 Fix config/tests/test_mozbuild_reading.py. r=rstewart
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: