summaryrefslogtreecommitdiffstats
path: root/memory/build/test/moz.build
blob: d93cc48c6545a22b32f9e023d9a50421d08b2a15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# 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/.

# We don't link these tests against mozglue, but we do use the STL. Avoid the
# implicit linking of `__imp_moz_xalloc` in our STL wrappers.
DisableStlWrapping()

# Important: for these tests to be run, they also need to be added
# to testing/cppunittest.ini.
CppUnitTests(
    [
        "TestMozJemallocUtils",
    ]
)
# The gtests won't work in a SpiderMonkey-only build or a build without
# jemalloc.
if CONFIG["MOZ_PHC"]:
    TEST_DIRS += ["gtest"]