[Lldb-commits] [lldb] r325719 - [testsuite] Run lit tests as part of `check-lldb`.
Davide Italiano via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 21 13:10:45 PST 2018
Author: davide
Date: Wed Feb 21 13:10:44 2018
New Revision: 325719
URL: http://llvm.org/viewvc/llvm-project?rev=325719&view=rev
Log:
[testsuite] Run lit tests as part of `check-lldb`.
Also, fix a missing dependency, as lit requires llvm-config
to run. This is becoming more and more important as we
write more FileCheck style tests.
Differential Revision: https://reviews.llvm.org/D43591
Modified:
lldb/trunk/lit/CMakeLists.txt
lldb/trunk/test/CMakeLists.txt
Modified: lldb/trunk/lit/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/CMakeLists.txt?rev=325719&r1=325718&r2=325719&view=diff
==============================================================================
--- lldb/trunk/lit/CMakeLists.txt (original)
+++ lldb/trunk/lit/CMakeLists.txt Wed Feb 21 13:10:44 2018
@@ -40,6 +40,7 @@ set(LLDB_TEST_DEPS
LLDBUnitTests
lldb
lldb-test
+ llvm-config
)
if(NOT LLDB_BUILT_STANDALONE)
Modified: lldb/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/CMakeLists.txt?rev=325719&r1=325718&r2=325719&view=diff
==============================================================================
--- lldb/trunk/test/CMakeLists.txt (original)
+++ lldb/trunk/test/CMakeLists.txt Wed Feb 21 13:10:44 2018
@@ -144,6 +144,9 @@ if (CMAKE_SYSTEM_NAME MATCHES "Windows")
endif ()
endif ()
+# Run the lit-style tests and the unittests as part of the check-lldb target.
+add_dependencies(check-lldb check-lldb-lit)
+
add_custom_target(lldb-test-depends DEPENDS ${LLDB_TEST_DEPENDS})
# This will add LLDB's test dependencies to the depenednecies for check-all and
# include them in the test-depends target.
More information about the lldb-commits
mailing list