|
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- |
|
2 # vim: set filetype=python: |
|
3 # This Source Code Form is subject to the terms of the Mozilla Public |
|
4 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
6 |
|
7 CPP_UNIT_TESTS += [ |
|
8 'TestAtomics.cpp', |
|
9 'TestBinarySearch.cpp', |
|
10 'TestBloomFilter.cpp', |
|
11 'TestCasting.cpp', |
|
12 'TestCeilingFloor.cpp', |
|
13 'TestCheckedInt.cpp', |
|
14 'TestCountPopulation.cpp', |
|
15 'TestCountZeroes.cpp', |
|
16 'TestEndian.cpp', |
|
17 'TestEnumSet.cpp', |
|
18 'TestFloatingPoint.cpp', |
|
19 'TestIntegerPrintfMacros.cpp', |
|
20 'TestMacroArgs.cpp', |
|
21 'TestMacroForEach.cpp', |
|
22 'TestRollingMean.cpp', |
|
23 'TestSHA1.cpp', |
|
24 'TestTypedEnum.cpp', |
|
25 'TestTypeTraits.cpp', |
|
26 'TestWeakPtr.cpp', |
|
27 ] |
|
28 |
|
29 if not CONFIG['MOZ_ASAN']: |
|
30 CPP_UNIT_TESTS += [ |
|
31 'TestPoisonArea.cpp', |
|
32 ] |
|
33 |
|
34 # Since we link directly with MFBT object files, define IMPL_MFBT |
|
35 DEFINES['IMPL_MFBT'] = True |
|
36 |
|
37 DISABLE_STL_WRAPPING = True |