[asan] Include asan-dynamic into check-all
Summary: It's adds just 1k to about 45k tests. Reviewers: eugenis, alekseyshl Subscribers: kubamracek, mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D37666 llvm-svn: 312937
This commit is contained in:
parent
537bd3b906
commit
87d1f9ce93
|
|
@ -164,21 +164,12 @@ add_lit_testsuite(check-asan "Running the AddressSanitizer tests"
|
||||||
set_target_properties(check-asan PROPERTIES FOLDER "Compiler-RT Misc")
|
set_target_properties(check-asan PROPERTIES FOLDER "Compiler-RT Misc")
|
||||||
|
|
||||||
if(COMPILER_RT_ASAN_HAS_STATIC_RUNTIME)
|
if(COMPILER_RT_ASAN_HAS_STATIC_RUNTIME)
|
||||||
# Add check-dynamic-asan target. It is a part of check-all only on Windows,
|
|
||||||
# where we want to always test both dynamic and static runtime.
|
|
||||||
|
|
||||||
if(NOT OS_NAME MATCHES "Windows")
|
|
||||||
set(EXCLUDE_FROM_ALL TRUE)
|
|
||||||
endif()
|
|
||||||
add_lit_testsuite(check-asan-dynamic
|
add_lit_testsuite(check-asan-dynamic
|
||||||
"Running the AddressSanitizer tests with dynamic runtime"
|
"Running the AddressSanitizer tests with dynamic runtime"
|
||||||
${ASAN_DYNAMIC_TESTSUITES}
|
${ASAN_DYNAMIC_TESTSUITES}
|
||||||
DEPENDS ${ASAN_DYNAMIC_TEST_DEPS})
|
DEPENDS ${ASAN_DYNAMIC_TEST_DEPS})
|
||||||
set_target_properties(check-asan-dynamic
|
set_target_properties(check-asan-dynamic
|
||||||
PROPERTIES FOLDER "Compiler-RT Misc")
|
PROPERTIES FOLDER "Compiler-RT Misc")
|
||||||
if(NOT OS_NAME MATCHES "Windows")
|
|
||||||
set(EXCLUDE_FROM_ALL FALSE)
|
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Reset EXCLUDE_FROM_ALL to its initial value.
|
# Reset EXCLUDE_FROM_ALL to its initial value.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue