mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
ADTTests: [CMake] Exclude DenseMapTest.cpp and SmallVectorTest.cpp on MSVC9 due to its bug.
llvm-svn: 162918
This commit is contained in:
parent
046212d038
commit
6ed297bdc3
@ -2,7 +2,7 @@ set(LLVM_LINK_COMPONENTS
|
||||
Support
|
||||
)
|
||||
|
||||
add_llvm_unittest(ADTTests
|
||||
set(ADTSources
|
||||
APFloatTest.cpp
|
||||
APIntTest.cpp
|
||||
BitVectorTest.cpp
|
||||
@ -31,3 +31,16 @@ add_llvm_unittest(ADTTests
|
||||
TwineTest.cpp
|
||||
VariadicFunctionTest.cpp
|
||||
)
|
||||
|
||||
# They cannot be compiled on MSVC9 due to its bug.
|
||||
if(MSVC AND MSVC_VERSION LESS 1600)
|
||||
set(LLVM_OPTIONAL_SOURCES
|
||||
DenseMapTest.cpp
|
||||
SmallVectorTest.cpp
|
||||
)
|
||||
list(REMOVE_ITEM ADTSources ${LLVM_OPTIONAL_SOURCES})
|
||||
endif()
|
||||
|
||||
add_llvm_unittest(ADTTests
|
||||
${ADTSources}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user