diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2018-03-14 15:36:32 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2018-03-14 15:36:32 +0000 |
commit | 22af9c63f3915457d5eb2d40bb9e58d343e56953 (patch) | |
tree | 5dbf8e16e59502fda974f965047e6321cd1f9700 | |
parent | 5773ac3ee8a05331207c542f0570a211b292d8c1 (diff) | |
download | bcm5719-llvm-22af9c63f3915457d5eb2d40bb9e58d343e56953.tar.gz bcm5719-llvm-22af9c63f3915457d5eb2d40bb9e58d343e56953.zip |
[dotest] Rename llvm-dotest -> lldb-dotest and make it a custom target
This renames llvm-dotest to lldb-dotest and makes it a custom target so
you can run `ninja lldb-dotest` to rebuild whatever is necessary before
rerunning the tests.
Differential revision: https://reviews.llvm.org/D44473
llvm-svn: 327519
-rw-r--r-- | lldb/test/CMakeLists.txt | 11 | ||||
-rwxr-xr-x | lldb/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 |