Skip to content

Commit

Permalink
WIP: Messing around trying to get any ctest_update() to work (TriBITS…
Browse files Browse the repository at this point in the history
…Pub#278)

I can't any ctest_update() invocation to work!
  • Loading branch information
bartlettroscoe committed Feb 15, 2019
1 parent 4bc25a2 commit 75cb1d8
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}")

# SET(CTEST_UPDATE_COMMAND "'${GIT_EXE}'")
# MESSAGE("CTEST_UPDATE_COMMAND=${CTEST_UPDATE_COMMAND}")

SET(CTEST_GIT_UPDATE_CUSTOM
"'${GIT_EXE}' clean -fdx ; '${GIT_EXE}' reset --hard HEAD ; '${GIT_EXE}' fetch ${${PROJECT_NAME}_GIT_REPOSITORY_REMOTE}"
Expand Down

0 comments on commit 75cb1d8

Please sign in to comment.