[Lldb-commits] [lldb] r357016 - Add lldb-vscode as a dependency of lldb tests.

Jorge Gorbe Moya via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 26 11:36:44 PDT 2019


Author: jgorbe
Date: Tue Mar 26 11:36:44 2019
New Revision: 357016

URL: http://llvm.org/viewvc/llvm-project?rev=357016&view=rev
Log:
Add lldb-vscode as a dependency of lldb tests.

Summary:
In the current state, 'ninja check-lldb' runs the lldb-vscode tests, but it
won't rebuild lldb-vscode if any of its sources has changed. This is very
confusing when you fix something and the tests keep failing, or vice versa.

Reviewers: clayborg

Subscribers: mgorny, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D59828

Modified:
    lldb/trunk/CMakeLists.txt

Modified: lldb/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/CMakeLists.txt?rev=357016&r1=357015&r2=357016&view=diff
==============================================================================
--- lldb/trunk/CMakeLists.txt (original)
+++ lldb/trunk/CMakeLists.txt Tue Mar 26 11:36:44 2019
@@ -91,6 +91,10 @@ if(LLDB_INCLUDE_TESTS)
     list(APPEND LLDB_TEST_DEPS lldb-mi)
   endif()
 
+  if(TARGET lldb-vscode)
+    list(APPEND LLDB_TEST_DEPS lldb-vscode)
+  endif()
+
   if(TARGET lldb-instr)
     list(APPEND LLDB_TEST_DEPS lldb-instr)
   endif()




More information about the lldb-commits mailing list