Don't build testing suites and stuff part 2
authorCarsten Schoenert <c.schoenert@t-online.de>
Sat, 30 Jun 2018 18:51:11 +0000 (20:51 +0200)
committerPeter Micheal Green <plugwash@raspbian.org>
Fri, 18 Jan 2019 23:40:33 +0000 (23:40 +0000)
Some more testsuites which are not buildable due the cleaning out of
some DFSG non compatible files, mostly HTML (with JS) or JS files.

Gbp-Pq: Topic debian-hacks
Gbp-Pq: Name Don-t-build-testing-suites-and-stuff-part-2.patch

20 files changed:
devtools/client/shared/moz.build
devtools/client/shared/source-map/moz.build
devtools/client/shared/vendor/moz.build
devtools/client/sourceeditor/tern/moz.build
devtools/client/webconsole/new-console-output/test/fixtures/stubs/moz.build
devtools/server/actors/utils/moz.build
devtools/shared/acorn/moz.build
devtools/shared/sourcemap/moz.build
dom/canvas/moz.build
dom/html/moz.build
dom/indexedDB/moz.build
dom/media/moz.build
dom/push/moz.build
editor/libeditor/moz.build
layout/base/moz.build
services/common/moz.build
toolkit/components/extensions/moz.build
toolkit/components/passwordmgr/moz.build
toolkit/components/prompts/moz.build
toolkit/components/search/moz.build

index 5a08e1df8ec1caacaca207e7bfe14b74bb78dadb..61d3f4ea486d75472852fdb52a51d46aab2c44c2 100644 (file)
@@ -27,7 +27,7 @@ DevToolsModules(
     'browser-loader.js',
     'css-angle.js',
     'curl.js',
-    'demangle.js',
+#    'demangle.js',
     'developer-toolbar.js',
     'devices.js',
     'DOMHelpers.jsm',
index 21f634c39df3aa81f32d2184d1e2e9b7133b0884..e5fd35fd0695c693131007b68136ed9962f78713 100644 (file)
@@ -4,7 +4,9 @@
 # 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/.
 
-DevToolsModules(
-    'index.js',
-    'worker.js',
-)
+# Don't build any testsuites. We have filteres out some needed content for
+# this as some files are not DFSG clean.
+#DevToolsModules(
+#    'index.js',
+#    'worker.js',
+#)
index 0775cfa0d90da81a25f1c34787637607328a0358..7260aa31fffc3239673269fa65fb56cf89cd2a46 100644 (file)
@@ -11,21 +11,21 @@ DIRS += [
 DevToolsModules(
     'immutable.js',
     'jsol.js',
-    'jszip.js',
+#    'jszip.js',
     'lodash.js',
     'react-dom-factories.js',
     'react-dom-server.js',
     'react-dom-test-utils.js',
     'react-dom.js',
-    'react-prop-types.js',
+#    'react-prop-types.js',
     'react-redux.js',
-    'react-test-renderer-shallow.js',
+#    'react-test-renderer-shallow.js',
     'react.js',
-    'redux.js',
+#    'redux.js',
     'reselect.js',
     'seamless-immutable.js',
     'WasmDis.js',
-    'WasmParser.js',
+#    'WasmParser.js',
 )
 
 # react dev versions are used if either debug mode is enabled,
index cba3f5a1bc47bfdfc8cfd1ff1fa5b93ff97ee593..4553da7f09026a002e4f72fa6e79002f6e35e6db 100644 (file)
@@ -11,7 +11,7 @@ DevToolsModules(
     'comment.js',
     'condense.js',
     'def.js',
-    'ecma5.js',
+#    'ecma5.js',
     'infer.js',
     'signal.js',
     'tern.js',
index ae0f9dcde1907a138fe38bc38f81a43839c6014d..d053f66b9703c158b54fa63930012114557073af 100644 (file)
@@ -3,10 +3,10 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 DevToolsModules(
-  'consoleApi.js',
+#  'consoleApi.js',
   'cssMessage.js',
-  'evaluationResult.js',
+#  'evaluationResult.js',
   'index.js',
   'networkEvent.js',
-  'pageError.js',
+#  'pageError.js',
 )
index 45f4e5725067d9f17390c082a9ee9da289497d0c..26ba1aee0ea902aef85301c223058f80f30d825d 100644 (file)
@@ -7,7 +7,7 @@
 DevToolsModules(
     'actor-registry-utils.js',
     'audionodes.json',
-    'automation-timeline.js',
+#    'automation-timeline.js',
     'breakpoint-actor-map.js',
     'css-grid-utils.js',
     'event-loop.js',
index 8fd5375ef7ac3d4f55a2dd76d6873b95fe51c115..78c57012c64e2ac9cea6842ad168e83bed5ae6bd 100644 (file)
@@ -6,8 +6,10 @@
 
 XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
 
-DevToolsModules(
-    'acorn.js',
-    'acorn_loose.js',
-    'walk.js',
-)
+# Don't build any testsuites. We have filteres out some needed content for
+# this as some files are not DFSG clean.
+#DevToolsModules(
+#    'acorn.js',
+#    'acorn_loose.js',
+#    'walk.js',
+#)
index 45974964587079bce1edeeaef2f2454679a787a9..0ee99318ab7c9a35ffc7a505114f81e9ed0da9bb 100644 (file)
@@ -4,7 +4,9 @@
 # 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/.
 
-XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
+# Don't build any testsuites. We have filteres out some needed content for
+# this as some files are not DFSG clean.
+#XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
 
 DevToolsModules(
     'source-map.js'
index e1bd52187104ee793a5caf23740baa09c5bcdb38..1e4b81d5e6dfc933299fe9b2fa380f6de55d402b 100644 (file)
@@ -35,13 +35,15 @@ TEST_DIRS += [
 # Change the following line(s) to avoid bug 1081323 (clobber after changing a manifest):
 # * Adjust failure errata for webgl-conf.
 
-MOCHITEST_MANIFESTS += [
-    'test/crash/mochitest.ini',
-    'test/crossorigin/mochitest.ini',
-    'test/mochitest.ini',
-    'test/webgl-conf/generated-mochitest.ini',
-    'test/webgl-mochitest/mochitest.ini',
-]
+# Don't build any testsuites. We have filteres out some needed content for
+# this as some files are not DFSG clean.
+#MOCHITEST_MANIFESTS += [
+#    'test/crash/mochitest.ini',
+#    'test/crossorigin/mochitest.ini',
+#    'test/mochitest.ini',
+#    'test/webgl-conf/generated-mochitest.ini',
+#    'test/webgl-mochitest/mochitest.ini',
+#]
 
 MOCHITEST_CHROME_MANIFESTS += ['test/chrome/chrome.ini']
 
index 93551d6f2f68c42d68b02cd1c601232d9c976e3f..ca70c3ead6c3a49ab3b353856ec98a247689a4c4 100644 (file)
@@ -9,10 +9,10 @@ with Files("**"):
 
 DIRS += ['input']
 
-MOCHITEST_MANIFESTS += [
-    'test/forms/mochitest.ini',
-    'test/mochitest.ini',
-]
+#MOCHITEST_MANIFESTS += [
+#    'test/forms/mochitest.ini',
+#    'test/mochitest.ini',
+#]
 
 MOCHITEST_CHROME_MANIFESTS += [
     'test/chrome.ini',
index 3f9f46d219d58630495478b95e792b389e4ce621..f6b0e39cc93024867677d2f956e271e58ebcbaae 100644 (file)
@@ -7,19 +7,23 @@
 with Files("**"):
     BUG_COMPONENT = ("Core", "DOM: IndexedDB")
 
-MOCHITEST_MANIFESTS += [
-    'test/mochitest-intl-api.ini',
-    'test/mochitest.ini',
-]
+# Don't build any testsuites. We have filteres out some needed content for
+# this as some files are not DFSG clean.
+#MOCHITEST_MANIFESTS += [
+#    'test/mochitest-intl-api.ini',
+#    'test/mochitest.ini',
+#]
 
 BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
 
 MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']
 
-XPCSHELL_TESTS_MANIFESTS += [
-    'test/unit/xpcshell-child-process.ini',
-    'test/unit/xpcshell-parent-process.ini'
-]
+# Don't build any testsuites. We have filteres out some needed content for
+# this as some files are not DFSG clean.
+#XPCSHELL_TESTS_MANIFESTS += [
+#    'test/unit/xpcshell-child-process.ini',
+#    'test/unit/xpcshell-parent-process.ini'
+#]
 
 EXPORTS.mozilla.dom += [
     'IDBCursor.h',
index 4b1ca538f9278f1aa4f336f5a7401bb0c287c638..d60d4ad0125dacfe834356646129355fb30560ff 100644 (file)
@@ -68,10 +68,12 @@ TEST_DIRS += [
     'gtest',
 ]
 
-MOCHITEST_MANIFESTS += [
-    'test/mochitest.ini',
-    'tests/mochitest/identity/mochitest.ini',
-]
+# Don't build any testsuites. We have filteres out some needed content for
+# this as some files are not DFSG clean.
+#MOCHITEST_MANIFESTS += [
+#    'test/mochitest.ini',
+#    'tests/mochitest/identity/mochitest.ini',
+#]
 
 if CONFIG['MOZ_WEBRTC']:
     MOCHITEST_MANIFESTS += ['tests/mochitest/mochitest.ini']
index f1aba80a17c85fde95a6ac97792c299faa85860e..3744330795f06826bebdf0a8ad7d7467c38d548a 100644 (file)
@@ -31,13 +31,15 @@ else:
         'PushServiceAndroidGCM.jsm',
     ]
 
-MOCHITEST_MANIFESTS += [
-    'test/mochitest.ini',
-]
+# Don't build any testsuites. We have filteres out some needed content for
+# this as some files are not DFSG clean.
+#MOCHITEST_MANIFESTS += [
+#    'test/mochitest.ini',
+#]
 
-XPCSHELL_TESTS_MANIFESTS += [
-    'test/xpcshell/xpcshell.ini',
-]
+#XPCSHELL_TESTS_MANIFESTS += [
+#    'test/xpcshell/xpcshell.ini',
+#]
 
 EXPORTS.mozilla.dom += [
     'PushManager.h',
index f7b252041efd27c1712dccbfa4a496fa78816e76..f35a5e0dc72b6b1944f4c8f1ba2cf406caa67ef2 100644 (file)
@@ -4,10 +4,12 @@
 # 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/.
 
-MOCHITEST_MANIFESTS += [
-    'tests/browserscope/mochitest.ini',
-    'tests/mochitest.ini',
-]
+# Don't build any testsuites. We have filteres out some needed content for
+# this as some files are not DFSG clean.
+#MOCHITEST_MANIFESTS += [
+#    'tests/browserscope/mochitest.ini',
+#    'tests/mochitest.ini',
+#]
 
 MOCHITEST_CHROME_MANIFESTS += ['tests/chrome.ini']
 
index 35fbcf2f58214a0fcc98909034c31bd628ffc0f2..82628c7b2feb7adf5586f17a6ef31839b46e58fe 100644 (file)
@@ -175,7 +175,7 @@ FINAL_LIBRARY = 'xul'
 
 BROWSER_CHROME_MANIFESTS += ['tests/browser.ini']
 MARIONETTE_LAYOUT_MANIFESTS += ['tests/marionette/manifest.ini']
-MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
+#MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
 MOCHITEST_CHROME_MANIFESTS += ['tests/chrome/chrome.ini']
 
 if CONFIG['CC_TYPE'] in ('msvc', 'clang-cl'):
index c5a8cbdc5c3dd60a9062ce70a275a2dfc2bc9e5c..1937df757e61c61aef232e3cfec0ab5856dd7bc9 100644 (file)
@@ -17,9 +17,9 @@ EXTRA_JS_MODULES['services-common'] += [
     'async.js',
     'blocklist-clients.js',
     'blocklist-updater.js',
-    'kinto-http-client.js',
-    'kinto-offline-client.js',
-    'kinto-storage-adapter.js',
+#    'kinto-http-client.js',
+#    'kinto-offline-client.js',
+#    'kinto-storage-adapter.js',
     'logmanager.js',
     'observers.js',
     'rest.js',
index 2b0c1a29d3675e742f11fff896090bef9f60e759..22f49b9d88c28524c8513ade833a639870aa3e61 100644 (file)
@@ -74,21 +74,23 @@ FINAL_LIBRARY = 'xul'
 
 JAR_MANIFESTS += ['jar.mn']
 
-BROWSER_CHROME_MANIFESTS += [
-    'test/browser/browser.ini',
-]
-
-MOCHITEST_MANIFESTS += [
-    'test/mochitest/mochitest-remote.ini',
-    'test/mochitest/mochitest.ini'
-]
-MOCHITEST_CHROME_MANIFESTS += ['test/mochitest/chrome.ini']
-XPCSHELL_TESTS_MANIFESTS += [
-    'test/xpcshell/native_messaging.ini',
-    'test/xpcshell/xpcshell-e10s.ini',
-    'test/xpcshell/xpcshell-remote.ini',
-    'test/xpcshell/xpcshell.ini',
-]
+# Don't build any testsuites. We have filteres out some needed content for
+# this as some files are not DFSG clean.
+#BROWSER_CHROME_MANIFESTS += [
+#    'test/browser/browser.ini',
+#]
+
+#MOCHITEST_MANIFESTS += [
+#    'test/mochitest/mochitest-remote.ini',
+#    'test/mochitest/mochitest.ini'
+#]
+#MOCHITEST_CHROME_MANIFESTS += ['test/mochitest/chrome.ini']
+#XPCSHELL_TESTS_MANIFESTS += [
+#    'test/xpcshell/native_messaging.ini',
+#    'test/xpcshell/xpcshell-e10s.ini',
+#    'test/xpcshell/xpcshell-remote.ini',
+#    'test/xpcshell/xpcshell.ini',
+#]
 
 SPHINX_TREES['webextensions'] = 'docs'
 
index 72c8c70a470d0de88d41cb7c02f28a84b70f2f12..bb9de5947a499034d81d7868049b34531aa01247 100644 (file)
@@ -7,16 +7,18 @@
 if CONFIG['MOZ_BUILD_APP'] == 'browser':
     DEFINES['MOZ_BUILD_APP_IS_BROWSER'] = True
 
-MOCHITEST_MANIFESTS += ['test/mochitest.ini', 'test/mochitest/mochitest.ini']
-MOCHITEST_CHROME_MANIFESTS += ['test/chrome/chrome.ini']
-BROWSER_CHROME_MANIFESTS += ['test/browser/browser.ini']
-XPCSHELL_TESTS_MANIFESTS += ['test/unit/xpcshell.ini']
+# Don't build any testsuites. We have filteres out some needed content for
+# this as some files are not DFSG clean.
+#MOCHITEST_MANIFESTS += ['test/mochitest.ini', 'test/mochitest/mochitest.ini']
+#MOCHITEST_CHROME_MANIFESTS += ['test/chrome/chrome.ini']
+#BROWSER_CHROME_MANIFESTS += ['test/browser/browser.ini']
+#XPCSHELL_TESTS_MANIFESTS += ['test/unit/xpcshell.ini']
 
-TESTING_JS_MODULES += [
+#TESTING_JS_MODULES += [
     # Make this file available from the "resource:" URI of the test environment.
-    'test/browser/form_basic.html',
-    'test/LoginTestUtils.jsm',
-]
+#    'test/browser/form_basic.html',
+#    'test/LoginTestUtils.jsm',
+#]
 
 XPIDL_SOURCES += [
     'nsILoginInfo.idl',
index 63b8ba342eafad2f65eb4915170f2b3655da001b..7bfd6c38691f3c1ab13b4a00f2d1893952a56da2 100644 (file)
@@ -10,6 +10,8 @@ with Files('**'):
 
 DIRS += ['src']
 
-MOCHITEST_MANIFESTS += ['test/mochitest.ini']
+# Don't build any testsuites. We have filteres out some needed content for
+# this as some files are not DFSG clean.
+#MOCHITEST_MANIFESTS += ['test/mochitest.ini']
 
 JAR_MANIFESTS += ['jar.mn']
index 98ccf2b8d056f503c1b460c632a8692bb3e44b7b..31c8a720e15687a478e22752d67b3551cffaec24 100644 (file)
@@ -4,7 +4,9 @@
 # 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/.
 
-XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell/xpcshell.ini']
+# Don't build any testsuites. We have filteres out some needed content for
+# this as some files are not DFSG clean.
+#XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell/xpcshell.ini']
 
 EXTRA_COMPONENTS += [
     'nsSearchService.js',