Commit 933ef1f7 authored by jcfr's avatar jcfr
Browse files

BUG: DashboardDriverScript - Update info submitted only when needed

git-svn-id: http://svn.slicer.org/Slicer4/trunk@15167 3bd1e089-480b-0410-8dfb-8563597acbee
parent cbb33120
......@@ -88,7 +88,6 @@ set(CTEST_SOURCE_DIRECTORY "${CTEST_SOURCE_DIRECTORY}/SuperBuild")
MACRO(run_ctest)
ctest_start(${model})
ctest_update(SOURCE "${CTEST_SOURCE_DIRECTORY}/.." RETURN_VALUE res)
ctest_submit(PARTS Update)
# force a build if this is the first run and the build dir is empty
if(NOT EXISTS "${CTEST_BINARY_DIRECTORY}/CMakeCache.txt")
......@@ -107,6 +106,9 @@ ${ADDITIONAL_CMAKECACHE_OPTION}
endif()
if (res GREATER 0 OR force_build)
ctest_submit(PARTS Update)
message("----------- [ Configure ${CTEST_PROJECT_NAME} ] -----------")
#set(label Slicer)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment