gecko-dev/layout/reftests/moz.build
Mike Hommey ac5b6e6cd0 Bug 1628200 - Fix config/tests/test_mozbuild_reading.py. r=rstewart
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.

While here, make the test script python3-ready.

Differential Revision: https://phabricator.services.mozilla.com/D70157

--HG--
extra : moz-landing-system : lando
2020-04-09 00:24:29 +00:00

283 lines
11 KiB
Python

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
TEST_HARNESS_FILES.testing.mochitest.tests.fonts.math += [
'fonts/math/axis-height-1.otf',
'fonts/math/axis-height-2.otf',
'fonts/math/fraction-1.otf',
'fonts/math/limits-5.otf',
]
TEST_HARNESS_FILES.testing.mochitest.tests.fonts.mplus += [
'fonts/mplus/mplus-1p-regular.ttf',
]
TEST_HARNESS_FILES.testing.mochitest.tests.fonts += [
'fonts/Ahem.ttf',
]
REFTEST_MANIFESTS += ['reftest.list']
with Files("**"):
SCHEDULES.exclusive = ['reftest']
with Files('abs-pos/**'):
BUG_COMPONENT = ('Core', 'Layout: Positioned')
with Files('async-scrolling/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('backgrounds/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('bidi/**'):
BUG_COMPONENT = ('Core', 'Layout: Text and Fonts')
with Files('border-image/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('border-radius/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('box/**'):
BUG_COMPONENT = ('Core', 'XUL')
with Files('box-ordinal/**'):
BUG_COMPONENT = ('Core', 'XUL')
with Files('box-properties/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('box-shadow/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('box-sizing/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('bugs/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('canvas/**'):
BUG_COMPONENT = ('Core', 'Layout: Images, Video, and HTML Frames')
with Files('columns/**'):
BUG_COMPONENT = ('Core', 'Layout: Block and Inline')
with Files('counter-style/**'):
BUG_COMPONENT = ('Core', 'CSS Parsing and Computation')
with Files('counters/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('css-animations/**'):
BUG_COMPONENT = ('Core', 'CSS Transitions and Animations')
with Files('css-blending/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('css-break/**'):
BUG_COMPONENT = ('Core', 'Layout: Block and Inline')
with Files('css-calc/**'):
BUG_COMPONENT = ('Core', 'CSS Parsing and Computation')
with Files('css-charset/**'):
BUG_COMPONENT = ('Core', 'CSS Parsing and Computation')
with Files('css-default/**'):
BUG_COMPONENT = ('Core', 'Layout: Form Controls')
with Files('css-disabled/**'):
BUG_COMPONENT = ('Core', 'Layout: Form Controls')
with Files('css-display/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('css-enabled/**'):
BUG_COMPONENT = ('Core', 'Layout: Form Controls')
with Files('css-gradients/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('css-grid/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('css-import/**'):
BUG_COMPONENT = ('Core', 'CSS Parsing and Computation')
with Files('css-invalid/**'):
BUG_COMPONENT = ('Core', 'Layout: Form Controls')
with Files('css-mediaqueries/**'):
BUG_COMPONENT = ('Core', 'CSS Parsing and Computation')
with Files('css-optional/**'):
BUG_COMPONENT = ('Core', 'Layout: Form Controls')
with Files('css-parsing/**'):
BUG_COMPONENT = ('Core', 'CSS Parsing and Computation')
with Files('css-placeholder/**'):
BUG_COMPONENT = ('Core', 'Layout: Form Controls')
with Files('css-required/**'):
BUG_COMPONENT = ('Core', 'Layout: Form Controls')
with Files('css-ruby/**'):
BUG_COMPONENT = ('Core', 'Layout: Block and Inline')
with Files('css-selectors/**'):
BUG_COMPONENT = ('Core', 'CSS Parsing and Computation')
with Files('css-submit-invalid/**'):
BUG_COMPONENT = ('Core', 'Layout: Form Controls')
with Files('css-transitions/**'):
BUG_COMPONENT = ('Core', 'CSS Transitions and Animations')
with Files('css-ui-invalid/**'):
BUG_COMPONENT = ('Core', 'Layout: Form Controls')
with Files('css-ui-valid/**'):
BUG_COMPONENT = ('Core', 'Layout: Form Controls')
with Files('css-valid/**'):
BUG_COMPONENT = ('Core', 'Layout: Form Controls')
with Files('css-valuesandunits/**'):
BUG_COMPONENT = ('Core', 'CSS Parsing and Computation')
with Files('css-variables/**'):
BUG_COMPONENT = ('Core', 'CSS Parsing and Computation')
with Files('css-visited/**'):
BUG_COMPONENT = ('Core', 'CSS Parsing and Computation')
with Files('cssom/**'):
BUG_COMPONENT = ('Core', 'DOM: CSS Object Model')
with Files('datalist/**'):
BUG_COMPONENT = ('Core', 'DOM: Core & HTML')
with Files('dom/**'):
BUG_COMPONENT = ('Core', 'DOM: Core & HTML')
with Files('filters.svg'):
BUG_COMPONENT = ('Core', 'SVG')
with Files('first-letter/**'):
BUG_COMPONENT = ('Core', 'Layout: Block and Inline')
with Files('first-line/**'):
BUG_COMPONENT = ('Core', 'Layout: Block and Inline')
with Files('flexbox/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('floats/**'):
BUG_COMPONENT = ('Core', 'Layout: Floats')
with Files('font-face/**'):
BUG_COMPONENT = ('Core', 'CSS Parsing and Computation')
with Files('font-features/**'):
BUG_COMPONENT = ('Core', 'Layout: Text and Fonts')
with Files('font-inflation/**'):
BUG_COMPONENT = ('Core', 'Layout: Text and Fonts')
with Files('font-loading-api/**'):
BUG_COMPONENT = ('Core', 'CSS Parsing and Computation')
with Files('font-matching/**'):
BUG_COMPONENT = ('Core', 'Layout: Text and Fonts')
with Files('fonts/**'):
BUG_COMPONENT = ('Core', 'Layout: Text and Fonts')
with Files('forms/**'):
BUG_COMPONENT = ('Core', 'Layout: Form Controls')
with Files('generated-content/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('ib-split/**'):
BUG_COMPONENT = ('Core', 'Layout: Block and Inline')
with Files('image/**'):
BUG_COMPONENT = ('Core', 'Layout: Images, Video, and HTML Frames')
with Files('image-element/**'):
BUG_COMPONENT = ('Core', 'Layout: Images, Video, and HTML Frames')
with Files('image-rect/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('image-region/**'):
BUG_COMPONENT = ('Core', 'Layout: Images, Video, and HTML Frames')
with Files('indic-shaping/**'):
BUG_COMPONENT = ('Core', 'Layout: Text and Fonts')
with Files('inline/**'):
BUG_COMPONENT = ('Core', 'Layout: Block and Inline')
with Files('inline-borderpadding/**'):
BUG_COMPONENT = ('Core', 'Layout: Block and Inline')
with Files('invalidation/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('layers/**'):
BUG_COMPONENT = ('Core', 'Graphics: Layers')
with Files('line-breaking/**'):
BUG_COMPONENT = ('Core', 'Layout: Block and Inline')
with Files('list-item/**'):
BUG_COMPONENT = ('Core', 'Layout: Block and Inline')
with Files('margin-collapsing/**'):
BUG_COMPONENT = ('Core', 'Layout: Block and Inline')
with Files('marquee/**'):
BUG_COMPONENT = ('Core', 'CSS Parsing and Computation')
with Files('mathml/**'):
BUG_COMPONENT = ('Core', 'MathML')
with Files('native-theme/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('object/**'):
BUG_COMPONENT = ('Core', 'DOM: Core & HTML')
with Files('ogg-video/**'):
BUG_COMPONENT = ('Core', 'Audio/Video')
with Files('outline/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('pagination/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('percent-overflow-sizing/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('pixel-rounding/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('position-dynamic-changes/**'):
BUG_COMPONENT = ('Core', 'Layout: Positioned')
with Files('position-relative/**'):
BUG_COMPONENT = ('Core', 'Layout: Positioned')
with Files('position-sticky/**'):
BUG_COMPONENT = ('Core', 'Layout: Positioned')
with Files('printing/**'):
BUG_COMPONENT = ('Core', 'Printing: Output')
with Files('reftest-sanity/**'):
BUG_COMPONENT = ('Testing', 'Reftest')
with Files('scrolling/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('selection/**'):
BUG_COMPONENT = ('Core', 'DOM: Selection')
with Files('svg/**'):
BUG_COMPONENT = ('Core', 'SVG')
with Files('tab-size/**'):
BUG_COMPONENT = ('Core', 'Layout: Text and Fonts')
with Files('table-anonymous-boxes/**'):
BUG_COMPONENT = ('Core', 'Layout: Tables')
with Files('table-background/**'):
BUG_COMPONENT = ('Core', 'Layout: Tables')
with Files('table-bordercollapse/**'):
BUG_COMPONENT = ('Core', 'Layout: Tables')
with Files('table-dom/**'):
BUG_COMPONENT = ('Core', 'Layout: Tables')
with Files('table-overflow/**'):
BUG_COMPONENT = ('Core', 'Layout: Tables')
with Files('table-width/**'):
BUG_COMPONENT = ('Core', 'Layout: Tables')
with Files('text/**'):
BUG_COMPONENT = ('Core', 'Layout: Text and Fonts')
with Files('text-decoration/**'):
BUG_COMPONENT = ('Core', 'Layout: Block and Inline')
with Files('text-indent/**'):
BUG_COMPONENT = ('Core', 'Layout: Block and Inline')
with Files('text-overflow/**'):
BUG_COMPONENT = ('Core', 'Layout: Text and Fonts')
with Files('text-shadow/**'):
BUG_COMPONENT = ('Core', 'Layout: Text and Fonts')
with Files('text-svgglyphs/**'):
BUG_COMPONENT = ('Core', 'SVG')
with Files('text-transform/**'):
BUG_COMPONENT = ('Core', 'Layout: Text and Fonts')
with Files('transform/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('transform-3d/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('unicode/**'):
BUG_COMPONENT = ('Core', 'CSS Parsing and Computation')
with Files('view-source/**'):
BUG_COMPONENT = ('Core', 'DOM: HTML Parser')
with Files('w3c-css/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('w3c-css/submitted/conditional3/**'):
BUG_COMPONENT = ('Core', 'CSS Parsing and Computation')
with Files('w3c-css/submitted/css21/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('w3c-css/submitted/flexbox/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('w3c-css/submitted/fonts3/**'):
BUG_COMPONENT = ('Core', 'Layout: Text and Fonts')
with Files('w3c-css/submitted/ib-split/**'):
BUG_COMPONENT = ('Core', 'Layout: Block and Inline')
with Files('w3c-css/submitted/images3/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('w3c-css/submitted/multicol3/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('w3c-css/submitted/ruby/**'):
BUG_COMPONENT = ('Core', 'Layout: Block and Inline')
with Files('w3c-css/submitted/sizing/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('w3c-css/submitted/text-decor-3/**'):
BUG_COMPONENT = ('Core', 'Layout: Block and Inline')
with Files('w3c-css/submitted/ui3/**'):
BUG_COMPONENT = ('Core', 'Layout')
with Files('w3c-css/submitted/values3/**'):
BUG_COMPONENT = ('Core', 'CSS Parsing and Computation')
with Files('w3c-css/submitted/variables/**'):
BUG_COMPONENT = ('Core', 'CSS Parsing and Computation')
with Files('webcomponents/**'):
BUG_COMPONENT = ('Core', 'DOM: Core & HTML')
with Files('webm-video/**'):
BUG_COMPONENT = ('Core', 'Audio/Video')
with Files('writing-mode/**'):
BUG_COMPONENT = ('Core', 'Layout: Block and Inline')
with Files('xul/**'):
BUG_COMPONENT = ('Core', 'XUL')
with Files('xul-document-load/**'):
BUG_COMPONENT = ('Core', 'XUL')
with Files('z-index/**'):
BUG_COMPONENT = ('Core', 'Layout')