[Lldb-commits] [PATCH] D68612: [CMake] Track test dependencies with add_lldb_test_dependency

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 7 17:10:56 PDT 2019


JDevlieghere created this revision.
JDevlieghere added reviewers: xiaobai, labath, mgorny, vsk.
Herald added a subscriber: teemperor.
Herald added a project: LLDB.

I often use `ninja lldb-test-deps` to build all the test dependencies before running a subset of the tests with `lit --filter`. This functionality seems to break relatively often because test dependencies are tracked in an ad-hoc way in different cmake files. This patch adds a helper function `add_lldb_test_dependency` to unify test dependency tracking by adding dependencies to `lldb-test-deps`.


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D68612

Files:
  lldb/CMakeLists.txt
  lldb/cmake/modules/AddLLDB.cmake
  lldb/lit/CMakeLists.txt
  lldb/test/CMakeLists.txt
  lldb/unittests/CMakeLists.txt
  lldb/utils/lldb-dotest/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68612.223700.patch
Type: text/x-patch
Size: 6823 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191008/db42a4b0/attachment.bin>


More information about the lldb-commits mailing list