author Eric Rahm <erahm@mozilla.com>
Mon, 07 Nov 2016 14:27:20 -0800
changeset 321439 276b093c968ffc889f465161b7aa1fe80c796988
parent 321437 dbd9b56b50e73bf584c5ae8b38e08faac490d7e7
child 321454 01800003ec3b043995e4ec1daaaf827e7ee2bbee
permissions -rw-r--r--
Bug 1313489 - Part 2: Convert DeadlockDetectorScalability to a gtest. r=froydnj This converts the tests to gtests. Most of them are just runtime tests and just hava dummy assertion that everything ran. One test remains disabled, although it's still built-in. You can run the disabled test with the following command: > GTEST_ALSO_RUN_DISABLED_TESTS=1 ./mach gtest DeadlockDetectorScalability.* MozReview-Commit-ID: 57rxjiZKjQ6

# -*- 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/.


if CONFIG['MOZ_DEBUG'] and CONFIG['OS_ARCH'] not in ('WINNT') and CONFIG['OS_TARGET'] != 'Android':
    # FIXME bug 523392: TestDeadlockDetector doesn't like Windows
    # Bug 1054249: Doesn't work on Android

# Compile TestAllocReplacement separately so Windows headers don't pollute
# the global namespace for other files.
    'TestCOMPtr.cpp', # Redefines IFoo and IBar
    'TestHashtables.cpp', # Redefines IFoo
    'TestNsRefPtr.cpp', # Redefines Foo


FINAL_LIBRARY = 'xul-gtest'