summaryrefslogtreecommitdiffstats
path: root/llvm/runtimes/CMakeLists.txt
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2016-09-01 18:26:01 +0000
committerChris Bieneman <beanz@apple.com>2016-09-01 18:26:01 +0000
commit342134ed68385b47a935318e2df48ef19c882dbf (patch)
tree5566a30c09b92a02b613292e35bc691d4f2dcb23 /llvm/runtimes/CMakeLists.txt
parentb4743597bdbbfbd925b4b64464aec12d4e24df0b (diff)
downloadbcm5719-llvm-342134ed68385b47a935318e2df48ef19c882dbf.tar.gz
bcm5719-llvm-342134ed68385b47a935318e2df48ef19c882dbf.zip
[CMake] Connecting check-all and test-depends targets correctly
My previous attempt at this connected the sub-project check targets to the test-depends target instead of to the check-all target. That resulted in the tests running multiple times on bots that built "test-depends" and "check-all" in separate build invocations. llvm-svn: 280392
Diffstat (limited to 'llvm/runtimes/CMakeLists.txt')
-rw-r--r--llvm/runtimes/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/runtimes/CMakeLists.txt b/llvm/runtimes/CMakeLists.txt
index 0ffffd6fbfe..e43ea74e00f 100644
--- a/llvm/runtimes/CMakeLists.txt
+++ b/llvm/runtimes/CMakeLists.txt
@@ -194,7 +194,8 @@ else() # if this is included from LLVM's CMake
${SUB_INSTALL_TARGETS}
USE_TOOLCHAIN)
if(LLVM_INCLUDE_TESTS)
- set_property(GLOBAL APPEND PROPERTY LLVM_LIT_DEPENDS runtimes-test-depends)
+ set_property(GLOBAL APPEND PROPERTY LLVM_ADDITIONAL_TEST_DEPENDS runtimes-test-depends)
+ set_property(GLOBAL APPEND PROPERTY LLVM_ADDITIONAL_TEST_TARGETS check-runtimes)
endif()
endif()
endif()
OpenPOWER on IntegriCloud