Bug 1885565 - Part 2: Fix up parameter ordering and kDoc descriptions in NavigationBa...
[gecko.git] / xpcom / tests / moz.build
blob83105e7ddd659ce480cb70fe7cdf81cb656482be
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 TEST_DIRS += [
8     "gtest",
11 if CONFIG["OS_ARCH"] == "WINNT":
12     TEST_DIRS += ["windows"]
14 if CONFIG["OS_TARGET"] == "Linux":
15     CppUnitTests(
16         [
17             "TestMemoryPressureWatcherLinux",
18         ]
19     )
21 EXPORTS.testing += [
22     "TestHarness.h",
25 test_progs = [
26     "TestArguments",
27     "TestBlockingProcess",
28     "TestPRIntN",
29     "TestQuickReturn",
30     "TestUnicodeArguments",
32 SimplePrograms(test_progs)
34 USE_LIBS += ["mozglue"]
36 XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.toml"]
38 if CONFIG["COMPILE_ENVIRONMENT"]:
39     TEST_HARNESS_FILES.xpcshell.xpcom.tests.unit += [
40         "!%s%s" % (f, CONFIG["BIN_SUFFIX"]) for f in test_progs
41     ]
43 XPIDL_MODULE = "xpcomtest"
44 XPIDL_SOURCES += [
45     "NotXPCOMTest.idl",
48 LOCAL_INCLUDES += [
49     "../base",
50     "../ds",
53 RESOURCE_FILES += [
54     "test.properties",
57 CRASHTEST_MANIFESTS += ["crashtests/crashtests.list"]