Index: test/CMakeLists.txt =================================================================== --- test/CMakeLists.txt +++ test/CMakeLists.txt @@ -147,6 +147,9 @@ INPUT ${CMAKE_CURRENT_BINARY_DIR}/llvm-dotest.configured ) +# Make this a custom target. +add_custom_target(llvm-dotest) +add_dependencies(llvm-dotest ${LLDB_TEST_DEPS}) # If we're building with an in-tree clang, then list clang as a dependency # to run tests.