Bug 1892041 - Part 3: Update test exclusions. r=spidermonkey-reviewers,dminor
[gecko.git] / testing / mochitest / moz.build
blob0690cd89b5b4c4e27a2137247fab2663a96f0721
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 DIRS += [
8     "manifests",
9     "tests",
10     "ssltunnel",
11     "BrowserTestUtils",
14 XPI_NAME = "mochijar"
16 USE_EXTENSION_MANIFEST = True
18 FINAL_TARGET_FILES += [
19     "api.js",
20     "manifest.json",
21     "schema.json",
24 FINAL_TARGET_FILES.content += [
25     "browser-harness.xhtml",
26     "browser-test.js",
27     "chrome-harness.js",
28     "chunkifyTests.js",
29     "harness.xhtml",
30     "ignorePrefs.json",
31     "manifestLibrary.js",
32     "mochitest-e10s-utils.js",
33     "mochitestListingsUtils.js",
34     "redirect.html",
35     "server.js",
36     "shutdown-leaks-collector.js",
37     "ShutdownLeaksCollector.sys.mjs",
40 FINAL_TARGET_FILES.content.dynamic += [
41     "dynamic/getMyDirectory.sjs",
44 FINAL_TARGET_FILES.content.static += [
45     "static/harness.css",
48 FINAL_TARGET_FILES.content.tests.SimpleTest += [
49     "../../docshell/test/chrome/docshell_helpers.js",
50     "../modules/StructuredLog.sys.mjs",
51     "tests/SimpleTest/AccessibilityUtils.js",
52     "tests/SimpleTest/EventUtils.js",
53     "tests/SimpleTest/ExtensionTestUtils.js",
54     "tests/SimpleTest/iframe-between-tests.html",
55     "tests/SimpleTest/LogController.js",
56     "tests/SimpleTest/MemoryStats.js",
57     "tests/SimpleTest/MockObjects.js",
58     "tests/SimpleTest/MozillaLogger.js",
59     "tests/SimpleTest/NativeKeyCodes.js",
60     "tests/SimpleTest/paint_listener.js",
61     "tests/SimpleTest/setup.js",
62     "tests/SimpleTest/SimpleTest.js",
63     "tests/SimpleTest/test.css",
64     "tests/SimpleTest/TestRunner.js",
65     "tests/SimpleTest/WindowSnapshot.js",
66     "tests/SimpleTest/WorkerHandler.js",
67     "tests/SimpleTest/WorkerSimpleTest.js",
70 FINAL_TARGET_FILES.content.tests.BrowserTestUtils += [
71     "BrowserTestUtils/content/content-about-page-utils.js",
72     "BrowserTestUtils/content/content-task.js",
75 MOCHITEST_MANIFESTS += [
76     "baselinecoverage/plain/mochitest.toml",
77     "tests/MochiKit-1.4.2/tests/mochitest.toml",
80 MOCHITEST_CHROME_MANIFESTS += [
81     "baselinecoverage/chrome/chrome.toml",
82     "chrome/chrome.toml",
85 BROWSER_CHROME_MANIFESTS += ["baselinecoverage/browser_chrome/browser.toml"]
87 TEST_HARNESS_FILES.testing.mochitest += [
88     "/build/pgo/server-locations.txt",
89     "/build/valgrind/cross-architecture.sup",
90     "/build/valgrind/i386-pc-linux-gnu.sup",
91     "/build/valgrind/x86_64-pc-linux-gnu.sup",
92     "/netwerk/test/httpserver/httpd.sys.mjs",
93     "bisection.py",
94     "browser-harness.xhtml",
95     "browser-test.js",
96     "chrome-harness.js",
97     "chunkifyTests.js",
98     "document-builder.sjs",
99     "DoHServer/doh_server.js",
100     "favicon.ico",
101     "harness.xhtml",
102     "Http2Server/http2_server.js",
103     "ignorePrefs.json",
104     "leaks.py",
105     "mach_test_package_commands.py",
106     "manifest.webapp",
107     "manifestLibrary.js",
108     "mochitest_options.py",
109     "mochitestListingsUtils.js",
110     "pywebsocket_wrapper.py",
111     "redirect.html",
112     "runjunit.py",
113     "runtests.py",
114     "runtestsremote.py",
115     "server.js",
116     "start_desktop.js",
119 TEST_HARNESS_FILES.testing.mochitest.DoHServer += [
120     "DoHServer/doh_server.js",
121     "DoHServer/http2-cert.key.pem",
122     "DoHServer/http2-cert.pem",
125 TEST_HARNESS_FILES.testing.mochitest.Http2Server += [
126     "Http2Server/http2_server.js",
127     "Http2Server/mochitest-cert.key.pem",
128     "Http2Server/mochitest-cert.pem",
131 TEST_HARNESS_FILES.testing.mochitest.embed += [
132     "embed/Xm5i5kbIXzc",
133     "embed/Xm5i5kbIXzc^headers^",
136 TEST_HARNESS_FILES.testing.mochitest.pywebsocket3.mod_pywebsocket += [
137     "pywebsocket3/mod_pywebsocket/__init__.py",
138     "pywebsocket3/mod_pywebsocket/_stream_exceptions.py",
139     "pywebsocket3/mod_pywebsocket/common.py",
140     "pywebsocket3/mod_pywebsocket/dispatch.py",
141     "pywebsocket3/mod_pywebsocket/extensions.py",
142     "pywebsocket3/mod_pywebsocket/fast_masking.i",
143     "pywebsocket3/mod_pywebsocket/http_header_util.py",
144     "pywebsocket3/mod_pywebsocket/memorizingfile.py",
145     "pywebsocket3/mod_pywebsocket/msgutil.py",
146     "pywebsocket3/mod_pywebsocket/request_handler.py",
147     "pywebsocket3/mod_pywebsocket/server_util.py",
148     "pywebsocket3/mod_pywebsocket/standalone.py",
149     "pywebsocket3/mod_pywebsocket/stream.py",
150     "pywebsocket3/mod_pywebsocket/util.py",
151     "pywebsocket3/mod_pywebsocket/websocket_server.py",
154 TEST_HARNESS_FILES.testing.mochitest.pywebsocket3.mod_pywebsocket.handshake += [
155     "pywebsocket3/mod_pywebsocket/handshake/__init__.py",
156     "pywebsocket3/mod_pywebsocket/handshake/base.py",
157     "pywebsocket3/mod_pywebsocket/handshake/hybi.py",
160 TEST_HARNESS_FILES.testing.mochitest.dynamic += [
161     "dynamic/getMyDirectory.sjs",
164 TEST_HARNESS_FILES.testing.mochitest.static += [
165     "static/harness.css",
168 TEST_HARNESS_FILES.testing.mochitest.MochiKit += [
169     "MochiKit/__package__.js",
170     "MochiKit/Async.js",
171     "MochiKit/Base.js",
172     "MochiKit/Color.js",
173     "MochiKit/Controls.js",
174     "MochiKit/DateTime.js",
175     "MochiKit/DOM.js",
176     "MochiKit/DragAndDrop.js",
177     "MochiKit/Format.js",
178     "MochiKit/Iter.js",
179     "MochiKit/Logging.js",
180     "MochiKit/LoggingPane.js",
181     "MochiKit/MochiKit.js",
182     "MochiKit/MockDOM.js",
183     "MochiKit/New.js",
184     "MochiKit/Signal.js",
185     "MochiKit/Sortable.js",
186     "MochiKit/Style.js",
187     "MochiKit/Test.js",
188     "MochiKit/Visual.js",
191 TEST_HARNESS_FILES.testing.mochitest.tests.testing.mochitest.tests[
192     "MochiKit-1.4.2"
193 ].MochiKit += [
194     "tests/MochiKit-1.4.2/MochiKit/Async.js",
195     "tests/MochiKit-1.4.2/MochiKit/Base.js",
196     "tests/MochiKit-1.4.2/MochiKit/Color.js",
197     "tests/MochiKit-1.4.2/MochiKit/DateTime.js",
198     "tests/MochiKit-1.4.2/MochiKit/DOM.js",
199     "tests/MochiKit-1.4.2/MochiKit/DragAndDrop.js",
200     "tests/MochiKit-1.4.2/MochiKit/Format.js",
201     "tests/MochiKit-1.4.2/MochiKit/Iter.js",
202     "tests/MochiKit-1.4.2/MochiKit/Logging.js",
203     "tests/MochiKit-1.4.2/MochiKit/LoggingPane.js",
204     "tests/MochiKit-1.4.2/MochiKit/MochiKit.js",
205     "tests/MochiKit-1.4.2/MochiKit/MockDOM.js",
206     "tests/MochiKit-1.4.2/MochiKit/Position.js",
207     "tests/MochiKit-1.4.2/MochiKit/Selector.js",
208     "tests/MochiKit-1.4.2/MochiKit/Signal.js",
209     "tests/MochiKit-1.4.2/MochiKit/Sortable.js",
210     "tests/MochiKit-1.4.2/MochiKit/Style.js",
211     "tests/MochiKit-1.4.2/MochiKit/Test.js",
212     "tests/MochiKit-1.4.2/MochiKit/Visual.js",
215 TEST_HARNESS_FILES.testing.mochitest.iceserver += [
216     "/testing/tools/iceserver/iceserver.py",
219 TEST_HARNESS_FILES.testing.mochitest.websocketprocessbridge += [
220     "/testing/tools/websocketprocessbridge/websocketprocessbridge.py",
221     "/testing/tools/websocketprocessbridge/websocketprocessbridge_requirements_3.txt",
224 TEST_HARNESS_FILES.testing.mochitest.DoHServer.dns_packet += [
225     "../xpcshell/dns-packet/classes.js",
226     "../xpcshell/dns-packet/index.js",
227     "../xpcshell/dns-packet/opcodes.js",
228     "../xpcshell/dns-packet/optioncodes.js",
229     "../xpcshell/dns-packet/package.json",
230     "../xpcshell/dns-packet/rcodes.js",
231     "../xpcshell/dns-packet/test.js",
232     "../xpcshell/dns-packet/types.js",
235 TEST_HARNESS_FILES.testing.mochitest.Http2Server.node_ws += [
236     "../xpcshell/node-ws/browser.js",
237     "../xpcshell/node-ws/index.js",
238     "../xpcshell/node-ws/package.json",
239     "../xpcshell/node-ws/wrapper.mjs",
242 TEST_HARNESS_FILES.testing.mochitest.Http2Server.node_ws.lib += [
243     "../xpcshell/node-ws/lib/buffer-util.js",
244     "../xpcshell/node-ws/lib/constants.js",
245     "../xpcshell/node-ws/lib/event-target.js",
246     "../xpcshell/node-ws/lib/extension.js",
247     "../xpcshell/node-ws/lib/limiter.js",
248     "../xpcshell/node-ws/lib/permessage-deflate.js",
249     "../xpcshell/node-ws/lib/receiver.js",
250     "../xpcshell/node-ws/lib/sender.js",
251     "../xpcshell/node-ws/lib/stream.js",
252     "../xpcshell/node-ws/lib/subprotocol.js",
253     "../xpcshell/node-ws/lib/validation.js",
254     "../xpcshell/node-ws/lib/websocket-server.js",
255     "../xpcshell/node-ws/lib/websocket.js",
258 TEST_HARNESS_FILES.testing.mochitest.DoHServer.node_ip += [
259     "../xpcshell/node_ip/package.json",
262 TEST_HARNESS_FILES.testing.mochitest.DoHServer.node_ip.lib += [
263     "../xpcshell/node_ip/lib/ip.js",
266 with Files("**"):
267     BUG_COMPONENT = ("Testing", "Mochitest")
268     SCHEDULES.exclusive = ["mochitest"]
270 with Files("*remote*"):
271     BUG_COMPONENT = ("GeckoView", "General")