Add an insert() method to MapVector. Adds the first MapVector unit test.
[oota-llvm.git] / unittests / ADT / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   Support
3   )
4
5 set(ADTSources
6   APFloatTest.cpp
7   APIntTest.cpp
8   BitVectorTest.cpp
9   DAGDeltaAlgorithmTest.cpp
10   DeltaAlgorithmTest.cpp
11   DenseMapTest.cpp
12   DenseSetTest.cpp
13   FoldingSet.cpp
14   HashingTest.cpp
15   ilistTest.cpp
16   ImmutableMapTest.cpp
17   ImmutableSetTest.cpp
18   IntEqClassesTest.cpp
19   IntervalMapTest.cpp
20   IntrusiveRefCntPtrTest.cpp
21   PackedVectorTest.cpp
22   SCCIteratorTest.cpp
23   SmallPtrSetTest.cpp
24   SmallStringTest.cpp
25   SmallVectorTest.cpp
26   SparseBitVectorTest.cpp
27   SparseMultiSetTest.cpp
28   SparseSetTest.cpp
29   StringMapTest.cpp
30   StringRefTest.cpp
31   TinyPtrVectorTest.cpp
32   TripleTest.cpp
33   TwineTest.cpp
34   VariadicFunctionTest.cpp
35  )
36
37 # They cannot be compiled on MSVC9 due to its bug.
38 if(MSVC AND MSVC_VERSION LESS 1600)
39   set(LLVM_OPTIONAL_SOURCES
40     DenseMapTest.cpp
41     SmallVectorTest.cpp
42     )
43   list(REMOVE_ITEM ADTSources ${LLVM_OPTIONAL_SOURCES})
44 endif()
45
46 add_llvm_unittest(ADTTests
47   ${ADTSources}
48   )