bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS

This commit is contained in:
Joey Armstrong 2013-04-29 14:49:00 -04:00
parent f985d453d4
commit 12356a4c50
198 changed files with 297 additions and 112 deletions

View File

@ -8,7 +8,7 @@ srcdir = @srcdir@
VPATH = @srcdir@
relativesrcdir = @relativesrcdir@
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk

View File

@ -6,3 +6,4 @@
MODULE = 'test_addon_sdk'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -13,6 +13,6 @@ FAIL_ON_WARNINGS := 1
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
include $(topsrcdir)/config/rules.mk

View File

@ -6,3 +6,4 @@
MODULE = 'B2GComponents'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -10,6 +10,6 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
include $(topsrcdir)/config/rules.mk

View File

@ -6,3 +6,4 @@
MODULE = 'test_browserdir'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -10,6 +10,6 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
include $(topsrcdir)/config/rules.mk

View File

@ -5,3 +5,5 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
DIRS += ['browser']
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -10,7 +10,7 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
MOCHITEST_FILES = bug408328-data.xml \
bug368464-data.xml \

View File

@ -8,3 +8,4 @@ DIRS += ['chrome']
MODULE = 'test_browser_feeds'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -10,6 +10,6 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
include $(topsrcdir)/config/rules.mk

View File

@ -4,3 +4,4 @@
# 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 += ['unit/xpcshell.ini']

View File

@ -11,6 +11,6 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
include $(topsrcdir)/config/rules.mk

View File

@ -8,3 +8,4 @@ DIRS += ['browser', 'chrome']
MODULE = 'test_browser_places'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -15,7 +15,7 @@ include $(DEPTH)/config/autoconf.mk
# browser_589246.js is disabled for leaking browser windows (bug 752467)
# browser_580512.js is disabled for leaking browser windows (bug 752467)
XPCSHELL_TESTS = \
DISABLED_XPCSHELL_TESTS = \
unit \
$(NULL)

View File

@ -4,3 +4,4 @@
# 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 += ['unit/xpcshell.ini']

View File

@ -10,7 +10,7 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
MOCHITEST_BROWSER_FILES = browser_420786.js \

View File

@ -6,3 +6,4 @@
MODULE = 'test_browser_shell'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -11,7 +11,7 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
MOCHITEST_BROWSER_FILES = \
browser_browser_basic.js \

View File

@ -4,3 +4,4 @@
# 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 += ['unit/xpcshell.ini']

View File

@ -10,7 +10,7 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
# For now we're copying the actual Util code.
# We should make this into a jsm module. See bug 848137

View File

@ -5,3 +5,5 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
TEST_DIRS += ['mochitest']
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -10,11 +10,11 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit \
DISABLED_XPCSHELL_TESTS = unit \
$(NULL)
# FIXME/bug 575918: out-of-process xpcshell is broken on OS X
ifneq ($(OS_ARCH),Darwin)
XPCSHELL_TESTS += unit_ipc
DISABLED_XPCSHELL_TESTS += unit_ipc
endif
include $(topsrcdir)/config/rules.mk

View File

@ -6,3 +6,8 @@
MODULE = 'test_chrome'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']
# FIXME/bug 575918: out-of-process xpcshell is broken on OS X
if CONFIG['OS_ARCH'] != 'Darwin':
XPCSHELL_TESTS_MANIFESTS += ['unit_ipc/xpcshell.ini']

View File

@ -18,12 +18,12 @@ CPP_UNIT_TESTS = \
$(NULL)
XPCSHELL_TESTS = \
DISABLED_XPCSHELL_TESTS = \
unit \
$(NULL)
# FIXME/bug 575918: out-of-process xpcshell is broken on OS X
ifneq ($(OS_ARCH),Darwin)
XPCSHELL_TESTS += unit_ipc
DISABLED_XPCSHELL_TESTS += unit_ipc
endif

View File

@ -8,3 +8,8 @@ DIRS += ['chrome', 'websocket_hybi']
MODULE = 'content'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']
# FIXME/bug 575918: out-of-process xpcshell is broken on OS X
if CONFIG['OS_ARCH'] != 'Darwin':
XPCSHELL_TESTS_MANIFESTS += ['unit_ipc/xpcshell.ini']

View File

@ -11,6 +11,6 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
include $(topsrcdir)/config/rules.mk

View File

@ -6,3 +6,4 @@
MODULE = 'test_content'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -11,10 +11,10 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
# FIXME/bug 575918: out-of-process xpcshell is broken on OS X
ifneq ($(OS_ARCH),Darwin)
XPCSHELL_TESTS += unit_ipc
DISABLED_XPCSHELL_TESTS += unit_ipc
endif
MOCHITEST_FILES = \

View File

@ -8,3 +8,8 @@ DIRS += ['chrome', 'navigation', 'browser']
MODULE = 'test_docshell'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']
# FIXME/bug 575918: out-of-process xpcshell is broken on OS X
if CONFIG['OS_ARCH'] != 'Darwin':
XPCSHELL_TESTS_MANIFESTS += ['unit_ipc/xpcshell.ini']

View File

@ -12,6 +12,6 @@ FAIL_ON_WARNINGS := 1
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
include $(topsrcdir)/config/rules.mk

View File

@ -4,3 +4,4 @@
# 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 += ['unit/xpcshell.ini']

View File

@ -24,6 +24,6 @@ MOCHITEST_CHROME_FILES = \
test_apps_service.xul \
$(NULL)
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
include $(topsrcdir)/config/rules.mk

View File

@ -4,3 +4,4 @@
# 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 += ['unit/xpcshell.ini']

View File

@ -10,7 +10,7 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
MOCHITEST_FILES = \
file_utf16_be_bom.css \

View File

@ -5,3 +5,5 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
TEST_DIRS += ['unit']
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -30,7 +30,7 @@ DEFINES += -D_IMPL_NS_LAYOUT
MOCHITEST_FILES = test_ipc.html
# Need to enable these tests sometime soon.
#XPCSHELL_TESTS = unit
#DISABLED_XPCSHELL_TESTS = unit
# We're copying tests from another directory so this check is wrong for us.
#NO_XPCSHELL_MANIFEST_CHECK = 1
@ -39,9 +39,11 @@ include $(topsrcdir)/config/config.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk
include $(topsrcdir)/config/rules.mk
xpcshell_tests = unit
# Copy all the normal xpcshell tests from the regular unit directory.
copy-xpcshell-tests:
$(call install_cmd,$(wildcard $(topsrcdir)/dom/indexedDB/test/unit/test_*.js) \
$(testxpcobjdir)/$(relativesrcdir)/$(XPCSHELL_TESTS))
$(testxpcobjdir)/$(relativesrcdir)/$(xpcshell_tests))
libs-xpcshell-tests: copy-xpcshell-tests

View File

@ -10,3 +10,5 @@ EXPORTS.mozilla.dom.indexedDB += [
'SerializationHelpers.h',
]
# Need to enable these tests sometime soon.
#XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -10,7 +10,7 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
MOCHITEST_FILES = \
bfcache_iframe1.html \

View File

@ -5,3 +5,5 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
TEST_DIRS += ['unit']
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -13,7 +13,7 @@ include $(DEPTH)/config/autoconf.mk
ifdef MOZ_B2G_RIL
ifdef ENABLE_TESTS
XPCSHELL_TESTS = tests
DISABLED_XPCSHELL_TESTS = tests
endif
endif

View File

@ -5,3 +5,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
PARALLEL_DIRS += ['interfaces', 'src']
if CONFIG['MOZ_B2G_RIL'] and CONFIG['ENABLE_TESTS']:
XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell.ini']

View File

@ -12,7 +12,7 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
ifdef ENABLE_TESTS
XPCSHELL_TESTS = tests
DISABLED_XPCSHELL_TESTS = tests
endif
include $(topsrcdir)/config/rules.mk

View File

@ -6,3 +6,6 @@
DIRS += ['interfaces', 'src']
TEST_DIRS += ['tests']
if CONFIG['ENABLE_TESTS']:
XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell.ini']

View File

@ -27,10 +27,10 @@ MOCHITEST_FILES = \
$(NULL)
endif
XPCSHELL_TESTS = unit unit_ipc
DISABLED_XPCSHELL_TESTS = unit unit_ipc
ifdef MOZ_B2G_RIL
XPCSHELL_TESTS += unit_stats
DISABLED_XPCSHELL_TESTS += unit_stats
endif
include $(topsrcdir)/config/rules.mk

View File

@ -6,3 +6,7 @@
MODULE = 'test_dom_socket'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini', 'unit_ipc/xpcshell.ini']
if CONFIG['MOZ_B2G_RIL']:
XPCSHELL_TESTS_MANIFESTS += ['unit_stats/xpcshell.ini']

View File

@ -11,6 +11,6 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
include $(topsrcdir)/config/rules.mk

View File

@ -6,3 +6,4 @@
MODULE = 'test_dom_payment'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -11,7 +11,7 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
include $(topsrcdir)/config/rules.mk

View File

@ -6,3 +6,4 @@
MODULE = 'test_permission'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -11,7 +11,7 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = \
DISABLED_XPCSHELL_TESTS = \
unit \
$(NULL)

View File

@ -11,3 +11,4 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk2', 'cocoa', 'windows'):
MODULE = 'test_plugin'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -11,7 +11,7 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
MOCHITEST_FILES = test_json.html \
$(NULL)

View File

@ -6,3 +6,4 @@
MODULE = 'json_test'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -77,7 +77,7 @@ EXTRA_JS_MODULES = \
$(NULL)
ifdef ENABLE_TESTS
XPCSHELL_TESTS = tests
DISABLED_XPCSHELL_TESTS = tests
endif
include $(topsrcdir)/config/rules.mk

View File

@ -40,3 +40,6 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
'GonkGPSGeolocationProvider.h',
'nsVolume.h',
]
if CONFIG['ENABLE_TESTS']:
XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell.ini']

View File

@ -10,6 +10,6 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
include $(topsrcdir)/config/rules.mk

View File

@ -8,3 +8,4 @@ DIRS += ['mochitest', 'browser']
MODULE = 'test_dom'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -12,7 +12,7 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
ifdef ENABLE_TESTS
XPCSHELL_TESTS = tests/unit
DISABLED_XPCSHELL_TESTS = tests/unit
endif
include $(topsrcdir)/config/rules.mk

View File

@ -9,3 +9,5 @@ TEST_DIRS += ['test']
MODULE = 'embed'
if CONFIG['ENABLE_TESTS']:
XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']

View File

@ -61,11 +61,11 @@ MOCHITEST_BROWSER_FILES = \
browser_test_favicon.js \
$(NULL)
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
# FIXME/bug 575918: out-of-process xpcshell is broken on OS X
ifneq ($(OS_ARCH),Darwin)
XPCSHELL_TESTS += unit_ipc
DISABLED_XPCSHELL_TESTS += unit_ipc
endif
include $(topsrcdir)/config/rules.mk

View File

@ -6,3 +6,8 @@
MODULE = 'test_cookies'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']
# FIXME/bug 575918: out-of-process xpcshell is broken on OS X
if CONFIG['OS_ARCH'] != 'Darwin':
XPCSHELL_TESTS_MANIFESTS += ['unit_ipc/xpcshell.ini']

View File

@ -11,7 +11,7 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
ifdef ENABLE_TESTS
XPCSHELL_TESTS = tests/unit
DISABLED_XPCSHELL_TESTS = tests/unit
endif
include $(topsrcdir)/config/rules.mk

View File

@ -8,3 +8,5 @@ DIRS += ['src']
MODULE = 'hunspell'
if CONFIG['ENABLE_TESTS']:
XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']

View File

@ -13,7 +13,7 @@ include $(DEPTH)/config/autoconf.mk
MOZILLA_INTERNAL_API = 1
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
MOCHITEST_FILES = $(addprefix mochitest/, \
test_bug509244.html \

View File

@ -6,3 +6,4 @@
MODULE = 'gfx'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -11,6 +11,6 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
# Module name for xpcshell tests.
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
include $(topsrcdir)/config/rules.mk

View File

@ -8,3 +8,4 @@ TEST_DIRS += ['mochitest', 'browser']
MODULE = 'test_libpr0n'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -11,6 +11,6 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
include $(topsrcdir)/config/rules.mk

View File

@ -6,3 +6,4 @@
MODULE = 'test_intl_locale'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -11,6 +11,6 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
include $(topsrcdir)/config/rules.mk

View File

@ -6,3 +6,4 @@
MODULE = 'test_intl_strres'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -11,7 +11,7 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
# Tests disabled because they dont work in libxul builds.
#MOZILLA_INTERNAL_API = 1

View File

@ -6,3 +6,4 @@
MODULE = 'test_intl_uconv'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -11,7 +11,7 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
USE_STATIC_LIBS = 1

View File

@ -6,3 +6,4 @@
MODULE = 'test_intl_unicharutil'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -30,7 +30,7 @@ LOCAL_INCLUDES += \
# FIXME/bug 575918: out-of-process xpcshell is broken on OS X
ifneq ($(OS_ARCH),Darwin)
XPCSHELL_TESTS = tests
DISABLED_XPCSHELL_TESTS = tests
endif
include $(topsrcdir)/config/config.mk

View File

@ -12,3 +12,6 @@ EXPORTS.mozilla.ipc += [
'XPCShellEnvironment.h',
]
# FIXME/bug 575918: out-of-process xpcshell is broken on OS X
if CONFIG['OS_ARCH'] != 'Darwin':
XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell.ini']

View File

@ -30,6 +30,6 @@ EXTRA_JS_MODULES = \
jsdebugger.jsm \
$(NULL)
XPCSHELL_TESTS = tests
DISABLED_XPCSHELL_TESTS = tests
include $(topsrcdir)/config/rules.mk

View File

@ -10,3 +10,4 @@ XPIDL_SOURCES += [
MODULE = 'jsdebugger'
XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell.ini']

View File

@ -11,7 +11,7 @@ include $(DEPTH)/config/autoconf.mk
# FIXME/bug 575918: out-of-process xpcshell is broken on OS X
ifneq ($(OS_ARCH),Darwin)
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
endif
include $(topsrcdir)/config/config.mk

View File

@ -6,3 +6,6 @@
MODULE = 'test_jsipc'
# FIXME/bug 575918: out-of-process xpcshell is broken on OS X
if CONFIG['OS_ARCH'] != 'Darwin':
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -24,7 +24,7 @@ LIBXUL_LIBRARY = 1
MODULE_NAME = JavaScript_Debugger
EXPORT_LIBRARY = 1
XPCSHELL_TESTS = test
DISABLED_XPCSHELL_TESTS = test
# REQUIRES = java js

View File

@ -13,3 +13,4 @@ EXPORTS += [
'jsdebug.h',
]
XPCSHELL_TESTS_MANIFESTS += ['test/xpcshell.ini']

View File

@ -11,7 +11,7 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
LIBS = \
$(DIST)/lib/$(LIB_PREFIX)xpcomglue_s.$(LIB_SUFFIX) \

View File

@ -12,3 +12,5 @@ DIRS += [
'components/native',
'components/js',
]
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -12,6 +12,6 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
include $(topsrcdir)/config/rules.mk

View File

@ -4,3 +4,4 @@
# 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 += ['unit/xpcshell.ini']

View File

@ -11,6 +11,6 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
include $(topsrcdir)/config/rules.mk

View File

@ -8,3 +8,4 @@ DIRS += ['mochitest', 'chrome']
MODULE = 'test_libjar'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -10,7 +10,7 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = \
DISABLED_XPCSHELL_TESTS = \
unit \
$(NULL)

View File

@ -6,3 +6,4 @@
MODULE = 'test_zipwriter'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

View File

@ -10,7 +10,7 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = \
DISABLED_XPCSHELL_TESTS = \
unit \
$(NULL)

View File

@ -4,3 +4,4 @@
# 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 += ['unit/xpcshell.ini']

View File

@ -11,11 +11,11 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
# FIXME/bug 575918: out-of-process xpcshell is broken on OS X
ifneq ($(OS_ARCH),Darwin)
XPCSHELL_TESTS += unit_ipc
DISABLED_XPCSHELL_TESTS += unit_ipc
endif
include $(topsrcdir)/config/rules.mk

View File

@ -6,3 +6,8 @@
MODULE = 'test_libpref'
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']
# FIXME/bug 575918: out-of-process xpcshell is broken on OS X
if CONFIG['OS_ARCH'] != 'Darwin':
XPCSHELL_TESTS_MANIFESTS += ['unit_ipc/xpcshell.ini']

View File

@ -23,7 +23,7 @@ CPPSRCS = \
nsCookieService.cpp \
$(NULL)
XPCSHELL_TESTS += test/unit
DISABLED_XPCSHELL_TESTS += test/unit
CPPSRCS += \
CookieServiceParent.cpp \
@ -36,7 +36,7 @@ LOCAL_INCLUDES = \
# FIXME/bug 575918: out-of-process xpcshell is broken on OS X
ifneq ($(OS_ARCH),Darwin)
XPCSHELL_TESTS += test/unit_ipc
DISABLED_XPCSHELL_TESTS += test/unit_ipc
endif
endif

View File

@ -22,3 +22,10 @@ if CONFIG['NECKO_COOKIES']:
'CookieServiceParent.h',
'CookieServiceChild.h',
]
if CONFIG['NECKO_COOKIES']:
XPCSHELL_TESTS_MANIFESTS += ['test/unit/xpcshell.ini']
# FIXME/bug 575918: out-of-process xpcshell is broken on OS X
if CONFIG['NECKO_COOKIES'] and CONFIG['OS_ARCH'] != 'Darwin':
XPCSHELL_TESTS_MANIFESTS += ['test/unit_ipc/xpcshell.ini']

View File

@ -60,10 +60,10 @@ LIBS = $(EXTRA_DSO_LIBS) \
DEFINES += $(TK_CFLAGS)
XPCSHELL_TESTS = unit
DISABLED_XPCSHELL_TESTS = unit
# FIXME/bug 575918: out-of-process xpcshell is broken on OS X
ifneq ($(OS_ARCH),Darwin)
XPCSHELL_TESTS += unit_ipc
DISABLED_XPCSHELL_TESTS += unit_ipc
endif
include $(topsrcdir)/config/rules.mk

View File

@ -27,7 +27,7 @@ EXTRA_COMPONENTS += \
$(NULL)
endif
XPCSHELL_TESTS = test
DISABLED_XPCSHELL_TESTS = test
TESTING_JS_MODULES = httpd.js

Some files were not shown because too many files have changed in this diff Show More