2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 01:20:02 +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/.
|
|
|
|
|
2014-07-29 03:55:55 +04:00
|
|
|
TEST_DIRS += [
|
2014-12-12 22:12:27 +03:00
|
|
|
'gtest',
|
2013-02-26 01:20:02 +04:00
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
2014-07-29 03:55:55 +04:00
|
|
|
TEST_DIRS += ['windows']
|
2013-02-26 01:20:02 +04:00
|
|
|
|
2013-07-10 13:55:34 +04:00
|
|
|
EXPORTS.testing += [
|
|
|
|
'TestHarness.h',
|
|
|
|
]
|
|
|
|
|
2014-09-03 09:10:54 +04:00
|
|
|
SimplePrograms([
|
2013-08-14 11:00:13 +04:00
|
|
|
'TestArguments',
|
|
|
|
'TestBlockingProcess',
|
|
|
|
'TestPRIntN',
|
|
|
|
'TestQuickReturn',
|
|
|
|
'TestUnicodeArguments',
|
2014-09-03 09:10:54 +04:00
|
|
|
])
|
2013-08-14 11:00:13 +04:00
|
|
|
|
2016-11-18 21:10:30 +03:00
|
|
|
USE_LIBS += ['mfbt']
|
2016-11-18 19:44:48 +03:00
|
|
|
|
2013-04-29 22:49:00 +04:00
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']
|
2013-04-24 01:54:15 +04:00
|
|
|
|
2013-07-24 11:23:06 +04:00
|
|
|
# FIXME: bug 577500 TestStaticAtoms fails when run in dist/bin
|
|
|
|
#CPP_UNIT_TESTS += [
|
2014-07-23 08:29:44 +04:00
|
|
|
# 'TestStaticAtoms',
|
2013-07-24 11:23:06 +04:00
|
|
|
#]
|
|
|
|
|
2016-08-18 01:02:31 +03:00
|
|
|
if CONFIG['COMPILE_ENVIRONMENT']:
|
|
|
|
TEST_HARNESS_FILES.xpcshell.xpcom.tests.unit += [
|
|
|
|
'!/dist/bin/components/xpcomtest.xpt',
|
|
|
|
]
|
2016-04-18 17:36:07 +03:00
|
|
|
|
2014-09-22 23:10:31 +04:00
|
|
|
XPIDL_MODULE = 'xpcomtest'
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'NotXPCOMTest.idl',
|
|
|
|
]
|
|
|
|
|
2015-02-13 16:11:57 +03:00
|
|
|
# Don't add our test-only .xpt files to the normal manifests
|
|
|
|
XPIDL_NO_MANIFEST = True
|
|
|
|
|
2013-12-31 13:06:11 +04:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../ds',
|
|
|
|
]
|
|
|
|
|
2013-11-05 22:37:54 +04:00
|
|
|
RESOURCE_FILES += [
|
|
|
|
'test.properties',
|
|
|
|
]
|