CMake/Source/CTest
Brad King 5411128645 ctest_build: Do not crash on bad generator name
If creation of the global generator fails, return early with an error
message instead of trying to use the generator and crashing.

Add a CTestTestBadGenerator test to cover this case.

Reported-by: Mathieu Malaterre <malat@debian.org>
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747306
2014-05-07 11:02:16 -04:00
..
cmCTestBZR.cxx Remove unused ivars to eliminate compiler warnings 2012-06-20 17:44:10 -04:00
cmCTestBZR.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestBatchTestHandler.cxx CTest: create one output file per memcheck (#14303) 2013-08-07 22:25:48 +02:00
cmCTestBatchTestHandler.h Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -04:00
cmCTestBuildAndTestHandler.cxx ctest: Teach --build-options to allow zero options 2013-11-18 11:30:49 -05:00
cmCTestBuildAndTestHandler.h CTest: Add options to set generator toolset 2013-02-07 11:08:32 -05:00
cmCTestBuildCommand.cxx ctest_build: Do not crash on bad generator name 2014-05-07 11:02:16 -04:00
cmCTestBuildCommand.h Drop builtin command documentation 2013-10-16 09:22:36 -04:00
cmCTestBuildHandler.cxx Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream. 2014-01-07 09:27:44 -05:00
cmCTestBuildHandler.h Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream. 2014-01-07 09:27:44 -05:00
cmCTestCVS.cxx Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream. 2014-01-07 09:27:44 -05: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 Refactor internal resource location APIs and initialization 2013-11-12 08:23:35 -05:00
cmCTestConfigureCommand.h Drop builtin command documentation 2013-10-16 09:22:36 -04:00
cmCTestConfigureHandler.cxx Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -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 Drop builtin command documentation 2013-10-16 09:22:36 -04:00
cmCTestCoverageHandler.cxx Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream. 2014-01-07 09:27:44 -05:00
cmCTestCoverageHandler.h Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream. 2014-01-07 09:27:44 -05:00
cmCTestEmptyBinaryDirectoryCommand.cxx Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -04:00
cmCTestEmptyBinaryDirectoryCommand.h Drop builtin command documentation 2013-10-16 09:22:36 -04:00
cmCTestGIT.cxx Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream. 2014-01-07 09:27:44 -05:00
cmCTestGIT.h CTest: Update Git submodules with --recursive 2011-02-22 15:47:50 -05:00
cmCTestGenericHandler.cxx Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -04:00
cmCTestGenericHandler.h Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -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 CTest: Simplify ctest_* command source/build dir lookup 2013-04-12 11:35:36 -04:00
cmCTestHandlerCommand.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestLaunch.cxx CTest: exclude /showIncludes notes when scraping logs 2014-02-25 11:23:57 -05:00
cmCTestLaunch.h CTest: exclude /showIncludes notes when scraping logs 2014-02-25 11:23:57 -05:00
cmCTestMemCheckCommand.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestMemCheckCommand.h Drop builtin command documentation 2013-10-16 09:22:36 -04:00
cmCTestMemCheckHandler.cxx Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream. 2014-01-07 09:27:44 -05:00
cmCTestMemCheckHandler.h CTest: create one output file per memcheck (#14303) 2013-08-07 22:25:48 +02:00
cmCTestMultiProcessHandler.cxx Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream. 2014-01-07 09:27:44 -05:00
cmCTestMultiProcessHandler.h CTest: fix regressions introduced by the ctest-fix-run-serial topic 2013-12-23 15:31:15 +01:00
cmCTestP4.cxx ctest_update: Handle P4 unknown revisions more robustly 2014-01-22 08:33:33 -05:00
cmCTestP4.h ctest_update: Add support for Perforce p4 client 2013-10-26 10:24:15 -04:00
cmCTestReadCustomFilesCommand.cxx Kate: handle spaces in build dir 2014-02-17 09:54:03 -05:00
cmCTestReadCustomFilesCommand.h Drop builtin command documentation 2013-10-16 09:22:36 -04:00
cmCTestRunScriptCommand.cxx Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestRunScriptCommand.h Drop builtin command documentation 2013-10-16 09:22:36 -04:00
cmCTestRunTest.cxx allow to mark a test as "Not Run" with a specific return code (#8466) 2014-01-14 23:57:40 +01:00
cmCTestRunTest.h Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -04:00
cmCTestSVN.cxx ctest_update: Tell svn not to prompt interactively (#13024) 2012-09-25 13:36:47 -04:00
cmCTestSVN.h cmCTestSVN: Fix compilation with Sun CC 5.1 2012-10-04 15:05:05 -04:00
cmCTestScriptHandler.cxx Refactor internal resource location APIs and initialization 2013-11-12 08:23:35 -05:00
cmCTestScriptHandler.h CTest: more aggressive implementation of ctest_empty_binary_directory() 2013-11-02 13:05:38 +01:00
cmCTestSleepCommand.cxx Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -04:00
cmCTestSleepCommand.h Drop builtin command documentation 2013-10-16 09:22:36 -04:00
cmCTestStartCommand.cxx Fix issue #10060 - add APPEND arg to ctest_start command. 2009-12-29 14:38:31 -05:00
cmCTestStartCommand.h Drop builtin command documentation 2013-10-16 09:22:36 -04:00
cmCTestSubmitCommand.cxx Testing for CTest checksum 2010-06-10 12:25:49 -04:00
cmCTestSubmitCommand.h Drop builtin command documentation 2013-10-16 09:22:36 -04:00
cmCTestSubmitHandler.cxx Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream. 2014-01-07 09:27:44 -05:00
cmCTestSubmitHandler.h Doxygen: Fix warnings. 2011-10-23 22:18:08 +02:00
cmCTestTestCommand.cxx Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -04:00
cmCTestTestCommand.h Drop builtin command documentation 2013-10-16 09:22:36 -04:00
cmCTestTestHandler.cxx allow to mark a test as "Not Run" with a specific return code (#8466) 2014-01-14 23:57:40 +01:00
cmCTestTestHandler.h allow to mark a test as "Not Run" with a specific return code (#8466) 2014-01-14 23:57:40 +01:00
cmCTestUpdateCommand.cxx ctest_update: Add support for Perforce p4 client 2013-10-26 10:24:15 -04:00
cmCTestUpdateCommand.h Drop builtin command documentation 2013-10-16 09:22:36 -04:00
cmCTestUpdateHandler.cxx ctest_update: Add support for Perforce p4 client 2013-10-26 10:24:15 -04:00
cmCTestUpdateHandler.h ctest_update: Add support for Perforce p4 client 2013-10-26 10:24:15 -04:00
cmCTestUploadCommand.cxx cmCTestUploadCommand::CheckArgumentKeyword should return false if not FILES 2011-03-31 14:41:19 -04:00
cmCTestUploadCommand.h Drop builtin command documentation 2013-10-16 09:22:36 -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 cmCTestSVN: Fix compilation with Sun CC 5.1 2012-10-04 15:05:05 -04:00
cmParseCacheCoverage.cxx Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream. 2014-01-07 09:27:44 -05:00
cmParseCacheCoverage.h Remove uncovered files from cache coverage data. 2012-05-02 17:23:01 -04:00
cmParseGTMCoverage.cxx Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream. 2014-01-07 09:27:44 -05:00
cmParseGTMCoverage.h Add test for mumps coverage. Also refactor code to prepare for cache coverage. 2012-05-01 13:35:07 -04:00
cmParseMumpsCoverage.cxx Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream. 2014-01-07 09:27:44 -05:00
cmParseMumpsCoverage.h Add support for Cache coverage. 2012-05-01 17:00:43 -04:00
cmParsePHPCoverage.cxx Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream. 2014-01-07 09:27:44 -05:00
cmParsePHPCoverage.h Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream. 2014-01-07 09:27:44 -05:00
cmParsePythonCoverage.cxx Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream. 2014-01-07 09:27:44 -05:00
cmParsePythonCoverage.h Adding support for the Python coverage.py tool. 2013-10-08 09:20:30 -04:00
cmProcess.cxx CTest: make sure never to report negative test times (#14132) 2013-05-10 20:50:22 +02:00
cmProcess.h Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -04:00