diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2015-05-27 18:44:32 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2015-05-27 18:44:32 +0000 |
commit | 5a5ac124e1efaf208671f01c46edb15f29ed2a0b (patch) | |
tree | a6140557876943cdd800ee997c9317283394b22c /test/CMakeLists.txt | |
parent | f03b5bed27d0d2eafd68562ce14f8b5e3f1f0801 (diff) | |
download | src-5a5ac124e1efaf208671f01c46edb15f29ed2a0b.tar.gz src-5a5ac124e1efaf208671f01c46edb15f29ed2a0b.zip |
Vendor import of llvm trunk r238337:vendor/llvm/llvm-trunk-r238337
Notes
Notes:
svn path=/vendor/llvm/dist/; revision=283625
svn path=/vendor/llvm/llvm-trunk-r238337/; revision=283626; tag=vendor/llvm/llvm-trunk-r238337
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r-- | test/CMakeLists.txt | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index f85a1d97e90c..6e7dfd7c5396 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -28,6 +28,7 @@ set(LLVM_TEST_DEPENDS llvm-bcanalyzer llvm-c-test llvm-cov + llvm-cxxdump llvm-diff llvm-dis llvm-dsymutil @@ -46,12 +47,12 @@ set(LLVM_TEST_DEPENDS llvm-size llvm-symbolizer llvm-tblgen - llvm-vtabledump macho-dump opt FileCheck count not + yaml-bench yaml2obj obj2yaml verify-uselistorder @@ -70,6 +71,10 @@ if(TARGET llvm-go) set(LLVM_TEST_DEPENDS ${LLVM_TEST_DEPENDS} llvm-go) endif() +if(APPLE) + set(LLVM_TEST_DEPENDS ${LLVM_TEST_DEPENDS} LTO) +endif() + if(TARGET ocaml_llvm) set(LLVM_TEST_DEPENDS ${LLVM_TEST_DEPENDS} ocaml_llvm @@ -97,6 +102,12 @@ add_lit_testsuite(check-llvm "Running the LLVM regression tests" ) set_target_properties(check-llvm PROPERTIES FOLDER "Tests") +add_lit_testsuites(LLVM ${CMAKE_CURRENT_SOURCE_DIR} + PARAMS llvm_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg + llvm_unit_site_config=${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg + DEPENDS ${LLVM_TEST_DEPENDS} + ) + # Setup a legacy alias for 'check-llvm'. This will likely change to be an # alias for 'check-all' at some point in the future. add_custom_target(check) |