Skip to content

Commit

Permalink
WIP: Switch from CTEST_UPDATE_COMMAND to CTEST_GIT_COMMAND
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlettroscoe committed Feb 15, 2019
1 parent 2534edb commit 2333cfa
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tribits/ctest_driver/TribitsCTestDriverCore.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1782,8 +1782,11 @@ FUNCTION(TRIBITS_CTEST_DRIVER)
# Set the git update command for an already cloned repo
#

SET(CTEST_UPDATE_COMMAND "${GIT_EXE}")
MESSAGE("CTEST_UPDATE_COMMAND='${CTEST_UPDATE_COMMAND}'")
SET(CTEST_GIT_COMMAND "${GIT_EXE}")
MESSAGE("CTEST_GIT_COMMAND=${CTEST_GIT_COMMAND}")
# NOTE: You can't put the above command "${GIT_EXE}" in quotes like
# "'${GIT_EXE}'" or "\"${GIT_EXE}\"" or it will not work and
# ctest_update() will return failed!

ENDIF()

Expand Down

0 comments on commit 2333cfa

Please sign in to comment.