2013-04-01 18:36:59 +00:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 20:47:19 +00: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/.
|
|
|
|
|
2013-04-29 18:49:00 +00:00
|
|
|
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']
|
2013-07-24 07:23:06 +00:00
|
|
|
|
|
|
|
CPP_UNIT_TESTS += [
|
2014-07-23 04:29:44 +00:00
|
|
|
'TestCSPParser',
|
|
|
|
'TestGetURL',
|
|
|
|
'TestNativeXMLHttpRequest',
|
|
|
|
'TestPlainTextSerializer',
|
2013-07-24 07:23:06 +00:00
|
|
|
]
|
|
|
|
|
2014-07-23 04:29:44 +00:00
|
|
|
SOURCES += sorted('%s.cpp' % t for t in CPP_UNIT_TESTS)
|
|
|
|
|
2014-02-06 20:37:30 +00:00
|
|
|
MOCHITEST_MANIFESTS += [
|
|
|
|
'chrome/mochitest.ini',
|
2014-07-31 19:54:21 +00:00
|
|
|
'csp/mochitest.ini',
|
2014-02-06 20:37:30 +00:00
|
|
|
'mochitest.ini',
|
2014-07-31 19:54:21 +00:00
|
|
|
'websocket_hybi/mochitest.ini',
|
2014-02-06 20:37:30 +00:00
|
|
|
]
|
2014-03-04 20:54:31 +00:00
|
|
|
# OOP tests don't work on Windows (bug 763081) or native-fennec
|
|
|
|
# (see Bug 774939). App permission checks are also disabled on
|
|
|
|
# anything but B2G (Bug 900707).
|
|
|
|
if CONFIG['MOZ_CHILD_PERMISSIONS']:
|
|
|
|
MOCHITEST_MANIFESTS += [
|
|
|
|
'mochitest-child-permissions.ini',
|
|
|
|
]
|
2013-09-30 07:51:57 +00:00
|
|
|
|
2014-02-06 20:37:30 +00:00
|
|
|
MOCHITEST_CHROME_MANIFESTS += [
|
|
|
|
'chrome.ini',
|
|
|
|
'chrome/chrome.ini',
|
2014-07-31 19:54:21 +00:00
|
|
|
'csp/chrome.ini',
|
2014-02-06 20:37:30 +00:00
|
|
|
]
|
2013-09-30 07:52:01 +00:00
|
|
|
|
2013-09-30 07:52:06 +00:00
|
|
|
BROWSER_CHROME_MANIFESTS += ['browser.ini']
|
|
|
|
|
2014-07-23 04:30:52 +00:00
|
|
|
USE_LIBS += [
|
|
|
|
'mozalloc',
|
2014-08-07 05:21:03 +00:00
|
|
|
'nspr',
|
2014-07-23 04:30:52 +00:00
|
|
|
'xpcomglue_s',
|
2014-07-23 04:33:09 +00:00
|
|
|
'xul',
|
2014-07-23 04:30:52 +00:00
|
|
|
]
|