[PATCH] D42597: [xray] Don't try to run XRay unit tests on Darwin
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 27 19:13:13 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rCRT323613: [xray] Don't try to run XRay unit tests on Darwin (authored by kuba.brecka, committed by ).
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D42597
Files:
test/xray/CMakeLists.txt
Index: test/xray/CMakeLists.txt
===================================================================
--- test/xray/CMakeLists.txt
+++ test/xray/CMakeLists.txt
@@ -28,11 +28,13 @@
# Add unit tests.
if(COMPILER_RT_INCLUDE_TESTS)
- configure_lit_site_cfg(
- ${CMAKE_CURRENT_SOURCE_DIR}/Unit/lit.site.cfg.in
- ${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg)
- list(APPEND XRAY_TEST_DEPS XRayUnitTests)
- list(APPEND XRAY_TESTSUITES ${CMAKE_CURRENT_BINARY_DIR}/Unit)
+ if(UNIX AND NOT APPLE)
+ configure_lit_site_cfg(
+ ${CMAKE_CURRENT_SOURCE_DIR}/Unit/lit.site.cfg.in
+ ${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg)
+ list(APPEND XRAY_TEST_DEPS XRayUnitTests)
+ list(APPEND XRAY_TESTSUITES ${CMAKE_CURRENT_BINARY_DIR}/Unit)
+ endif()
endif()
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42597.131700.patch
Type: text/x-patch
Size: 813 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180128/7cf797d7/attachment.bin>
More information about the llvm-commits
mailing list