зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1205687 - Package and include Marionette tests in all-tests.json; r=chmanchester,gps
Listing the tests in all-tests.json is prerequisite to adding support for Marionette tests to `./mach test FILE`. Marionette tests will be run from the source directory, as they do not currently need packaging. --HG-- extra : rebase_source : 41b80531b671cb2f4cca4337c41ba94ab189f8c0
This commit is contained in:
Родитель
1880f9540d
Коммит
8d70598ccc
|
@ -1445,6 +1445,26 @@ VARIABLES = {
|
|||
"""List of manifest files defining Android instrumentation tests.
|
||||
"""),
|
||||
|
||||
'MARIONETTE_LAYOUT_MANIFESTS': (StrictOrderingOnAppendList, list,
|
||||
"""List of manifest files defining marionette-layout tests.
|
||||
"""),
|
||||
|
||||
'MARIONETTE_LOOP_MANIFESTS': (StrictOrderingOnAppendList, list,
|
||||
"""List of manifest files defining marionette-loop tests.
|
||||
"""),
|
||||
|
||||
'MARIONETTE_UNIT_MANIFESTS': (StrictOrderingOnAppendList, list,
|
||||
"""List of manifest files defining marionette-unit tests.
|
||||
"""),
|
||||
|
||||
'MARIONETTE_UPDATE_MANIFESTS': (StrictOrderingOnAppendList, list,
|
||||
"""List of manifest files defining marionette-update tests.
|
||||
"""),
|
||||
|
||||
'MARIONETTE_WEBAPI_MANIFESTS': (StrictOrderingOnAppendList, list,
|
||||
"""List of manifest files defining marionette-webapi tests.
|
||||
"""),
|
||||
|
||||
'METRO_CHROME_MANIFESTS': (StrictOrderingOnAppendList, list,
|
||||
"""List of manifest files defining metro browser chrome tests.
|
||||
"""),
|
||||
|
|
|
@ -1034,7 +1034,6 @@ class TreeMetadataEmitter(LoggingMixin):
|
|||
else 'USE_LIBS'))
|
||||
|
||||
def _process_test_manifests(self, context):
|
||||
|
||||
for prefix, info in TEST_MANIFESTS.items():
|
||||
for path in context.get('%s_MANIFESTS' % prefix, []):
|
||||
for obj in self._process_test_manifest(context, info, path):
|
||||
|
|
|
@ -260,6 +260,15 @@ TEST_MANIFESTS = dict(
|
|||
ANDROID_INSTRUMENTATION=('instrumentation', 'instrumentation', '.', False),
|
||||
JETPACK_PACKAGE=('jetpack-package', 'testing/mochitest', 'jetpack-package', True),
|
||||
JETPACK_ADDON=('jetpack-addon', 'testing/mochitest', 'jetpack-addon', False),
|
||||
|
||||
# marionette tests are run from the srcdir
|
||||
# TODO(ato): make packaging work as for other test suites
|
||||
MARIONETTE=('marionette', 'marionette', '.', False),
|
||||
MARIONETTE_LOOP=('marionette', 'marionette', '.', False),
|
||||
MARIONETTE_UNIT=('marionette', 'marionette', '.', False),
|
||||
MARIONETTE_UPDATE=('marionette', 'marionette', '.', False),
|
||||
MARIONETTE_WEBAPI=('marionette', 'marionette', '.', False),
|
||||
|
||||
METRO_CHROME=('metro-chrome', 'testing/mochitest', 'metro', True),
|
||||
MOCHITEST=('mochitest', 'testing/mochitest', 'tests', True),
|
||||
MOCHITEST_CHROME=('chrome', 'testing/mochitest', 'chrome', True),
|
||||
|
|
Загрузка…
Ссылка в новой задаче