[Cmake] Add missing dependency for running tests.
authorDavide Italiano <davide@freebsd.org>
Wed, 17 Apr 2019 23:43:01 +0000 (23:43 +0000)
committerDavide Italiano <davide@freebsd.org>
Wed, 17 Apr 2019 23:43:01 +0000 (23:43 +0000)
This is needed now that we marked lldb-test as EXCLUDE_ALL, to
make sure `ninja lldb-test-deps` doesn't fail.

llvm-svn: 358625

lldb/CMakeLists.txt

index 4bf6168..a826c25 100644 (file)
@@ -79,6 +79,9 @@ if(LLDB_INCLUDE_TESTS)
     list(APPEND LLDB_TEST_DEPS darwin-debug)
   endif()
 
+  # lldb-test is an hard dependency for the testsuite.
+  list(APPEND LLDB_TEST_DEPS lldb-test)
+
   if(TARGET lldb-server)
     list(APPEND LLDB_TEST_DEPS lldb-server)
   endif()