Skip to content

Commit

Permalink
ctest need ctest_update_command to avoid final return code 255
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Mar 14, 2021
1 parent 64e7e6d commit 5d81b65
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ cmake_cpu_count()

set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
set(CTEST_SUBMIT_RETRY_COUNT 3)
set(CTEST_UPDATE_TYPE git) # avoids auto-detect version control failures on some systemes
# avoid auto-detect version control failures on some systemes
set(CTEST_UPDATE_TYPE git)
set(CTEST_UPDATE_COMMAND git)

ctest_start(${CTEST_MODEL})

Expand Down

0 comments on commit 5d81b65

Please sign in to comment.