mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
[libFuzzer] Remove dependencies for tests on Windows.
Remove dependency on FileCheck, sancov and not for tests on Windows. If LLVM_USE_SANITIZER=Address and LLVM_USE_SANITIZE_COVERAGE=YES, this will trigger the building of dependencies with sanitizer instrumentation. This will fail in Windows, since cmake will use link.exe for linking and won't include compiler-rt libraries. Differential Revision: https://reviews.llvm.org/D27993 llvm-svn: 292735
This commit is contained in:
parent
5c73a242f9
commit
8498198c98
@ -231,5 +231,10 @@ configure_lit_site_cfg(
|
||||
|
||||
add_lit_testsuite(check-fuzzer "Running Fuzzer tests"
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
DEPENDS ${TestBinaries} FileCheck sancov not
|
||||
)
|
||||
|
||||
# Don't add dependencies on Windows. The linker step would fail on Windows,
|
||||
# since cmake will use link.exe for linking and won't include compiler-rt libs.
|
||||
if(NOT MSVC)
|
||||
add_dependencies(check-fuzzer FileCheck sancov not)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user