diff options
author | Timur Iskhodzhanov <timurrrr@google.com> | 2014-05-13 14:25:49 +0000 |
---|---|---|
committer | Timur Iskhodzhanov <timurrrr@google.com> | 2014-05-13 14:25:49 +0000 |
commit | b9bd76b85dc4c0039c2d1daaef3208f086fac140 (patch) | |
tree | dbe620c030e78db53a6270592de846de2bf2edc8 | |
parent | 5ce3937ed4365ac8aa187a0f17d1f4865346fac0 (diff) | |
download | bcm5719-llvm-b9bd76b85dc4c0039c2d1daaef3208f086fac140.tar.gz bcm5719-llvm-b9bd76b85dc4c0039c2d1daaef3208f086fac140.zip |
Enable sanitizer tests (check-sanitizer, check-asan) on Windows
llvm-svn: 208701
-rw-r--r-- | compiler-rt/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler-rt/CMakeLists.txt b/compiler-rt/CMakeLists.txt index 1287d9e4b25..5ef14949949 100644 --- a/compiler-rt/CMakeLists.txt +++ b/compiler-rt/CMakeLists.txt @@ -218,10 +218,10 @@ else() endif() endif() -# We only support running instrumented tests when we're not cross compiling -# and target a unix-like system. We can run tests on Android even when we are -# cross-compiling. -if(("${CMAKE_HOST_SYSTEM}" STREQUAL "${CMAKE_SYSTEM}" AND UNIX) OR ANDROID) +# We support running instrumented tests when we're not cross compiling +# and target a UNIX-like system or Windows. +# We can run tests on Android even when we are cross-compiling. +if(("${CMAKE_HOST_SYSTEM}" STREQUAL "${CMAKE_SYSTEM}" AND (UNIX OR MSVC)) OR ANDROID) option(COMPILER_RT_CAN_EXECUTE_TESTS "Can we execute instrumented tests" ON) else() option(COMPILER_RT_CAN_EXECUTE_TESTS "Can we execute instrumented tests" OFF) |