CMake/Source/CTest
Brad King a4ec24269b CTest: Report tests not run due to unknown configuration
When add_test(NAME) is called without the CONFIGURATIONS argument then
the test is intended to run in any configuration.  In multi-config
generators like the VS IDE and Xcode tests created by add_test(NAME) can
only be run when testing a known configuration (otherwise there is no
way to generate the test command line).  If no test command line is
known for a particular configuration, or if no configuration is given to
ctest, report the test as not run instead of silently skipping it.

Also fix CMake's own TestsWorkingDirectory test invocation to correct a
previously silent failure exposed by this change.
2011-06-10 09:52:18 -04:00
..
cmCTestBZR.cxx CTest: Submit author email in Update.xml 2010-05-07 09:17:26 -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 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 Document ctest_build() TARGET option 2010-06-15 10:43:30 -04:00
cmCTestBuildHandler.cxx CTest: catch warning output of Apache Maven 2011-03-18 09:08:33 -04: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 CTest: Use the gcov --preserve-paths flag (#11717) 2011-02-09 16:04:15 -05:00
cmCTestCoverageHandler.h Add php coverage to ctest. 2010-05-25 09:23:25 -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 CTest: Do not fail with submodules and Git < 1.6.5.0 2011-03-10 13:57:30 -05:00
cmCTestGIT.h CTest: Update Git submodules with --recursive 2011-02-22 15:47:50 -05: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 CTest: Submit author email in Update.xml 2010-05-07 09:17:26 -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 CTest: Teach launcher to ignore empty/no-op make commands 2011-01-10 10:17:13 -05: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 We will actually compress memcheck output if the server supports it. 2011-05-26 14:50:07 -04:00
cmCTestMemCheckHandler.h CTest: Avoid use of old EscapeSpaces method 2010-08-18 10:14:09 -04:00
cmCTestMultiProcessHandler.cxx Use stable_sort to preserve test order (#11877) 2011-02-18 13:10:26 -05:00
cmCTestMultiProcessHandler.h Added CTest command --print-labels 2010-08-31 10:41:23 -04: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 Fix spelling errors reported by Lintian. 2010-07-13 09:41:37 -04:00
cmCTestRunTest.cxx CTest: Report tests not run due to unknown configuration 2011-06-10 09:52:18 -04:00
cmCTestRunTest.h Test TIMEOUT property explicitly set to zero should be honored 2011-01-03 14:41:25 -05: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 Implement ctest_upload command 2011-03-15 15:07:37 -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 CTest: Fix ctest_sleep documentation (#11554) 2010-12-09 10:37:28 -05: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 Testing for CTest checksum 2010-06-10 12:25:49 -04:00
cmCTestSubmitCommand.h Testing for CTest checksum 2010-06-10 12:25:49 -04:00
cmCTestSubmitHandler.cxx Implement ctest_upload command 2011-03-15 15:07:37 -04:00
cmCTestSubmitHandler.h Checksums on CTest submit files, and retry timed out submissions. 2010-06-03 10:34:34 -04: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 CTest: Report tests not run due to unknown configuration 2011-06-10 09:52:18 -04:00
cmCTestTestHandler.h Implement ctest_upload command 2011-03-15 15:07:37 -04:00
cmCTestUpdateCommand.cxx ctest_update: Support custom Git update command 2010-06-08 16:12:28 -04:00
cmCTestUpdateCommand.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestUpdateHandler.cxx ctest_update: Report failure in Update.xml 2010-04-27 14:10:47 -04:00
cmCTestUpdateHandler.h CTest: Move initial checkout to ctest_start() 2009-11-24 08:58:59 -05:00
cmCTestUploadCommand.cxx cmCTestUploadCommand::CheckArgumentKeyword should return false if not FILES 2011-03-31 14:41:19 -04:00
cmCTestUploadCommand.h Add the FILES keyword to ctest_upload command 2011-03-15 15:07:37 -04:00
cmCTestUploadHandler.cxx Don't tar/gz ctest_upload() files 2011-03-15 15:07:37 -04:00
cmCTestUploadHandler.h Implement ctest_upload command 2011-03-15 15:07:37 -04:00
cmCTestVC.cxx CTest git update should pass the committer as well as the author 2010-12-20 16:05:40 -05:00
cmCTestVC.h CTest git update should pass the committer as well as the author 2010-12-20 16:05:40 -05:00
cmParsePHPCoverage.cxx Add php coverage to ctest. 2010-05-25 09:23:25 -04:00
cmParsePHPCoverage.h Add php coverage to ctest. 2010-05-25 09:23:25 -04:00
cmProcess.cxx Fix for bug #10859, ctest exit exception incorrectly reported. 2010-06-22 09:55:09 -04:00
cmProcess.h Fix for bug #10859, ctest exit exception incorrectly reported. 2010-06-22 09:55:09 -04:00