gecko-dev/testing/web-platform/moz.build

255 строки
7.1 KiB
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/.
WEB_PLATFORM_TESTS_MANIFESTS += [
('meta/MANIFEST.json', 'tests/'),
('mozilla/meta/MANIFEST.json', 'mozilla/tests/')
]
TEST_HARNESS_FILES['web-platform'] += [
'mach_commands_base.py',
'mach_test_package_commands.py',
'outbound/**',
'runtests.py',
'wptrunner.ini'
]
TEST_HARNESS_FILES['web-platform'].certs = [
'certs/cacert.pem',
'certs/web-platform.test.key',
'certs/web-platform.test.pem',
]
with Files("update/**"):
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")
# usb and payments ?
with Files("tests/feature-policy/**"):
BUG_COMPONENT = ("Core", "DOM")
with Files("tests/fetch/**"):
BUG_COMPONENT = ("Core", "DOM")
with Files("tests/fonts/math/**"):
BUG_COMPONENT = ("Core", "MathML")
with Files("tests/fullscreen/**"):
BUG_COMPONENT = ("Core", "DOM")
with Files("tests/gamepad/**"):
BUG_COMPONENT = ("Core", "DOM: Device Interfaces")
# Bug 1359076 - Deleting this feature due to security
with Files("tests/generic-sensor/**"):
BUG_COMPONENT = ("Core", "DOM: Device Interfaces")
with Files("tests/geolocation-API/**"):
BUG_COMPONENT = ("Core", "Geolocation")
with Files("tests/gyroscope/**"):
BUG_COMPONENT = ("Core", "DOM: Device Interfaces")
with Files("tests/media/**"):
BUG_COMPONENT = ("Core", "Audio/Video: Playback")
with Files("tests/media-source/**"):
BUG_COMPONENT = ("Core", "Audio/Video: Playback")
with Files("tests/mediacapture-record/**"):
BUG_COMPONENT = ("Core", "Audio/Video: Recording")
with Files("tests/mediacapture-streams/**"):
BUG_COMPONENT = ("Core", "Audio/Video: MediaStreamGraph")
with Files("tests/microdata/**"):
BUG_COMPONENT = ("Core", "DOM")
with Files("tests/mixed-content/**"):
BUG_COMPONENT = ("Core", "DOM: Security")
with Files("tests/navigation-timing/**"):
BUG_COMPONENT = ("Core", "DOM")
with Files("tests/notifications/**"):
BUG_COMPONENT = ("Toolkit", "Notifications and Alerts")
with Files("tests/offscreen-canvas/**"):
BUG_COMPONENT = ("Core", "Canvas: 2D")
# No tests are run here
with Files("tests/old-tests/submission/Infraware/Session_History/**"):
BUG_COMPONENT = ("Core", "Document Navigation")
with Files("tests/old-tests/submission/Infraware/Forms/**"):
BUG_COMPONENT = ("Core", "DOM: Core & HTML")
with Files("tests/old-tests/submission/Opera/**"):
BUG_COMPONENT = ("Core", "DOM: Core & HTML")
# No tests are run here
with Files("tests/old-tests/submission/Microsoft/dragdrop/**"):
BUG_COMPONENT = ("Core", "Drag & Drop")
# No tests are run here
with Files("tests/old-tests/submission/Microsoft/foreigncontent/**"):
BUG_COMPONENT = ("Core", "SVG")
with Files("tests/old-tests/submission/Microsoft/history/**"):
BUG_COMPONENT = ("Core", "Document Navigation")
with Files("tests/old-tests/submission/Microsoft/sandbox/**"):
BUG_COMPONENT = ("Core", "DOM: Security")
# No tests are run here
with Files("tests/old-tests/submission/Microsoft/selection/**"):
BUG_COMPONENT = ("Core", "Selection")
with Files("tests/old-tests/submission/Microsoft/structuredclone/**"):
BUG_COMPONENT = ("Core", "Javascript Engine")
# No tests are run here
with Files("tests/old-tests/submission/Microsoft/xhtml5/**"):
BUG_COMPONENT = ("Core", "Layout")
with Files("tests/orientation-event/**"):
BUG_COMPONENT = ("Core", "DOM: Device Interfaces")
with Files("tests/page-visibility/**"):
BUG_COMPONENT = ("Core", "DOM")
with Files("tests/payment-request/**"):
BUG_COMPONENT = ("Core", "DOM")
with Files("tests/performance-timeline/**"):
BUG_COMPONENT = ("Core", "DOM")
with Files("tests/pointerevents/**"):
BUG_COMPONENT = ("Core", "DOM: Events")
with Files("tests/pointerlock/**"):
BUG_COMPONENT = ("Core", "DOM: Events")
with Files("tests/preload/**"):
BUG_COMPONENT = ("Core", "DOM: Core & Html")
with Files("tests/presentation-api/**"):
BUG_COMPONENT = ("Core", "DOM")
with Files("tests/progress-events/**"):
BUG_COMPONENT = ("Core", "DOM: Events")
with Files("tests/proximity/**"):
BUG_COMPONENT = ("Core", "DOM: Device Interfaces")
with Files("tests/quirks-mode/**"):
BUG_COMPONENT = ("Core", "Layout")
with Files("tests/referrer-policy/**"):
BUG_COMPONENT = ("Core", "DOM: Security")
with Files("tests/resource-timing/**"):
BUG_COMPONENT = ("Core", "DOM")
with Files("tests/screen-orientation/**"):
BUG_COMPONENT = ("Core", "DOM")
with Files("tests/secure-contexts/**"):
BUG_COMPONENT = ("Core", "DOM")
with Files("tests/selection/**"):
BUG_COMPONENT = ("Core", "Selection")
with Files("tests/selectors/**"):
BUG_COMPONENT = ("Core", "DOM")
with Files("tests/service-workers/**"):
BUG_COMPONENT = ("Core", "DOM: Service Workers")
with Files("tests/shadow-dom/**"):
BUG_COMPONENT = ("Core", "DOM")
with Files("tests/streams/**"):
BUG_COMPONENT = ("Core", "DOM")
with Files("tests/subresource-integrity/**"):
BUG_COMPONENT = ("Core", "DOM: Security")
with Files("tests/svg/**"):
BUG_COMPONENT = ("Core", "SVG")
with Files("tests/svg-aam/**"):
BUG_COMPONENT = ("Core", "SVG")
with Files("tests/touch-events/**"):
BUG_COMPONENT = ("Core", "DOM")
with Files("tests/tools/**"):
BUG_COMPONENT = ("Testing", "web-platform-tests")
with Files("tests/uievents/**"):
BUG_COMPONENT = ("Core", "DOM: Events")
with Files("tests/upgrade-insecure-requests/**"):
BUG_COMPONENT = ("Core", "DOM: Security")
with Files("tests/url/**"):
BUG_COMPONENT = ("Core", "DOM")
with Files("tests/user-timing/**"):
BUG_COMPONENT = ("Core", "DOM")
with Files("tests/vibration/**"):
BUG_COMPONENT = ("Core", "DOM")
# No files in here?
#with Files("tests/wai-arai/**"):
# BUG_COMPONENT = ("Core", "Disability Access APIs")
with Files("tests/web-animations/**"):
BUG_COMPONENT = ("Core", "DOM: Animation")
with Files("tests/webaudio/**"):
BUG_COMPONENT = ("Core", "Web Audio")
with Files("tests/webauthn/**"):
BUG_COMPONENT = ("Core", "DOM: Device Interfaces")
with Files("tests/webdriver/**"):
BUG_COMPONENT = ("Testing", "geckodriver")
with Files("tests/webgl/**"):
BUG_COMPONENT = ("Core", "Canvas: WebGL")
with Files("tests/webmessaging/**"):
BUG_COMPONENT = ("Core", "DOM")
with Files("tests/webrtc/**"):
BUG_COMPONENT = ("Core", "WebRTC")
with Files("tests/websockets/**"):
BUG_COMPONENT = ("Core", "Networking: WebSockets")
with Files("tests/webstorage/**"):
BUG_COMPONENT = ("Core", "DOM")
with Files("tests/webvr/**"):
BUG_COMPONENT = ("Core", "DOM")
with Files("tests/webvtt/**"):
BUG_COMPONENT = ("Core", "Audio/Video: Playback")
with Files("tests/workers/**"):
BUG_COMPONENT = ("Core", "DOM: Workers")