summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/test/CMakeLists.txt11
-rwxr-xr-xlldb/test/lldb-dotest.in (renamed from lldb/test/llvm-dotest.in)0
2 files changed, 7 insertions, 4 deletions
diff --git a/lldb/test/CMakeLists.txt b/lldb/test/CMakeLists.txt
index 04758c6261c..3b7ba961cca 100644
--- a/lldb/test/CMakeLists.txt
+++ b/lldb/test/CMakeLists.txt
@@ -137,16 +137,19 @@ add_python_test_target(check-lldb
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
- $<TARGET_FILE_DIR:lldb>/llvm-dotest
+ $<TARGET_FILE_DIR:lldb>/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.
diff --git a/lldb/test/llvm-dotest.in b/lldb/test/lldb-dotest.in
index b6a108025fb..b6a108025fb 100755
--- a/lldb/test/llvm-dotest.in
+++ b/lldb/test/lldb-dotest.in
OpenPOWER on IntegriCloud