[PATCH] D14604: [tsan] Filter OS X architectures for unit testing
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 12 03:03:14 PST 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rL252873: [tsan] Filter OS X architectures for unit testing (authored by kuba.brecka).
Changed prior to commit:
http://reviews.llvm.org/D14604?vs=40015&id=40021#toc
Repository:
rL LLVM
http://reviews.llvm.org/D14604
Files:
compiler-rt/trunk/lib/tsan/tests/CMakeLists.txt
Index: compiler-rt/trunk/lib/tsan/tests/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/lib/tsan/tests/CMakeLists.txt
+++ compiler-rt/trunk/lib/tsan/tests/CMakeLists.txt
@@ -33,8 +33,12 @@
endmacro()
macro(add_tsan_unittest testname)
+ set(TSAN_TEST_ARCH ${TSAN_SUPPORTED_ARCH})
+ if(APPLE)
+ darwin_filter_host_archs(TSAN_SUPPORTED_ARCH TSAN_TEST_ARCH)
+ endif()
if(UNIX)
- foreach(arch ${TSAN_SUPPORTED_ARCH})
+ foreach(arch ${TSAN_TEST_ARCH})
cmake_parse_arguments(TEST "" "" "SOURCES;HEADERS" ${ARGN})
set(TEST_OBJECTS)
foreach(SOURCE ${TEST_SOURCES} ${COMPILER_RT_GTEST_SOURCE})
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14604.40021.patch
Type: text/x-patch
Size: 681 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151112/6c585660/attachment.bin>
More information about the llvm-commits
mailing list