Source code
Revision control
Copy as Markdown
Other Tools
# -*- 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
# 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"] and CONFIG["MOZ_BUILD_APP"] != "memory":
TEST_DIRS += ["gtest"]