2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:17 +04: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 11:23:06 +04:00
|
|
|
CPP_UNIT_TESTS += [
|
2014-06-24 01:14:26 +04:00
|
|
|
'TestArrayUtils.cpp',
|
2013-07-24 11:23:06 +04:00
|
|
|
'TestAtomics.cpp',
|
2014-04-16 06:30:26 +04:00
|
|
|
'TestBinarySearch.cpp',
|
2013-07-24 11:23:06 +04:00
|
|
|
'TestBloomFilter.cpp',
|
|
|
|
'TestCasting.cpp',
|
|
|
|
'TestCeilingFloor.cpp',
|
|
|
|
'TestCheckedInt.cpp',
|
2014-03-11 16:09:55 +04:00
|
|
|
'TestCountPopulation.cpp',
|
2013-07-24 11:23:06 +04:00
|
|
|
'TestCountZeroes.cpp',
|
|
|
|
'TestEndian.cpp',
|
|
|
|
'TestEnumSet.cpp',
|
|
|
|
'TestFloatingPoint.cpp',
|
2011-12-15 09:27:42 +04:00
|
|
|
'TestIntegerPrintfMacros.cpp',
|
2014-04-24 12:48:00 +04:00
|
|
|
'TestMacroArgs.cpp',
|
2014-04-24 12:49:00 +04:00
|
|
|
'TestMacroForEach.cpp',
|
2013-09-24 07:56:55 +04:00
|
|
|
'TestRollingMean.cpp',
|
2013-07-24 11:23:06 +04:00
|
|
|
'TestSHA1.cpp',
|
2013-10-04 21:17:13 +04:00
|
|
|
'TestTypedEnum.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'TestTypeTraits.cpp',
|
2013-07-24 11:23:06 +04:00
|
|
|
'TestWeakPtr.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
if not CONFIG['MOZ_ASAN']:
|
|
|
|
CPP_UNIT_TESTS += [
|
|
|
|
'TestPoisonArea.cpp',
|
|
|
|
]
|
2013-11-27 17:55:07 +04:00
|
|
|
|
|
|
|
# Since we link directly with MFBT object files, define IMPL_MFBT
|
|
|
|
DEFINES['IMPL_MFBT'] = True
|
2014-03-05 04:39:06 +04:00
|
|
|
|
|
|
|
DISABLE_STL_WRAPPING = True
|
2014-06-14 23:47:01 +04: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
|