diff options
author | Brad King <brad.king@kitware.com> | 2019-06-04 16:25:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-06-04 16:27:32 (GMT) |
commit | c0f00079a9d00539b0ca132e8be8fe63b1eed65c (patch) | |
tree | 8d3108f109c6c0e778975a5e745c222535ceae7f /Tests/RunCMake/ctest_update | |
parent | dae9b3e16fdacda16ea28f47dd42d3243ba42be5 (diff) | |
download | CMake-c0f00079a9d00539b0ca132e8be8fe63b1eed65c.zip CMake-c0f00079a9d00539b0ca132e8be8fe63b1eed65c.tar.gz CMake-c0f00079a9d00539b0ca132e8be8fe63b1eed65c.tar.bz2 |
Tests: Fix RunCMake.ctest_update test to not require GIT_EXECUTABLE
Fix the test case added by commit 95db11fdb1 (ctest: Include ChangeId in
Update.xml, 2019-04-23) to work in a release branch of CMake.
The `GIT_EXECUTABLE` value is not set before we add this test in
release branch builds.
Diffstat (limited to 'Tests/RunCMake/ctest_update')
-rw-r--r-- | Tests/RunCMake/ctest_update/test.cmake.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/RunCMake/ctest_update/test.cmake.in b/Tests/RunCMake/ctest_update/test.cmake.in index abbef74..25b8423 100644 --- a/Tests/RunCMake/ctest_update/test.cmake.in +++ b/Tests/RunCMake/ctest_update/test.cmake.in @@ -9,7 +9,9 @@ set(CTEST_CMAKE_GENERATOR "@RunCMake_GENERATOR@") set(CTEST_CMAKE_GENERATOR_PLATFORM "@RunCMake_GENERATOR_PLATFORM@") set(CTEST_CMAKE_GENERATOR_TOOLSET "@RunCMake_GENERATOR_TOOLSET@") set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}") -set(CTEST_UPDATE_COMMAND "@GIT_EXECUTABLE@") + +# FIXME: update test to do someting meaningful with this. +set(CTEST_UPDATE_COMMAND "not-actually-used") set(ctest_test_args "@CASE_CTEST_UPDATE_ARGS@") ctest_start(Experimental) |