llvm.org GIT mirror llvm / d566c5f
ADTTests: [CMake] Exclude DenseMapTest.cpp and SmallVectorTest.cpp on MSVC9 due to its bug. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162918 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 8 years ago
1 changed file(s) with 14 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
11 Support
22 )
33
4 add_llvm_unittest(ADTTests
4 set(ADTSources
55 APFloatTest.cpp
66 APIntTest.cpp
77 BitVectorTest.cpp
3030 TwineTest.cpp
3131 VariadicFunctionTest.cpp
3232 )
33
34 # They cannot be compiled on MSVC9 due to its bug.
35 if(MSVC AND MSVC_VERSION LESS 1600)
36 set(LLVM_OPTIONAL_SOURCES
37 DenseMapTest.cpp
38 SmallVectorTest.cpp
39 )
40 list(REMOVE_ITEM ADTSources ${LLVM_OPTIONAL_SOURCES})
41 endif()
42
43 add_llvm_unittest(ADTTests
44 ${ADTSources}
45 )