2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 01:05:39 +04:00
|
|
|
# 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/.
|
|
|
|
|
|
|
|
DIRS += [
|
2014-03-11 21:40:43 +04:00
|
|
|
'manifests',
|
2013-02-26 01:05:39 +04:00
|
|
|
'tests',
|
|
|
|
'ssltunnel',
|
2015-02-12 01:28:44 +03:00
|
|
|
'BrowserTestUtils',
|
2013-02-26 01:05:39 +04:00
|
|
|
]
|
|
|
|
|
2013-10-21 22:09:06 +04:00
|
|
|
XPI_NAME = 'mochijar'
|
2013-12-10 11:18:11 +04:00
|
|
|
|
2018-07-25 17:19:14 +03:00
|
|
|
USE_EXTENSION_MANIFEST = True
|
2015-04-15 23:04:49 +03:00
|
|
|
|
2018-07-06 01:42:11 +03:00
|
|
|
FINAL_TARGET_FILES += [
|
|
|
|
'api.js',
|
|
|
|
'manifest.json',
|
|
|
|
'schema.json',
|
|
|
|
]
|
|
|
|
|
|
|
|
FINAL_TARGET_FILES.content += [
|
2019-12-02 22:16:22 +03:00
|
|
|
'browser-harness.xhtml',
|
2018-07-06 01:42:11 +03:00
|
|
|
'browser-test.js',
|
|
|
|
'chrome-harness.js',
|
|
|
|
'chunkifyTests.js',
|
2019-12-02 22:16:22 +03:00
|
|
|
'harness.xhtml',
|
2018-07-06 01:42:11 +03:00
|
|
|
'manifestLibrary.js',
|
|
|
|
'mochitest-e10s-utils.js',
|
|
|
|
'redirect.html',
|
|
|
|
'server.js',
|
|
|
|
'shutdown-leaks-collector.js',
|
|
|
|
'ShutdownLeaksCollector.jsm',
|
|
|
|
]
|
|
|
|
|
|
|
|
FINAL_TARGET_FILES.content.dynamic += [
|
|
|
|
'dynamic/getMyDirectory.sjs',
|
|
|
|
]
|
|
|
|
|
|
|
|
FINAL_TARGET_FILES.content.static += [
|
|
|
|
'static/harness.css',
|
|
|
|
]
|
2018-07-06 01:42:11 +03:00
|
|
|
|
2018-07-06 01:42:11 +03:00
|
|
|
FINAL_TARGET_FILES.content.tests.SimpleTest += [
|
|
|
|
'../../docshell/test/chrome/docshell_helpers.js',
|
|
|
|
'../modules/StructuredLog.jsm',
|
|
|
|
'tests/SimpleTest/EventUtils.js',
|
|
|
|
'tests/SimpleTest/ExtensionTestUtils.js',
|
|
|
|
'tests/SimpleTest/iframe-between-tests.html',
|
|
|
|
'tests/SimpleTest/LogController.js',
|
|
|
|
'tests/SimpleTest/MemoryStats.js',
|
|
|
|
'tests/SimpleTest/MockObjects.js',
|
2019-06-11 21:37:52 +03:00
|
|
|
'tests/SimpleTest/MozillaLogger.js',
|
2018-07-06 01:42:11 +03:00
|
|
|
'tests/SimpleTest/NativeKeyCodes.js',
|
|
|
|
'tests/SimpleTest/paint_listener.js',
|
|
|
|
'tests/SimpleTest/setup.js',
|
|
|
|
'tests/SimpleTest/SimpleTest.js',
|
|
|
|
'tests/SimpleTest/test.css',
|
|
|
|
'tests/SimpleTest/TestRunner.js',
|
|
|
|
'tests/SimpleTest/WindowSnapshot.js',
|
2020-07-03 01:30:53 +03:00
|
|
|
'tests/SimpleTest/WorkerHandler.js',
|
|
|
|
'tests/SimpleTest/WorkerSimpleTest.js'
|
2018-07-06 01:42:11 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
FINAL_TARGET_FILES.content.tests.BrowserTestUtils += [
|
|
|
|
'BrowserTestUtils/content/content-about-page-utils.js',
|
|
|
|
'BrowserTestUtils/content/content-task.js',
|
|
|
|
]
|
2016-01-25 17:55:57 +03:00
|
|
|
|
2014-03-05 00:54:31 +04:00
|
|
|
MOCHITEST_MANIFESTS += [
|
2018-04-25 22:22:28 +03:00
|
|
|
'baselinecoverage/plain/mochitest.ini',
|
2014-03-05 00:54:31 +04:00
|
|
|
'tests/MochiKit-1.4.2/tests/mochitest.ini',
|
|
|
|
]
|
2018-04-25 22:22:28 +03:00
|
|
|
|
|
|
|
MOCHITEST_CHROME_MANIFESTS += [
|
|
|
|
'baselinecoverage/chrome/chrome.ini',
|
|
|
|
'chrome/chrome.ini'
|
|
|
|
]
|
|
|
|
|
|
|
|
BROWSER_CHROME_MANIFESTS += [
|
|
|
|
'baselinecoverage/browser_chrome/browser.ini'
|
|
|
|
]
|
2014-08-15 22:28:26 +04:00
|
|
|
|
|
|
|
TEST_HARNESS_FILES.testing.mochitest += [
|
|
|
|
'/build/mobile/remoteautomation.py',
|
|
|
|
'/build/pgo/server-locations.txt',
|
2016-02-03 20:43:05 +03:00
|
|
|
'/build/valgrind/cross-architecture.sup',
|
2018-01-27 04:22:56 +03:00
|
|
|
'/build/valgrind/i386-pc-linux-gnu.sup',
|
|
|
|
'/build/valgrind/x86_64-pc-linux-gnu.sup',
|
2014-08-15 22:28:26 +04:00
|
|
|
'/netwerk/test/httpserver/httpd.js',
|
|
|
|
'bisection.py',
|
2019-12-02 22:16:22 +03:00
|
|
|
'browser-harness.xhtml',
|
2014-08-15 22:28:26 +04:00
|
|
|
'browser-test.js',
|
|
|
|
'chrome-harness.js',
|
|
|
|
'chunkifyTests.js',
|
2020-01-08 21:41:01 +03:00
|
|
|
'document-builder.sjs',
|
2018-06-29 02:06:09 +03:00
|
|
|
'favicon.ico',
|
2019-12-02 22:16:22 +03:00
|
|
|
'harness.xhtml',
|
2015-06-29 21:09:51 +03:00
|
|
|
'leaks.py',
|
2015-05-26 17:12:51 +03:00
|
|
|
'mach_test_package_commands.py',
|
2014-08-15 22:28:26 +04:00
|
|
|
'manifest.webapp',
|
|
|
|
'manifestLibrary.js',
|
|
|
|
'mochitest_options.py',
|
|
|
|
'pywebsocket_wrapper.py',
|
|
|
|
'redirect.html',
|
2018-04-18 23:43:33 +03:00
|
|
|
'runjunit.py',
|
2014-08-15 22:28:26 +04:00
|
|
|
'runtests.py',
|
|
|
|
'runtestsremote.py',
|
|
|
|
'server.js',
|
2016-01-25 17:55:57 +03:00
|
|
|
'start_desktop.js',
|
2014-08-15 22:28:26 +04:00
|
|
|
]
|
|
|
|
|
2016-06-24 13:12:53 +03:00
|
|
|
TEST_HARNESS_FILES.testing.mochitest.embed += [
|
|
|
|
'embed/Xm5i5kbIXzc',
|
|
|
|
'embed/Xm5i5kbIXzc^headers^',
|
|
|
|
]
|
|
|
|
|
2014-08-15 22:28:26 +04:00
|
|
|
TEST_HARNESS_FILES.testing.mochitest.pywebsocket += [
|
|
|
|
'pywebsocket/standalone.py',
|
|
|
|
]
|
|
|
|
|
|
|
|
TEST_HARNESS_FILES.testing.mochitest.pywebsocket.mod_pywebsocket += [
|
|
|
|
'pywebsocket/mod_pywebsocket/__init__.py',
|
|
|
|
'pywebsocket/mod_pywebsocket/_stream_base.py',
|
|
|
|
'pywebsocket/mod_pywebsocket/_stream_hixie75.py',
|
|
|
|
'pywebsocket/mod_pywebsocket/_stream_hybi.py',
|
|
|
|
'pywebsocket/mod_pywebsocket/common.py',
|
|
|
|
'pywebsocket/mod_pywebsocket/dispatch.py',
|
|
|
|
'pywebsocket/mod_pywebsocket/extensions.py',
|
2014-12-29 14:43:40 +03:00
|
|
|
'pywebsocket/mod_pywebsocket/fast_masking.i',
|
2014-08-15 22:28:26 +04:00
|
|
|
'pywebsocket/mod_pywebsocket/headerparserhandler.py',
|
|
|
|
'pywebsocket/mod_pywebsocket/http_header_util.py',
|
|
|
|
'pywebsocket/mod_pywebsocket/memorizingfile.py',
|
|
|
|
'pywebsocket/mod_pywebsocket/msgutil.py',
|
2014-12-29 14:43:40 +03:00
|
|
|
'pywebsocket/mod_pywebsocket/mux.py',
|
2014-08-15 22:28:26 +04:00
|
|
|
'pywebsocket/mod_pywebsocket/stream.py',
|
|
|
|
'pywebsocket/mod_pywebsocket/util.py',
|
2014-12-29 14:43:40 +03:00
|
|
|
'pywebsocket/mod_pywebsocket/xhr_benchmark_handler.py',
|
2014-08-15 22:28:26 +04:00
|
|
|
]
|
|
|
|
|
|
|
|
TEST_HARNESS_FILES.testing.mochitest.pywebsocket.mod_pywebsocket.handshake += [
|
|
|
|
'pywebsocket/mod_pywebsocket/handshake/__init__.py',
|
|
|
|
'pywebsocket/mod_pywebsocket/handshake/_base.py',
|
|
|
|
'pywebsocket/mod_pywebsocket/handshake/hybi.py',
|
|
|
|
'pywebsocket/mod_pywebsocket/handshake/hybi00.py',
|
|
|
|
]
|
2016-01-28 04:46:34 +03:00
|
|
|
|
|
|
|
TEST_HARNESS_FILES.testing.mochitest.dynamic += [
|
|
|
|
'dynamic/getMyDirectory.sjs',
|
|
|
|
]
|
|
|
|
|
|
|
|
TEST_HARNESS_FILES.testing.mochitest.static += [
|
|
|
|
'static/harness.css',
|
|
|
|
]
|
|
|
|
|
|
|
|
TEST_HARNESS_FILES.testing.mochitest.MochiKit += [
|
|
|
|
'MochiKit/__package__.js',
|
|
|
|
'MochiKit/Async.js',
|
|
|
|
'MochiKit/Base.js',
|
|
|
|
'MochiKit/Color.js',
|
|
|
|
'MochiKit/Controls.js',
|
|
|
|
'MochiKit/DateTime.js',
|
|
|
|
'MochiKit/DOM.js',
|
|
|
|
'MochiKit/DragAndDrop.js',
|
|
|
|
'MochiKit/Format.js',
|
|
|
|
'MochiKit/Iter.js',
|
|
|
|
'MochiKit/Logging.js',
|
|
|
|
'MochiKit/LoggingPane.js',
|
|
|
|
'MochiKit/MochiKit.js',
|
|
|
|
'MochiKit/MockDOM.js',
|
|
|
|
'MochiKit/New.js',
|
|
|
|
'MochiKit/Signal.js',
|
|
|
|
'MochiKit/Sortable.js',
|
|
|
|
'MochiKit/Style.js',
|
|
|
|
'MochiKit/Test.js',
|
|
|
|
'MochiKit/Visual.js',
|
|
|
|
]
|
|
|
|
|
|
|
|
TEST_HARNESS_FILES.testing.mochitest.tests.testing.mochitest.tests['MochiKit-1.4.2'].MochiKit += [
|
|
|
|
'tests/MochiKit-1.4.2/MochiKit/Async.js',
|
|
|
|
'tests/MochiKit-1.4.2/MochiKit/Base.js',
|
|
|
|
'tests/MochiKit-1.4.2/MochiKit/Color.js',
|
|
|
|
'tests/MochiKit-1.4.2/MochiKit/DateTime.js',
|
|
|
|
'tests/MochiKit-1.4.2/MochiKit/DOM.js',
|
|
|
|
'tests/MochiKit-1.4.2/MochiKit/DragAndDrop.js',
|
|
|
|
'tests/MochiKit-1.4.2/MochiKit/Format.js',
|
|
|
|
'tests/MochiKit-1.4.2/MochiKit/Iter.js',
|
|
|
|
'tests/MochiKit-1.4.2/MochiKit/Logging.js',
|
|
|
|
'tests/MochiKit-1.4.2/MochiKit/LoggingPane.js',
|
|
|
|
'tests/MochiKit-1.4.2/MochiKit/MochiKit.js',
|
|
|
|
'tests/MochiKit-1.4.2/MochiKit/MockDOM.js',
|
|
|
|
'tests/MochiKit-1.4.2/MochiKit/Position.js',
|
|
|
|
'tests/MochiKit-1.4.2/MochiKit/Selector.js',
|
|
|
|
'tests/MochiKit-1.4.2/MochiKit/Signal.js',
|
|
|
|
'tests/MochiKit-1.4.2/MochiKit/Sortable.js',
|
|
|
|
'tests/MochiKit-1.4.2/MochiKit/Style.js',
|
|
|
|
'tests/MochiKit-1.4.2/MochiKit/Test.js',
|
|
|
|
'tests/MochiKit-1.4.2/MochiKit/Visual.js',
|
|
|
|
]
|
2016-03-16 01:02:00 +03:00
|
|
|
|
|
|
|
TEST_HARNESS_FILES.testing.mochitest.iceserver += [
|
|
|
|
'/testing/tools/iceserver/iceserver.py',
|
|
|
|
]
|
|
|
|
|
|
|
|
TEST_HARNESS_FILES.testing.mochitest.websocketprocessbridge += [
|
|
|
|
'/testing/tools/websocketprocessbridge/websocketprocessbridge.py',
|
2016-03-16 00:27:36 +03:00
|
|
|
'/testing/tools/websocketprocessbridge/websocketprocessbridge_requirements.txt',
|
2016-03-16 01:02:00 +03:00
|
|
|
]
|
|
|
|
|
2016-12-31 00:16:56 +03:00
|
|
|
with Files("**"):
|
|
|
|
BUG_COMPONENT = ("Testing", "Mochitest")
|
2019-09-24 18:10:21 +03:00
|
|
|
SCHEDULES.exclusive = ['mochitest']
|
2016-12-31 00:16:56 +03:00
|
|
|
|
2017-01-13 16:40:30 +03:00
|
|
|
with Files("*remote*"):
|
2020-03-17 21:36:33 +03:00
|
|
|
BUG_COMPONENT = ("GeckoView", "General")
|