Procházet zdrojové kódy

Merge branch 'update-continous-dashboard-duration'

* update-continous-dashboard-duration:
  COMP: Update continuous dashboard duration to ensure it ends on time.
Jean-Christophe Fillion-Robin před 13 roky
rodič
revize
e419059e98
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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