소스 검색

COMP: Update continuous dashboard duration to ensure it ends on time.

By setting a duration of 13hours, assuming the dashboard is configured
to start at 9am, it should end around 10pm (*) when the nightly
are expected to start.

(*) If any, time for the last continuous build to end.
Jean-Christophe Fillion-Robin 13 년 전
부모
커밋
16efd7e23e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      CMake/ctkDashboardDriverScript.cmake

+ 1 - 1
CMake/ctkDashboardDriverScript.cmake

@@ -277,7 +277,7 @@ ${ADDITIONNAL_CMAKECACHE_OPTION}
 endmacro()
 
 if(SCRIPT_MODE STREQUAL "continuous")
-  while(${CTEST_ELAPSED_TIME} LESS 68400)
+  while(${CTEST_ELAPSED_TIME} LESS 46800) # Lasts 13 hours (Assuming it starts at 9am, it will end around 10pm)
     set(START_TIME ${CTEST_ELAPSED_TIME})
     run_ctest()
     # Loop no faster than once every 5 minutes