[Lldb-commits] [lldb] r374000 - [CMake] Add two more uses of add_lldb_test_dependency
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 7 17:44:55 PDT 2019
Author: jdevlieghere
Date: Mon Oct 7 17:44:54 2019
New Revision: 374000
URL: http://llvm.org/viewvc/llvm-project?rev=374000&view=rev
Log:
[CMake] Add two more uses of add_lldb_test_dependency
Modified:
lldb/trunk/CMakeLists.txt
lldb/trunk/lit/CMakeLists.txt
lldb/trunk/test/CMakeLists.txt
Modified: lldb/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/CMakeLists.txt?rev=374000&r1=373999&r2=374000&view=diff
==============================================================================
--- lldb/trunk/CMakeLists.txt (original)
+++ lldb/trunk/CMakeLists.txt Mon Oct 7 17:44:54 2019
@@ -135,9 +135,6 @@ if(LLDB_INCLUDE_TESTS)
if(NOT LLDB_BUILT_STANDALONE)
add_lldb_test_dependency(yaml2obj)
- endif()
-
- if(TARGET dsymutil)
add_lldb_test_dependency(dsymutil)
endif()
Modified: lldb/trunk/lit/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/CMakeLists.txt?rev=374000&r1=373999&r2=374000&view=diff
==============================================================================
--- lldb/trunk/lit/CMakeLists.txt (original)
+++ lldb/trunk/lit/CMakeLists.txt Mon Oct 7 17:44:54 2019
@@ -89,7 +89,7 @@ configure_file(
${CMAKE_CURRENT_BINARY_DIR}/lit-lldb-init)
if(NOT LLDB_BUILT_STANDALONE)
- add_dependencies(lldb-test-deps
+ add_lldb_test_dependency(
FileCheck
count
not
Modified: lldb/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/CMakeLists.txt?rev=374000&r1=373999&r2=374000&view=diff
==============================================================================
--- lldb/trunk/test/CMakeLists.txt (original)
+++ lldb/trunk/test/CMakeLists.txt Mon Oct 7 17:44:54 2019
@@ -132,16 +132,10 @@ add_custom_target(check-lldb)
add_dependencies(check-lldb lldb-test-deps)
set_target_properties(check-lldb PROPERTIES FOLDER "lldb misc")
-# If we're building with an in-tree clang, then list clang as a dependency
-# to run tests.
-if (TARGET clang)
- add_dependencies(check-lldb clang)
-endif()
-
# LLD is required to link test executables on Windows.
if (CMAKE_SYSTEM_NAME MATCHES "Windows")
if (TARGET lld)
- add_dependencies(check-lldb lld)
+ add_lldb_test_dependency(lld)
else ()
message(WARNING "lld required to test LLDB on Windows")
endif ()
More information about the lldb-commits
mailing list