Browse Source

Dashboard driver script now submit update info

Jean-Christophe Fillion-Robin 14 years ago
parent
commit
e7516cdb40
1 changed files with 3 additions and 1 deletions
  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)