From 760833eae5b5412e64483838ac83aa46e517ef9a Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Wed, 10 Sep 2014 22:20:49 +0000 Subject: [PATCH] Add LLVMgold target to test dependencies. llvm-svn: 217557 --- test/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 2b3a618a3ae..f20bc950385 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -60,6 +60,10 @@ if( LLVM_USE_INTEL_JITEVENTS ) set(LLVM_TEST_DEPENDS ${LLVM_TEST_DEPENDS} llvm-jitlistener) endif( LLVM_USE_INTEL_JITEVENTS ) +if(TARGET LLVMgold) + set(LLVM_TEST_DEPENDS ${LLVM_TEST_DEPENDS} LLVMgold) +endif() + add_lit_testsuite(check-llvm "Running the LLVM regression tests" ${CMAKE_CURRENT_BINARY_DIR} PARAMS llvm_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg