Bug 1797755 - Part 5: Use a single initial mark stack size regardless of whether...
[gecko.git] / mozglue / tests / moz.build
blob15aa2581f271574e2a26d8a476b443688749aef1
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 DisableStlWrapping()
9 # Important: for CppUnitTests to be run, they also need to be added
10 # to testing/cppunittest.ini.
12 GeckoCppUnitTests(
13     [
14         "ShowSSEConfig",
15     ],
16     linkage=None,
19 CppUnitTests(
20     [
21         "TestBaseProfiler",
22         "TestIntegerPrintfMacros",
23         "TestPrintf",
24     ]
27 with Files("TestBaseProfiler.cpp"):
28     BUG_COMPONENT = ("Core", "Gecko Profiler")
30 if CONFIG["OS_ARCH"] == "WINNT":
31     GeckoCppUnitTests(
32         [
33             "TestNativeNt",
34             "TestPEExportSection",
35             "TestTimeStampWin",
36         ],
37         linkage=None,
38     )
39     OS_LIBS += [
40         "ntdll",
41         "version",
42     ]
44 if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["CC_TYPE"] in ("gcc", "clang"):
45     # This allows us to use wmain as the entry point on mingw
46     LDFLAGS += [
47         "-municode",
48     ]
50 TEST_DIRS += [
51     "gtest",