Hi, I have a question about using CTest for automatic nightly builds. Our company has been using CMake/CTest/CDash tools for about a year now with no problems when the nightly build time was at 1am. We moved the nightly build time to 9pm because now we have a lot more software to build and many more compilers. We changed all the projects nightly start time (on the CDash server) to 6pm to ensure the nightly builds show up for the next day.
However the problem we are seeing is that CTest_Update does not seem to update to the head revision anymore, but rather seems to update to the previous day's revision? I have found a few posts suggesting that the variable CTEST_NIGHTLY_START_TIME is not used anymore? Is this true? All of our ctest config files had set this value to midnight because I think it was required in older versions of CMake/CTest? Is it possible that this old behavior/capability of using this client-side variable is still present and is causing our svn update problem? From the output log of the svn update command it appears that the nightly start time is affecting the svn update operation to update to yesterday's revision. Can I just remove the Set (CTEST_NIGHTLY_START_TIME) command from our client update ctest scripts to fix this problem? Will older versions of CMake require this variable to work? Below is the log output of the CTest/CDash update script we use to recursively update our repositories. You can see where the nightly start time is set, and how the old revision number is newer than the new revision number. SetCTestConfiguration:SourceDirectory:N:/dsci/repo/common/scripts/CDashB uilder SetCTestConfiguration:BuildDirectory:N:/dsci/repo/common/scripts/CDashBu ilder/ctest Run dashboard with model Nightly Source directory: N:/dsci/repo/common/scripts/CDashBuilder Build directory: N:/dsci/repo/common/scripts/CDashBuilder/ctest Reading ctest configuration file: N:/dsci/repo/common/scripts/CDashBuilder/CTestConfig.cmake SetCTestConfigurationFromCMakeVariable:NightlyStartTime:CTEST_NIGHTLY_ST ART_TIMESetCTestConfiguration:NightlyStartTime:00:00:00 EDT SetCTestConfigurationFromCMakeVariable:Site:CTEST_SITESetCTestConfigurat ion:Site:192.168.15.187 SetCTestConfigurationFromCMakeVariable:BuildName:CTEST_BUILD_NAMESetCTes tConfiguration:BuildName:WindowsXP-N__dsci_repo_common_ext_dll Site: 192.168.15.187 Build name: WindowsXP-N__dsci_repo_common_ext_dll Determine Nightly Start Time Specified time: 00:00:00 EDT Use Nightly tag: 20100503-0400 SetCTestConfiguration:SourceDirectory:N:/dsci/repo/common/ext/dll SetCTestConfigurationFromCMakeVariable:SVNCommand:CTEST_SVN_COMMANDSetCT estConfiguration:SVNCommand:svn SetCTestConfiguration:BuildDirectory:N:/dsci/repo/common/scripts/CDashBu ilder/ctest SetCTestConfiguration:SourceDirectory:N:/dsci/repo/common/ext/dll Updating the repository: N:/dsci/repo/common/ext/dll Use SVN repository type Old revision of repository is: 27078 Determine Nightly Start Time Specified time: 00:00:00 EDT New revision of repository is: 27054 Gathering version information (one . per revision): Found 6 updated files Any advice/suggestions you could offer would be greatly appreciated. Thanks! Sincerely, Luke Kucalaba Senior Software Engineer D&S Consultants Inc Columbus, Ohio
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake