Sfoglia il codice sorgente

Dashboard driver script now submit update info

Jean-Christophe Fillion-Robin 14 anni fa
parent
commit
e7516cdb40
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      CMake/ctkDashboardDriverScript.cmake

+ 3 - 1
CMake/ctkDashboardDriverScript.cmake

@@ -112,7 +112,6 @@ set(CTEST_UPDATE_COMMAND "${CTEST_GIT_COMMAND}")
 MACRO(run_ctest)
   ctest_start(${model})
   ctest_update(SOURCE "${CTEST_SOURCE_DIRECTORY}" RETURN_VALUE res)
-  #ctest_submit(PARTS Update Notes)
 
   # force a build if this is the first run and the build dir is empty
   if(NOT EXISTS "${CTEST_BINARY_DIRECTORY}/CMakeCache.txt")
@@ -132,6 +131,9 @@ ${ADDITIONNAL_CMAKECACHE_OPTION}
   endif()
   
   if (res GREATER 0 OR force_build)
+  
+    ctest_submit(PARTS Update)
+      
     message("Configure SuperBuild")
     
     set_property(GLOBAL PROPERTY SubProject SuperBuild)