diff options
author | Brad King <brad.king@kitware.com> | 2022-10-08 11:07:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-10-08 11:07:59 (GMT) |
commit | 1912d50a7093889483f3085dc6c75b8fa07fd1a5 (patch) | |
tree | c9eccfd71eb9542d4e9d261b3c233a87f88aaa1c /Tests/CheckSourceTree/CMakeLists.txt | |
parent | 269652a81468637c03bbdc4ef56e0090ccae78bb (diff) | |
download | CMake-1912d50a7093889483f3085dc6c75b8fa07fd1a5.zip CMake-1912d50a7093889483f3085dc6c75b8fa07fd1a5.tar.gz CMake-1912d50a7093889483f3085dc6c75b8fa07fd1a5.tar.bz2 |
Tests: Run CheckSourceTree test using just-built CMake
Update the change from commit 8d453ee751 (Tests: Improve CheckSourceTree
test, 2022-10-05) to drive the test script using the tested CMake
instead of the host CMake, following the convention of other tests.
Diffstat (limited to 'Tests/CheckSourceTree/CMakeLists.txt')
-rw-r--r-- | Tests/CheckSourceTree/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/CheckSourceTree/CMakeLists.txt b/Tests/CheckSourceTree/CMakeLists.txt index d5019d2..3abc6a9 100644 --- a/Tests/CheckSourceTree/CMakeLists.txt +++ b/Tests/CheckSourceTree/CMakeLists.txt @@ -1,6 +1,6 @@ add_test(NAME CMake.CheckSourceTree - COMMAND ${CMAKE_COMMAND} -D GIT_EXECUTABLE=${GIT_EXECUTABLE} - -D CMake_SOURCE_DIR=${CMake_SOURCE_DIR} - -P ${CMAKE_CURRENT_LIST_DIR}/check.cmake + COMMAND ${CMAKE_CMAKE_COMMAND} -D GIT_EXECUTABLE=${GIT_EXECUTABLE} + -D CMake_SOURCE_DIR=${CMake_SOURCE_DIR} + -P ${CMAKE_CURRENT_LIST_DIR}/check.cmake ) set_property(TEST CMake.CheckSourceTree PROPERTY RUN_SERIAL 1) |