CMake/Source/CTest
Brad King e1548142fb CTest: Move initial checkout to ctest_start()
In CTest command-driven script mode we support starting without a source
tree.  Previously the ctest_start() command would do some initialization
but could not do anything that required CTestConfig.cmake from the input
source tree.  Later, ctest_update() would run CTEST_CHECKOUT_COMMAND to
create the source tree, and then re-initialize everything.  This
delayed-initialization approach led to many complicated cases of which
only some worked.  For example, the second initialization only worked
correctly in Nightly mode and simply failed for Experimental and
Continuous builds.

A simpler solution is to run CTEST_CHECKOUT_COMMAND during ctest_start()
and then have a single initialization path.  In principle this change in
behavior could break scripts that set the checkout command after
ctest_start() but before ctest_update().  However, the convention we've
always followed has been to set all variables before ctest_start().

See issue #9450.
2009-11-24 08:58:59 -05:00
..
cmCTestBZR.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestBZR.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestBatchTestHandler.cxx Add a ctest test to cover cmCTestBatchTestHandler. Since its behavior isn't fully defined yet, we just run it as is and don't care much about the result. 2009-10-26 09:44:08 -04:00
cmCTestBatchTestHandler.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestBuildAndTestHandler.cxx Fix floating point comparison warnings. Thanks to Alex Neundorf for the patch. 2009-10-13 16:39:48 -04:00
cmCTestBuildAndTestHandler.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestBuildCommand.cxx Added TARGET, CONFIGURATION, PROJECT_NAME, and FLAGS arguments to ctest_build command 2009-11-03 16:46:30 -05:00
cmCTestBuildCommand.h Added TARGET, CONFIGURATION, PROJECT_NAME, and FLAGS arguments to ctest_build command 2009-11-03 16:46:30 -05:00
cmCTestBuildHandler.cxx Fix warnings in CMake source code. Suppress rampant warnings emanating from Qt files. 2009-10-01 16:47:08 -04:00
cmCTestBuildHandler.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestCVS.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestCVS.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestCommand.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestConfigureCommand.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestConfigureCommand.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestConfigureHandler.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestConfigureHandler.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestCoverageCommand.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestCoverageCommand.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestCoverageHandler.cxx Fix issue #5668 - use CollapseFullPath when determining if covered file is within source or binary tree. Allows gcc/gcov coverage analysis using MinGW on Windows. 2009-10-12 14:51:54 -04:00
cmCTestCoverageHandler.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestEmptyBinaryDirectoryCommand.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestEmptyBinaryDirectoryCommand.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestGIT.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestGIT.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestGenericHandler.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestGenericHandler.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestGlobalVC.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestGlobalVC.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestHG.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestHG.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestHandlerCommand.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestHandlerCommand.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestLaunch.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestLaunch.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestMemCheckCommand.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestMemCheckCommand.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestMemCheckHandler.cxx fix number of callers to work with newer versions of valgrind 2009-11-11 08:43:15 -05:00
cmCTestMemCheckHandler.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestMultiProcessHandler.cxx Handle multiple carriage return issue on windows VS9. Also make sure that running ctest in showonly mode does not kill our cost store, since many ctest tests do this and corrupt our cost data. 2009-11-16 10:58:43 -05:00
cmCTestMultiProcessHandler.h Added logic to check for cycles in the test dependency graph before any tests are run. Previously a cycle resulted in a segfault from stack overflow. 2009-11-02 12:52:50 -05:00
cmCTestReadCustomFilesCommand.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestReadCustomFilesCommand.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestRunScriptCommand.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestRunScriptCommand.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestRunTest.cxx Fix ctest output alignment for cases where total tests run is not the same width as max test index. 2009-10-15 12:02:22 -04:00
cmCTestRunTest.h Match width of ctest "Start xx: " line to line up with the end test line 2009-10-05 10:20:52 -04:00
cmCTestSVN.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestSVN.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestScriptHandler.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestScriptHandler.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestSleepCommand.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestSleepCommand.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestStartCommand.cxx CTest: Move initial checkout to ctest_start() 2009-11-24 08:58:59 -05:00
cmCTestStartCommand.h CTest: Move initial checkout to ctest_start() 2009-11-24 08:58:59 -05:00
cmCTestSubmitCommand.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestSubmitCommand.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestSubmitHandler.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestSubmitHandler.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestTestCommand.cxx Hook for scheduling tests in a random order 2009-10-29 15:30:12 -04:00
cmCTestTestCommand.h Hook for scheduling tests in a random order 2009-10-29 15:30:12 -04:00
cmCTestTestHandler.cxx Change logic of ctest subdirs command to allow for absolute paths. Also added test coverage for passing absolute paths to subdirs. 2009-11-10 10:40:24 -05:00
cmCTestTestHandler.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestUpdateCommand.cxx CTest: Move initial checkout to ctest_start() 2009-11-24 08:58:59 -05:00
cmCTestUpdateCommand.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestUpdateHandler.cxx CTest: Move initial checkout to ctest_start() 2009-11-24 08:58:59 -05:00
cmCTestUpdateHandler.h CTest: Move initial checkout to ctest_start() 2009-11-24 08:58:59 -05:00
cmCTestVC.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestVC.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmProcess.cxx Handle multiple carriage return issue on windows VS9. Also make sure that running ctest in showonly mode does not kill our cost store, since many ctest tests do this and corrupt our cost data. 2009-11-16 10:58:43 -05:00
cmProcess.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00