Bug 1326465 - add BUG_COMPONENTS to testing/. r=gbrown,ted

ensuring moz.build files have BUG_COMPONENTS for all files
in the testing/ subdirectory is a win.  There are a lot of
older files and some files used in many harnesses.  If the
files are primarily used for mochitest, they are associated
with the testing::mochitest component, otherwise I chose
the testing::general component.

There is an exception web-platform-tests, these have many
test files that need to be matched to proper components.

MozReview-Commit-ID: IIv9W2kEqeN
This commit is contained in:
Joel Maher 2016-12-30 16:16:56 -05:00
parent 2038d42f75
commit f1fecc26b0
8 changed files with 56 additions and 0 deletions

View File

@ -7,3 +7,6 @@
TEST_HARNESS_FILES.instrumentation += [
'runinstrumentation.py',
]
with Files("**"):
BUG_COMPONENT = ("Firefox for Android", "Testing")

View File

@ -165,3 +165,20 @@ TEST_HARNESS_FILES.testing.mochitest.websocketprocessbridge += [
'/testing/tools/websocketprocessbridge/websocketprocessbridge_requirements.txt',
]
with Files("**"):
BUG_COMPONENT = ("Testing", "Mochitest")
with Files("chrome/**"):
BUG_COMPONENT = ("Testing", "Mochitest Chrome")
with Files("chrome-harness.js"):
BUG_COMPONENT = ("Testing", "Mochitest Chrome")
with Files("BrowserTestUtils/**"):
BUG_COMPONENT = ("Testing", "BrowserTest")
with Files("browser*"):
BUG_COMPONENT = ("Testing", "BrowserTest")
with Files("tests/browser/**"):
BUG_COMPONENT = ("Testing", "BrowserTest")

View File

@ -26,3 +26,12 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
TEST_HARNESS_FILES.testing.mochitest.tests.SimpleTest += ['StructuredLog.jsm']
with Files("**"):
BUG_COMPONENT = ("Testing", "General")
with Files("tests/xpcshell/**"):
BUG_COMPONENT = ("Testing", "XPCShell Harness")
with Files("tests/browser/**"):
BUG_COMPONENT = ("Testing", "BrowserTest")

View File

@ -47,3 +47,6 @@ TEST_HARNESS_FILES.mozbase += [m + '/**' for m in python_modules]
TEST_HARNESS_FILES.mozbase += [
'setup_development.py',
]
with Files('**'):
BUG_COMPONENT = ('Testing', 'Mozbase')

View File

@ -10,3 +10,6 @@ mochitest_profile_files = [
TEST_HARNESS_FILES.testing.mochitest.profile_data += mochitest_profile_files
TEST_HARNESS_FILES['web-platform'].prefs += mochitest_profile_files
with Files("**"):
BUG_COMPONENT = ("Testing", "Mochitest")

View File

@ -7,3 +7,6 @@
TEST_HARNESS_FILES.testing.mochitest.runtimes += [
'**/mochitest-*.runtimes.json',
]
with Files("**"):
BUG_COMPONENT = ("Testing", "Mochitest")

View File

@ -21,3 +21,18 @@ TEST_HARNESS_FILES['web-platform'].certs = [
'certs/web-platform.test.key',
'certs/web-platform.test.pem',
]
with Files("update/**"):
BUG_COMPONENT = ("Testing", "web-platform-tests")
with Files("harness/**"):
BUG_COMPONENT = ("Testing", "web-platform-tests")
with Files("certs/**"):
BUG_COMPONENT = ("Testing", "web-platform-tests")
with Files("mach*"):
BUG_COMPONENT = ("Testing", "web-platform-tests")
with Files("*.py"):
BUG_COMPONENT = ("Testing", "web-platform-tests")

View File

@ -13,3 +13,6 @@ PYTHON_UNITTEST_MANIFESTS += [
TESTING_JS_MODULES += [
'dbg-actors.js',
]
with Files("**"):
BUG_COMPONENT = ("Testing", "XPCShell Harness")