1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 03:12:36 +01:00

ctest: increase the retry count for test submissions

Default retry count is 0 (=do not retry)
This commit is contained in:
Anonymous Maarten 2018-06-14 15:23:16 +02:00
parent 23072a5e99
commit adb5c32da2

View File

@ -144,6 +144,8 @@ endif()
if(SUBMIT)
message(STATUS "Submitting...")
ctest_submit(
RETRY_COUNT 5
RETRY_DELAY 120
RETURN_VALUE _SUBMIT_RESULT
)
else()
@ -161,3 +163,7 @@ endif()
if(_TEST_RESULT)
list(APPEND WARNING_MESSAGES "Test failure detected!")
endif()
if(_SUBMIT_RESULT)
list(APPEND ERROR_MESSAGES "Test submission failure detected!")
endif()