Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Bug 1470414 - Clean-up moz.build files for BUG_COMPONENT in testing/.…
Browse files Browse the repository at this point in the history
… r=ahal

MozReview-Commit-ID: F5vHc4G13v6
  • Loading branch information
whimboo committed Jun 22, 2018
1 parent fac470f commit aceb7e3
Show file tree
Hide file tree
Showing 11 changed files with 135 additions and 119 deletions.
9 changes: 9 additions & 0 deletions testing/awsy/moz.build
Original file line number Diff line number Diff line change
@@ -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"]
21 changes: 21 additions & 0 deletions testing/config/moz.build
Original file line number Diff line number Diff line change
@@ -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")
9 changes: 9 additions & 0 deletions testing/crashtest/moz.build
Original file line number Diff line number Diff line change
@@ -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']
2 changes: 1 addition & 1 deletion testing/geckodriver/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if CONFIG["OS_ARCH"] != "WINNT":
RUST_TESTS = ["geckodriver"]

with Files("**"):
BUG_COMPONENT = ("Testing", "Marionette")
BUG_COMPONENT = ("Testing", "geckodriver")

SPHINX_TREES["geckodriver"] = "doc"

Expand Down
4 changes: 4 additions & 0 deletions testing/gtest/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ EXPORTS.gtest += [
'MozGtestFriend.h',
]

with Files("**"):
BUG_COMPONENT = ("Testing", "GTest")
SCHEDULES.exclusive = ['gtest']

if CONFIG['ENABLE_TESTS']:
gtest_exports = [
'benchmark/BlackBox.h',
Expand Down
119 changes: 1 addition & 118 deletions testing/moz.build
Original file line number Diff line number Diff line change
@@ -1,126 +1,9 @@
with Files("*"):
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"):
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']

8 changes: 8 additions & 0 deletions testing/mozharness/moz.build
Original file line number Diff line number Diff line change
@@ -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")
3 changes: 3 additions & 0 deletions testing/specialpowers/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ FINAL_TARGET_PP_FILES += [
FINAL_TARGET_FILES += [
'bootstrap.js',
]

with Files("**"):
BUG_COMPONENT = ("Testing", "Mochitest")
51 changes: 51 additions & 0 deletions testing/talos/moz.build
Original file line number Diff line number Diff line change
@@ -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")
20 changes: 20 additions & 0 deletions testing/tools/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# -*- 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("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")
8 changes: 8 additions & 0 deletions testing/tps/moz.build
Original file line number Diff line number Diff line change
@@ -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 = ("Testing", "TPS")

0 comments on commit aceb7e3

Please sign in to comment.