mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-06 12:43:53 +00:00
ea89582f61
This replaces the 'run-tests-deps' make target with a python function that will directly read moz.build files, emit them with TestManifestEmitter, then consume them with TestManifestBackend. Because the TestResolver is the only place that actually reads the test metadata files, we can remove this logic from the CommonBackend as well. MozReview-Commit-ID: DXgMoeH5dKf MozReview-Commit-ID: HstZ57qkqf2 --HG-- extra : rebase_source : f377fa6863ef66d3adb86ed64f844e346686862f
34 lines
918 B
Python
34 lines
918 B
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/.
|
|
|
|
with Files('mach/**'):
|
|
BUG_COMPONENT = ('Core', 'mach')
|
|
|
|
with Files('mozbuild/**'):
|
|
BUG_COMPONENT = ('Core', 'Build Config')
|
|
|
|
SPHINX_PYTHON_PACKAGE_DIRS += [
|
|
'mach',
|
|
'mozbuild/mozbuild',
|
|
'mozbuild/mozpack',
|
|
'mozlint/mozlint',
|
|
'mozversioncontrol/mozversioncontrol',
|
|
]
|
|
|
|
SPHINX_TREES['mach'] = 'mach/docs'
|
|
|
|
PYTHON_UNITTEST_MANIFESTS += [
|
|
'mach/mach/test/python.ini',
|
|
'mozbuild/dumbmake/test/python.ini',
|
|
'mozlint/test/python.ini',
|
|
]
|
|
|
|
if CONFIG['MOZ_BUILD_APP']:
|
|
PYTHON_UNITTEST_MANIFESTS += [
|
|
'mozbuild/mozbuild/test/python.ini',
|
|
'mozbuild/mozpack/test/python.ini',
|
|
]
|