From 627f686ffc965393dfac97837749881b9771faa0 Mon Sep 17 00:00:00 2001 From: Petr Hosek Date: Mon, 12 Dec 2016 05:18:36 +0000 Subject: [PATCH] [XRay][CMake] Check target for XRay Flight Data Recorder This target doesn't currently do anything, but it is required by the runtimes build. Differential Revision: https://reviews.llvm.org/D27640 llvm-svn: 289420 --- compiler-rt/test/xray/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/compiler-rt/test/xray/CMakeLists.txt b/compiler-rt/test/xray/CMakeLists.txt index 5def7e3..50f6926 100644 --- a/compiler-rt/test/xray/CMakeLists.txt +++ b/compiler-rt/test/xray/CMakeLists.txt @@ -1,12 +1,15 @@ set(XRAY_LIT_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}) set(XRAY_TESTSUITES) +set(XRAY_FDR_TESTSUITES) set(XRAY_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS}) +set(XRAY_FDR_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS}) if(NOT COMPILER_RT_STANDALONE_BUILD AND COMPILER_RT_BUILD_XRAY AND COMPILER_RT_HAS_XRAY) list(APPEND XRAY_TEST_DEPS xray) + list(APPEND XRAY_FDR_TEST_DEPS xray-fdr) endif() set(XRAY_TEST_ARCH ${XRAY_SUPPORTED_ARCH}) @@ -38,3 +41,8 @@ add_lit_testsuite(check-xray "Running the XRay tests" ${XRAY_TESTSUITES} DEPENDS ${XRAY_TEST_DEPS}) set_target_properties(check-xray PROPERTIES FOLDER "Compiler-RT Misc") + +add_lit_testsuite(check-xray-fdr "Running the XRay flight data recorder tests" + ${XRAY_FDR_TESTSUITES} + DEPENDS ${XRAY_FDR_TEST_DEPS}) +set_target_properties(check-xray-fdr PROPERTIES FOLDER "Compiler-RT Misc") -- 2.7.4