mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-10 10:01:42 +00:00
[tests] Slightly improve a fix in r260669.
llvm-svn: 261142
This commit is contained in:
parent
c8d069632e
commit
54831a842e
@ -38,10 +38,11 @@ if(COMPILER_RT_INCLUDE_TESTS AND COMPILER_RT_HAS_LIBCXX_SOURCES)
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/Unit/lit.site.cfg.in
|
||||
${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg)
|
||||
list(APPEND MSAN_TEST_DEPS MsanUnitTests)
|
||||
list(APPEND MSAN_TESTSUITES ${CMAKE_CURRENT_BINARY_DIR}/Unit)
|
||||
endif()
|
||||
|
||||
add_lit_testsuite(check-msan "Running the MemorySanitizer tests"
|
||||
${MSAN_TESTSUITES} ${CMAKE_CURRENT_BINARY_DIR}/Unit
|
||||
${MSAN_TESTSUITES}
|
||||
DEPENDS ${MSAN_TEST_DEPS}
|
||||
)
|
||||
set_target_properties(check-msan PROPERTIES FOLDER "MSan tests")
|
||||
|
@ -47,9 +47,10 @@ if(COMPILER_RT_INCLUDE_TESTS)
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/Unit/lit.site.cfg.in
|
||||
${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg)
|
||||
list(APPEND TSAN_TEST_DEPS TsanUnitTests)
|
||||
list(APPEND TSAN_TESTSUITES ${CMAKE_CURRENT_BINARY_DIR}/Unit)
|
||||
endif()
|
||||
|
||||
add_lit_testsuite(check-tsan "Running ThreadSanitizer tests"
|
||||
${TSAN_TESTSUITES} ${CMAKE_CURRENT_BINARY_DIR}/Unit
|
||||
${TSAN_TESTSUITES}
|
||||
DEPENDS ${TSAN_TEST_DEPS})
|
||||
set_target_properties(check-tsan PROPERTIES FOLDER "TSan tests")
|
||||
|
Loading…
Reference in New Issue
Block a user