2013-04-01 18:36:59 +00:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 20:47:17 +00:00
|
|
|
# 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/.
|
|
|
|
|
2013-07-24 07:23:06 +00:00
|
|
|
CPP_UNIT_TESTS += [
|
2014-06-23 21:14:26 +00:00
|
|
|
'TestArrayUtils.cpp',
|
2013-07-24 07:23:06 +00:00
|
|
|
'TestAtomics.cpp',
|
2014-04-16 02:30:26 +00:00
|
|
|
'TestBinarySearch.cpp',
|
2013-07-24 07:23:06 +00:00
|
|
|
'TestBloomFilter.cpp',
|
|
|
|
'TestCasting.cpp',
|
|
|
|
'TestCeilingFloor.cpp',
|
|
|
|
'TestCheckedInt.cpp',
|
2014-03-11 12:09:55 +00:00
|
|
|
'TestCountPopulation.cpp',
|
2013-07-24 07:23:06 +00:00
|
|
|
'TestCountZeroes.cpp',
|
|
|
|
'TestEndian.cpp',
|
|
|
|
'TestEnumSet.cpp',
|
|
|
|
'TestFloatingPoint.cpp',
|
2011-12-15 05:27:42 +00:00
|
|
|
'TestIntegerPrintfMacros.cpp',
|
2014-04-24 08:48:00 +00:00
|
|
|
'TestMacroArgs.cpp',
|
2014-04-24 08:49:00 +00:00
|
|
|
'TestMacroForEach.cpp',
|
2014-06-09 15:49:18 +00:00
|
|
|
'TestPair.cpp',
|
2013-09-24 03:56:55 +00:00
|
|
|
'TestRollingMean.cpp',
|
2013-07-24 07:23:06 +00:00
|
|
|
'TestSHA1.cpp',
|
2013-10-04 17:17:13 +00:00
|
|
|
'TestTypedEnum.cpp',
|
2013-10-23 23:05:43 +00:00
|
|
|
'TestTypeTraits.cpp',
|
2013-12-30 19:34:15 +00:00
|
|
|
'TestUniquePtr.cpp',
|
2013-07-24 07:23:06 +00:00
|
|
|
'TestWeakPtr.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
if not CONFIG['MOZ_ASAN']:
|
|
|
|
CPP_UNIT_TESTS += [
|
|
|
|
'TestPoisonArea.cpp',
|
|
|
|
]
|
2013-11-27 13:55:07 +00:00
|
|
|
|
|
|
|
# Since we link directly with MFBT object files, define IMPL_MFBT
|
|
|
|
DEFINES['IMPL_MFBT'] = True
|
2014-03-05 00:39:06 +00:00
|
|
|
|
|
|
|
DISABLE_STL_WRAPPING = True
|
2014-06-14 19:47:01 +00:00
|
|
|
|
|
|
|
if CONFIG['_MSC_VER']:
|
|
|
|
CXXFLAGS += [
|
|
|
|
'-wd4275', # non dll-interface class used as base for dll-interface class
|
|
|
|
'-wd4530', # C++ exception handler used, but unwind semantics are not enabled
|
|
|
|
]
|
|
|
|
|
|
|
|
FAIL_ON_WARNINGS = True
|