[compiler-rt] r231325 - [ASan] Fix asan-(32|64)-bits lit tests feature.
Alexey Samsonov
vonosmas at gmail.com
Wed Mar 4 16:33:12 PST 2015
Author: samsonov
Date: Wed Mar 4 18:33:11 2015
New Revision: 231325
URL: http://llvm.org/viewvc/llvm-project?rev=231325&view=rev
Log:
[ASan] Fix asan-(32|64)-bits lit tests feature.
It broke down at some point, and all tests with
REQUIRES: asan-(32|64)-bits
line stopped being executed. Restore the intended behavior.
Modified:
compiler-rt/trunk/test/asan/CMakeLists.txt
Modified: compiler-rt/trunk/test/asan/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/CMakeLists.txt?rev=231325&r1=231324&r2=231325&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/CMakeLists.txt (original)
+++ compiler-rt/trunk/test/asan/CMakeLists.txt Wed Mar 4 18:33:11 2015
@@ -5,9 +5,9 @@ set(ASAN_DYNAMIC_TESTSUITES)
macro(get_bits_for_arch arch bits)
if (${arch} MATCHES "i386|i686|arm|mips|mipsel")
- set(bits 32)
+ set(${bits} 32)
elseif (${arch} MATCHES "x86_64|powerpc64|powerpc64le|aarch64|mips64|mips64el")
- set(bits 64)
+ set(${bits} 64)
else()
message(FATAL_ERROR "Unknown target architecture: ${arch}")
endif()
More information about the llvm-commits
mailing list