gecko-dev/testing/profiles/moz.build
Andrew Halberstadt 88e52fc195 Bug 1460914 - [xpcshell] Define preferences in testing/profiles instead of testing/xpcshell/head.js, r=ted
This commit creates an empty 'base' profile because I wanted to preserve the
ability to apply a pref to all test harnesses on try. Since xpcshell doesn't
share many prefs with the other harnesses, it can't use the common profile.

So adding a pref to 'common' will apply it everywhere except xpcshell. Adding
a pref to 'base' will apply it everywhere including xpcshell. These profiles
are starting to get a bit messy, but I'd like to punt re-organizing them to a
follow-up bug.

Depends on D9716

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

--HG--
extra : moz-landing-system : lando
2018-10-26 17:47:18 +00:00

24 lines
698 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/.
profile_files = [
'base/*',
'common/*',
'perf/*',
'profiles.json',
'profileserver/*',
'reftest/*',
'unittest/*',
'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")