From 1912d50a7093889483f3085dc6c75b8fa07fd1a5 Mon Sep 17 00:00:00 2001 From: Brad King Date: Sat, 8 Oct 2022 07:07:59 -0400 Subject: 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. --- Tests/CheckSourceTree/CMakeLists.txt | 6 +++--- 1 file 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) -- cgit v0.12