Index: test/CMakeLists.txt =================================================================== --- test/CMakeLists.txt +++ test/CMakeLists.txt @@ -137,16 +137,19 @@ string (REPLACE ";" " " LLDB_DOTEST_ARGS_STR "${LLDB_DOTEST_ARGS}") # We need this to substitute variables. configure_file( - llvm-dotest.in - ${CMAKE_CURRENT_BINARY_DIR}/llvm-dotest.configured + lldb-dotest.in + ${CMAKE_CURRENT_BINARY_DIR}/lldb-dotest.configured ) # We need this to expand the generator expressions. file(GENERATE OUTPUT - $/llvm-dotest + $/lldb-dotest INPUT - ${CMAKE_CURRENT_BINARY_DIR}/llvm-dotest.configured + ${CMAKE_CURRENT_BINARY_DIR}/lldb-dotest.configured ) +# Make this a custom target. +add_custom_target(lldb-dotest) +add_dependencies(lldb-dotest ${LLDB_TEST_DEPS}) # If we're building with an in-tree clang, then list clang as a dependency # to run tests.