gecko-dev/testing/profiles/moz.build

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 строки
778 B
Plaintext
Исходник Обычный вид История

# -*- 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/.
profile_files = [
'base/*',
'common/*',
'geckoview-junit/*',
'mochitest/*',
'perf/*',
'profiles.json',
'profileserver/*',
'reftest/*',
Bug 1485386 - Move feature-enabling preferences out of unittest/user.js into a separate file r=ahal The unittest/user.js file contained a mix of preferences that ensure tests can run (switching web services to dummy servers to prevent hitting networks, etc) and preferences that enable features that aren't shipping by default (turning on touch events, enabling experimental css features, etc). In the future, we're going to want to run tests of only the features that are being shipped in release builds (or in beta builds, or in esr builds, etc), so we need to move feature-enabling preferences into a different file to make it possible to run tests with various sets of features enabled. This commit just moves feature-enabling prefs into a new file and then includes that file everywhere unittest prefs were already being included, so it should have no functional difference in the set of preferences being set in test runs. It also renames the unittest profile to clarify its purpose, and adds pointers to each profile from the other, and adds comments explaining what they're used for. Differential Revision: https://phabricator.services.mozilla.com/D16123 --HG-- rename : testing/profiles/unittest/extensions/README.txt => testing/profiles/unittest-features/extensions/README.txt rename : testing/profiles/unittest/extensions/README.txt => testing/profiles/unittest-required/extensions/README.txt rename : testing/profiles/unittest/user.js => testing/profiles/unittest-required/user.js extra : moz-landing-system : lando
2019-01-18 03:35:43 +03:00
'unittest-features/*',
'unittest-required/*',
'web-platform/*'
]
TEST_HARNESS_FILES.reftest.profile_data += profile_files
TEST_HARNESS_FILES.testing.mochitest.profile_data += profile_files
TEST_HARNESS_FILES['web-platform'].prefs += profile_files
with Files("**"):
BUG_COMPONENT = ("Testing", "General")