[CMake] continuous builds and CTEST_ELAPSED_TIME

Marco Craveiro marco.craveiro at gmail.com
Thu Jan 20 15:38:41 EST 2011


hello cmakers,

i've been parsing some of the documentation/posts etc on continuous
builds. it seems a pretty common pattern for people to settle on a while
loop such as the one described in the official wiki
(http://www.cmake.org/Wiki/CMake_Scripting_Of_CTest):

while (${CTEST_ELAPSED_TIME} LESS 36000) 
set (START_TIME ${CTEST_ELAPSED_TIME})
 ctest_start (Continuous)
 ....
 ctest_sleep( ${START_TIME} 300 ${CTEST_ELAPSED_TIME})
endwhile()

the bit i fail to understand is why is 36000 deemed as a good value
rather than ~86400? or is this because a lot of people have copied and
pasted from the wiki page? :-)

thanks for your time

marco
-- 
Constraint has encouraged not only economy, but also a certain elegance
of design. -- Dennis Ritchie

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110120/0e76c88a/attachment.pgp>


More information about the CMake mailing list