CMake/Source/CTest
David Cole 003ffe5908 Fix intermingling of test environments when tests run in parallel.
The SaveRestoreEnvironment helper object makes sure that the
original environment is restored immediately after the
StartProcess call returns rather than waiting for the end
of the test. When tests are executed in parallel, there is
no guarantee about the ordering of EndTest calls relative
to StartTest calls. In fact, it would be odd for them to
be nested nicely. Therefore, to avoid the corruption of
the calling ctest's environment, the original environment
must be restored before ForkProcess returns.
2010-03-30 14:08:31 -04:00
..
cmCTestBZR.cxx cmCTestBZR: Strip trailing slashes from paths 2010-02-09 13:31:12 -05: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 Fix for issue #5041 - improve error messages that may occur during ctest_build and ctest_configure. 2009-12-29 18:03:45 -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 issue #2336 - honor the -C arg to ctest. Honor it for all stages of running -D dashboards from the command line and running ctest_configure, ctest_build and ctest_test commands in -S scripts. Also, allow a script to change it by setting the CTEST_CONFIGURATION_TYPE variable: allows for multiple configuration build/test cycles within one script. Add a new signature for the cmake command build_command that accepts CONFIGURATION as one argument. The original build_command signature is still there, but now marked as deprecated in the documentation. Of course... also add CTestConfig tests to verify that -C is honored for -D dashboards and -S scripts. 2009-12-04 12:09:01 -05:00
cmCTestBuildHandler.h Fix issue #2336 - honor the -C arg to ctest. Honor it for all stages of running -D dashboards from the command line and running ctest_configure, ctest_build and ctest_test commands in -S scripts. Also, allow a script to change it by setting the CTEST_CONFIGURATION_TYPE variable: allows for multiple configuration build/test cycles within one script. Add a new signature for the cmake command build_command that accepts CONFIGURATION as one argument. The original build_command signature is still there, but now marked as deprecated in the documentation. Of course... also add CTestConfig tests to verify that -C is honored for -D dashboards and -S scripts. 2009-12-04 12:09:01 -05: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 Fix for fix for issue #2336 - do not specify CMAKE_BUILD_TYPE when the ctest -C configuration type string is empty. 2010-02-10 14:47:21 -05: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 cmCTestGIT: Refresh index for local modifications 2010-02-09 13:31:32 -05: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 Submit global tree revision in Update.xml 2009-12-18 08:13:51 -05:00
cmCTestGlobalVC.h Submit global tree revision in Update.xml 2009-12-18 08:13:51 -05: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 Fix issue #2336 - honor the -C arg to ctest. Honor it for all stages of running -D dashboards from the command line and running ctest_configure, ctest_build and ctest_test commands in -S scripts. Also, allow a script to change it by setting the CTEST_CONFIGURATION_TYPE variable: allows for multiple configuration build/test cycles within one script. Add a new signature for the cmake command build_command that accepts CONFIGURATION as one argument. The original build_command signature is still there, but now marked as deprecated in the documentation. Of course... also add CTestConfig tests to verify that -C is honored for -D dashboards and -S scripts. 2009-12-04 12:09:01 -05: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 Add unit test for RESOURCE_LOCK test property 2010-03-03 10:33:09 -05:00
cmCTestMultiProcessHandler.h Added RESOURCE_LOCK test property. 2010-03-02 15:38:02 -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 intermingling of test environments when tests run in parallel. 2010-03-30 14:08:31 -04:00
cmCTestRunTest.h Fix intermingling of test environments when tests run in parallel. 2010-03-30 14:08:31 -04:00
cmCTestSVN.cxx Submit Subversion directory path in Update.xml 2009-12-18 08:19:41 -05:00
cmCTestSVN.h Submit Subversion directory path in Update.xml 2009-12-18 08:19:41 -05:00
cmCTestScriptHandler.cxx Preserve environment variables across calls to cmCTestScriptHandler::RunConfigurationScript. This will help prevent problems like we are currently experiencing (regarding CMake continuous dashboards only running once each day because the HOME environment variable is modified indirectly by a command in a called script, but affects the environment in the calling script). 2009-12-23 14:34:46 -05: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 Fix issue #10060 - add APPEND arg to ctest_start command. 2009-12-29 14:38:31 -05:00
cmCTestStartCommand.h Fix issue #10060 - add APPEND arg to ctest_start command. 2009-12-29 14:38:31 -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 Added a "-http1.0" option to ctest to make it submit using curl's http 1.0 option. Also added parsing of html reponse output to determine whether errors or warnings were sent in response from the server. If errors or warnings occurred, the response is output to stdout, and the "submission successful" message has been changed to accurately reflect whether or not warnings or errors were returned with the response. 2009-12-11 14:10:37 -05:00
cmCTestSubmitHandler.h Added a "-http1.0" option to ctest to make it submit using curl's http 1.0 option. Also added parsing of html reponse output to determine whether errors or warnings were sent in response from the server. If errors or warnings occurred, the response is output to stdout, and the "submission successful" message has been changed to accurately reflect whether or not warnings or errors were returned with the response. 2009-12-11 14:10:37 -05:00
cmCTestTestCommand.cxx Add the --stop-time argument 2010-03-17 11:04:13 -04:00
cmCTestTestCommand.h Add the --stop-time argument 2010-03-17 11:04:13 -04:00
cmCTestTestHandler.cxx Added RESOURCE_LOCK test property. 2010-03-02 15:38:02 -05:00
cmCTestTestHandler.h Added RESOURCE_LOCK test property. 2010-03-02 15:38:02 -05: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 Use literal quotes in Update.xml UpdateCommand 2009-12-18 10:54:24 -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 BUG: We shouldn't be setting the HideWindow option on the test processes we create. 2010-02-19 13:28:04 -05:00
cmProcess.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00