2016-07-14 16:16:42 +00:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 21:20:02 +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/.
|
|
|
|
|
2014-07-28 23:55:55 +00:00
|
|
|
TEST_DIRS += [
|
2014-12-12 19:12:27 +00:00
|
|
|
"gtest",
|
2013-02-25 21:20:02 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG["OS_ARCH"] == "WINNT":
|
2014-07-28 23:55:55 +00:00
|
|
|
TEST_DIRS += ["windows"]
|
2013-02-25 21:20:02 +00:00
|
|
|
|
2013-07-10 09:55:34 +00:00
|
|
|
EXPORTS.testing += [
|
|
|
|
"TestHarness.h",
|
|
|
|
]
|
|
|
|
|
2017-01-27 21:57:04 +00:00
|
|
|
test_progs = [
|
2013-08-14 07:00:13 +00:00
|
|
|
"TestArguments",
|
|
|
|
"TestBlockingProcess",
|
|
|
|
"TestPRIntN",
|
|
|
|
"TestQuickReturn",
|
|
|
|
"TestUnicodeArguments",
|
2017-01-27 21:57:04 +00:00
|
|
|
]
|
|
|
|
SimplePrograms(test_progs)
|
2013-08-14 07:00:13 +00:00
|
|
|
|
2021-03-10 23:52:40 +00:00
|
|
|
USE_LIBS += ["mozglue"]
|
2016-11-18 16:44:48 +00:00
|
|
|
|
2013-04-29 18:49:00 +00:00
|
|
|
XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.ini"]
|
2013-04-23 21:54:15 +00:00
|
|
|
|
2016-08-17 22:02:31 +00:00
|
|
|
if CONFIG["COMPILE_ENVIRONMENT"]:
|
2017-01-27 21:57:04 +00:00
|
|
|
TEST_HARNESS_FILES.xpcshell.xpcom.tests.unit += [
|
|
|
|
"!%s%s" % (f, CONFIG["BIN_SUFFIX"]) for f in test_progs
|
|
|
|
]
|
2016-04-18 14:36:07 +00:00
|
|
|
|
2014-09-22 19:10:31 +00:00
|
|
|
XPIDL_MODULE = "xpcomtest"
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
"NotXPCOMTest.idl",
|
|
|
|
]
|
|
|
|
|
2013-12-31 09:06:11 +00:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
"../ds",
|
|
|
|
]
|
|
|
|
|
2013-11-05 18:37:54 +00:00
|
|
|
RESOURCE_FILES += [
|
|
|
|
"test.properties",
|
|
|
|
]
|
2021-06-07 15:19:30 +00:00
|
|
|
|
2021-06-07 15:52:35 +00:00
|
|
|
CRASHTEST_MANIFESTS += ["crashtests/crashtests.list"]
|