diff options
author | Reid Kleckner <rnk@google.com> | 2017-03-21 22:07:06 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2017-03-21 22:07:06 +0000 |
commit | 2b19203e19ec3feac8a7847363fee1ff3aeb1981 (patch) | |
tree | 65941417407a33a4811e97946cb9c1ce669caa18 | |
parent | 758aad76d88000fd9cada032fb4e7afa5e27e61c (diff) | |
download | bcm5719-llvm-2b19203e19ec3feac8a7847363fee1ff3aeb1981.tar.gz bcm5719-llvm-2b19203e19ec3feac8a7847363fee1ff3aeb1981.zip |
Revert "[compiler-rt][asan] Turn on ASAN unittests for win64."
This reverts commit r296878.
These test still require too much swap to pass reliably.
llvm-svn: 298450
-rw-r--r-- | compiler-rt/test/asan/CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/compiler-rt/test/asan/CMakeLists.txt b/compiler-rt/test/asan/CMakeLists.txt index 893276767ab..fb1478e7aa4 100644 --- a/compiler-rt/test/asan/CMakeLists.txt +++ b/compiler-rt/test/asan/CMakeLists.txt @@ -3,6 +3,12 @@ set(ASAN_LIT_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}) set(ASAN_TESTSUITES) set(ASAN_DYNAMIC_TESTSUITES) +# FIXME: Shadow memory for 64-bit asan easily exhausts swap on most machines. +# Find a way to make these tests pass reliably, and re-enable them. +if(OS_NAME MATCHES "Windows" AND CMAKE_SIZEOF_VOID_P EQUAL 8) + set(EXCLUDE_FROM_ALL TRUE) +endif() + macro(get_bits_for_arch arch bits) if (${arch} MATCHES "i386|i686|arm|mips|mipsel") set(${bits} 32) @@ -108,3 +114,9 @@ if(COMPILER_RT_ASAN_HAS_STATIC_RUNTIME) set(EXCLUDE_FROM_ALL FALSE) endif() endif() + +# Reset EXCLUDE_FROM_ALL to its initial value. +# FIXME: Remove when we run Win64 asan tests. +if(OS_NAME MATCHES "Windows" AND CMAKE_SIZEOF_VOID_P EQUAL 8) + set(EXCLUDE_FROM_ALL FALSE) +endif() |