Bug 1470414 - Clean-up moz.build files for BUG_COMPONENT in testing/. r=ahal
☠☠ backed out by 70e89e89a340 ☠ ☠
authorHenrik Skupin <mail@hskupin.info>
Fri, 22 Jun 2018 13:32:05 +0200
changeset 423526 52e86ed85e545e8f26ee264760f354e4a8e8d9f5
parent 423525 e2514f03c7ed66dbdebdf0a3f7b3a6aff05de28d
child 423527 efe2c890d372dc50dd9bdc70b0d530824d94ad85
push id65487
push userhskupin@mozilla.com
push dateMon, 25 Jun 2018 14:04:37 +0000
treeherderautoland@52e86ed85e54 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersahal
bugs1470414
milestone62.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1470414 - Clean-up moz.build files for BUG_COMPONENT in testing/. r=ahal MozReview-Commit-ID: F5vHc4G13v6
testing/awsy/moz.build
testing/config/moz.build
testing/crashtest/moz.build
testing/geckodriver/moz.build
testing/gtest/moz.build
testing/moz.build
testing/mozharness/moz.build
testing/specialpowers/moz.build
testing/talos/moz.build
testing/tools/moz.build
new file mode 100644
--- /dev/null
+++ b/testing/awsy/moz.build
@@ -0,0 +1,9 @@
+# -*- 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("awsy/**"):
+    BUG_COMPONENT = ("Testing", "AWSY")
+    SCHEDULES.exclusive = ["awsy"]
new file mode 100644
--- /dev/null
+++ b/testing/config/moz.build
@@ -0,0 +1,21 @@
+# 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("**"):
+    BUG_COMPONENT = ("Testing", "General")
+
+with Files("marionette*"):
+    BUG_COMPONENT = ("Testing", "Marionette")
+
+with Files("mozbase*"):
+    BUG_COMPONENT = ("Testing", "Mozbase")
+
+with Files("firefox_ui*"):
+    BUG_COMPONENT = ("Testing", "Firefox UI Tests")
+
+with Files("telemetry*"):
+    BUG_COMPONENT = ("Toolkit", "Telemetry")
+
+with Files("tooltool-manifests/**"):
+    BUG_COMPONENT = ("Release Engineering", "Mozharness")
new file mode 100644
--- /dev/null
+++ b/testing/crashtest/moz.build
@@ -0,0 +1,9 @@
+# -*- 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("**"):
+    BUG_COMPONENT = ("Testing", "Reftest")
+    SCHEDULES.exclusive = ['reftest']
--- a/testing/geckodriver/moz.build
+++ b/testing/geckodriver/moz.build
@@ -4,14 +4,14 @@
 
 RUST_PROGRAMS += ["geckodriver"]
 
 # https://bugzil.la/1425365
 if CONFIG["OS_ARCH"] != "WINNT":
     RUST_TESTS = ["geckodriver"]
 
 with Files("**"):
-    BUG_COMPONENT = ("Testing", "Marionette")
+    BUG_COMPONENT = ("Testing", "geckodriver")
 
 SPHINX_TREES["geckodriver"] = "doc"
 
 with Files('doc/**'):
     SCHEDULES.exclusive = ['docs']
--- a/testing/gtest/moz.build
+++ b/testing/gtest/moz.build
@@ -3,16 +3,20 @@
 # 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/.
 
 EXPORTS.gtest += [
     'MozGtestFriend.h',
 ]
 
+with Files("**"):
+    BUG_COMPONENT = ("Testing", "GTest")
+    SCHEDULES.exclusive = ['gtest']
+
 if CONFIG['ENABLE_TESTS']:
     gtest_exports = [
         'benchmark/BlackBox.h',
         'gtest/include/gtest/gtest-death-test.h',
         'gtest/include/gtest/gtest-message.h',
         'gtest/include/gtest/gtest-param-test.h',
         'gtest/include/gtest/gtest-printers.h',
         'gtest/include/gtest/gtest-spi.h',
--- a/testing/moz.build
+++ b/testing/moz.build
@@ -1,126 +1,9 @@
-with Files("*"):
-    BUG_COMPONENT = ("Testing", "General")
-
-with Files("awsy/**"):
-    BUG_COMPONENT = ("Testing", "AWSY")
-    SCHEDULES.exclusive = ["awsy"]
-
-with Files("config/**"):
-    BUG_COMPONENT = ("Testing", "General")
-
-with Files("*.py"):
-    BUG_COMPONENT = ("Testing", "General")
-
-with Files("moz.build"):
-    BUG_COMPONENT = ("Testing", "General")
-
-with Files("*.mk"):
-    BUG_COMPONENT = ("Testing", "General")
-
-with Files("README.txt"):
+with Files("**"):
     BUG_COMPONENT = ("Testing", "General")
 
-with Files("talos/**"):
-    BUG_COMPONENT = ("Testing", "Talos")
-    SCHEDULES.exclusive = ['talos']
-
-with Files("talos/talos/tests/v8_7/**"):
-    BUG_COMPONENT = ("Core", "JavaScript Engine")
-
-with Files("talos/talos/tests/kraken/**"):
-    BUG_COMPONENT = ("Core", "JavaScript Engine")
-
-with Files("talos/talos/tests/a11y/**"):
-    BUG_COMPONENT = ("Core", "Disability Access APIs")
-
-with Files("talos/talos/tests/webgl/**"):
-    BUG_COMPONENT = ("Core", "Canvas: WebGL")
-
-with Files("talos/talos/tests/dromaeo/**"):
-    BUG_COMPONENT = ("Core", "DOM")
-
-with Files("talos/talos/tests/svg*"):
-    BUG_COMPONENT = ("Core", "SVG")
-
-with Files("talos/talos/tests/scroll/**"):
-    BUG_COMPONENT = ("Core", "Graphics")
-
-with Files("talos/talos/tests/tabpaint/**"):
-    BUG_COMPONENT = ("Firefox", "Tabbed Browser")
-
-with Files("talos/talos/tests/cpstartup/**"):
-    BUG_COMPONENT = ("Firefox", "Tabbed Browser")
-
-with Files("talos/talos/tests/tart/**"):
-    BUG_COMPONENT = ("Firefox", "Tabbed Browser")
-
-with Files("talos/talos/tests/tabswitch/**"):
-    BUG_COMPONENT = ("Firefox", "Tabbed Browser")
-
-with Files("talos/talos/tests/video/**"):
-    BUG_COMPONENT = ("Core", "Audio/Video: Playback")
-
-with Files("talos/talos/startup_test/sessionrestore/**"):
-    BUG_COMPONENT = ("Firefox", "Session Restore")
-
-with Files("talos/talos/startup_test/tresize/**"):
-    BUG_COMPONENT = ("Core", "XUL")
-
-with Files("tps/**"):
-    BUG_COMPONENT = ("Testing", "TPS")
-
-with Files("mozharness/**"):
-    BUG_COMPONENT = ("Release Engineering", "Mozharness")
-
-with Files("config/tooltool-manifests/**"):
-    BUG_COMPONENT = ("Release Engineering", "Mozharness")
-
 with Files("*cppunittest*"):
     BUG_COMPONENT = ("Testing", "CPPUnitTest")
     SCHEDULES.exclusive = ['cppunittest']
 
-with Files("gtest/**"):
-    BUG_COMPONENT = ("Testing", "GTest")
-    SCHEDULES.exclusive = ['gtest']
-
-with Files("specialpowers/**"):
-    BUG_COMPONENT = ("Testing", "Mochitest")
-
-with Files("crashtest/**"):
-    BUG_COMPONENT = ("Testing", "Reftest")
-    SCHEDULES.exclusive = ['reftest']
-
-with Files("config/marionette*"):
-    BUG_COMPONENT = ("Testing", "Marionette")
-
-with Files("config/mozbase_requirements.txt"):
-    BUG_COMPONENT = ("Testing", "Mozbase")
-
-with Files("config/firefox_ui_requirements.txt"):
-    BUG_COMPONENT = ("Testing", "Firefox UI Tests")
-
-with Files("tools/**"):
-    BUG_COMPONENT = ("Testing", "General")
-
-with Files("tools/fileid/**"):
-    BUG_COMPONENT = ("Toolkit", "Crash Reporting")
-
-with Files("tools/iceserver/**"):
-    BUG_COMPONENT = ("Core", "WebRTC: Networking")
-
-with Files("tools/websocketprocessbridge/**"):
-    BUG_COMPONENT = ("Core", "WebRTC: Networking")
-
-with Files("tools/fileid/**"):
-    BUG_COMPONENT = ("Toolkit", "Crash Reporting")
-
-with Files("tools/minidumpwriter/**"):
-    BUG_COMPONENT = ("Toolkit", "Crash Reporting")
-
 with Files("remote*"):
     BUG_COMPONENT = ("Firefox for Android", "Testing")
-
-with Files("raptor/**"):
-    BUG_COMPONENT = ("Testing", "Raptor")
-    SCHEDULES.exclusive = ['raptor']
-
new file mode 100644
--- /dev/null
+++ b/testing/mozharness/moz.build
@@ -0,0 +1,8 @@
+# -*- 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("**"):
+    BUG_COMPONENT = ("Release Engineering", "Mozharness")
--- a/testing/specialpowers/moz.build
+++ b/testing/specialpowers/moz.build
@@ -13,8 +13,11 @@ NO_JS_MANIFEST = True
 
 FINAL_TARGET_PP_FILES += [
     'install.rdf',
 ]
 
 FINAL_TARGET_FILES += [
     'bootstrap.js',
 ]
+
+with Files("**"):
+    BUG_COMPONENT = ("Testing", "Mochitest")
new file mode 100644
--- /dev/null
+++ b/testing/talos/moz.build
@@ -0,0 +1,51 @@
+# -*- 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("**"):
+    BUG_COMPONENT = ("Testing", "Talos")
+    SCHEDULES.exclusive = ['talos']
+
+with Files("talos/startup_test/sessionrestore/**"):
+    BUG_COMPONENT = ("Firefox", "Session Restore")
+
+with Files("talos/startup_test/tresize/**"):
+    BUG_COMPONENT = ("Core", "XUL")
+
+with Files("talos/tests/a11y/**"):
+    BUG_COMPONENT = ("Core", "Disability Access APIs")
+
+with Files("talos/tests/cpstartup/**"):
+    BUG_COMPONENT = ("Firefox", "Tabbed Browser")
+
+with Files("talos/tests/dromaeo/**"):
+    BUG_COMPONENT = ("Core", "DOM")
+
+with Files("talos/tests/kraken/**"):
+    BUG_COMPONENT = ("Core", "JavaScript Engine")
+
+with Files("talos/tests/scroll/**"):
+    BUG_COMPONENT = ("Core", "Graphics")
+
+with Files("talos/tests/svg*"):
+    BUG_COMPONENT = ("Core", "SVG")
+
+with Files("talos/tests/tabpaint/**"):
+    BUG_COMPONENT = ("Firefox", "Tabbed Browser")
+
+with Files("talos/tests/tabswitch/**"):
+    BUG_COMPONENT = ("Firefox", "Tabbed Browser")
+
+with Files("talos/tests/tart/**"):
+    BUG_COMPONENT = ("Firefox", "Tabbed Browser")
+
+with Files("talos/tests/v8_7/**"):
+    BUG_COMPONENT = ("Core", "JavaScript Engine")
+
+with Files("talos/tests/video/**"):
+    BUG_COMPONENT = ("Core", "Audio/Video: Playback")
+
+with Files("talos/tests/webgl/**"):
+    BUG_COMPONENT = ("Core", "Canvas: WebGL")
new file mode 100644
--- /dev/null
+++ b/testing/tools/moz.build
@@ -0,0 +1,23 @@
+# -*- 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("**"):
+    BUG_COMPONENT = ("Testing", "General")
+
+with Files("tps/**"):
+    BUG_COMPONENT = ("Testing", "TPS")
+
+with Files("fileid/**"):
+    BUG_COMPONENT = ("Toolkit", "Crash Reporting")
+
+with Files("iceserver/**"):
+    BUG_COMPONENT = ("Core", "WebRTC: Networking")
+
+with Files("minidumpwriter/**"):
+    BUG_COMPONENT = ("Toolkit", "Crash Reporting")
+
+with Files("websocketprocessbridge/**"):
+    BUG_COMPONENT = ("Core", "WebRTC: Networking")