Skip to content

Commit 5d81b65

Browse files
committed
ctest need ctest_update_command to avoid final return code 255
1 parent 64e7e6d commit 5d81b65

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ cmake_cpu_count()
107107

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

112114
ctest_start(${CTEST_MODEL})
113115

0 commit comments

Comments
 (0)