Add getAsUnsignedInteger test case that checks that known bad values are rejected
[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   ImmutableSetTest.cpp
17   IntEqClassesTest.cpp
18   IntervalMapTest.cpp
19   IntrusiveRefCntPtrTest.cpp
20   PackedVectorTest.cpp
21   SCCIteratorTest.cpp
22   SmallPtrSetTest.cpp
23   SmallStringTest.cpp
24   SmallVectorTest.cpp
25   SparseBitVectorTest.cpp
26   SparseSetTest.cpp
27   StringMapTest.cpp
28   StringRefTest.cpp
29   TinyPtrVectorTest.cpp
30   TripleTest.cpp
31   TwineTest.cpp
32   VariadicFunctionTest.cpp
33  )
34
35 # They cannot be compiled on MSVC9 due to its bug.
36 if(MSVC AND MSVC_VERSION LESS 1600)
37   set(LLVM_OPTIONAL_SOURCES
38     DenseMapTest.cpp
39     SmallVectorTest.cpp
40     )
41   list(REMOVE_ITEM ADTSources ${LLVM_OPTIONAL_SOURCES})
42 endif()
43
44 add_llvm_unittest(ADTTests
45   ${ADTSources}
46   )