CMake/Tests/CTestTestBadGenerator
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
..
CMakeLists.txt ctest_build: Do not crash on bad generator name 2014-05-07 11:02:16 -04:00
CTestConfig.cmake ctest_build: Do not crash on bad generator name 2014-05-07 11:02:16 -04:00
test.cmake.in ctest_build: Do not crash on bad generator name 2014-05-07 11:02:16 -04:00