diff options
author | Brad King <brad.king@kitware.com> | 2014-05-07 14:59:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-05-07 15:02:16 (GMT) |
commit | 54111286453894beb69ad18a9361edc2a50efc84 (patch) | |
tree | 2be66f856c661fde65c890374fa7ca3d5d660ed2 /Tests/CTestTestBadGenerator/CTestConfig.cmake | |
parent | 9cb4677509aa767245cbf4bb9e655d1559bc10bd (diff) | |
download | CMake-54111286453894beb69ad18a9361edc2a50efc84.zip CMake-54111286453894beb69ad18a9361edc2a50efc84.tar.gz CMake-54111286453894beb69ad18a9361edc2a50efc84.tar.bz2 |
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
Diffstat (limited to 'Tests/CTestTestBadGenerator/CTestConfig.cmake')
-rw-r--r-- | Tests/CTestTestBadGenerator/CTestConfig.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/CTestTestBadGenerator/CTestConfig.cmake b/Tests/CTestTestBadGenerator/CTestConfig.cmake new file mode 100644 index 0000000..ef98189 --- /dev/null +++ b/Tests/CTestTestBadGenerator/CTestConfig.cmake @@ -0,0 +1,7 @@ +set (CTEST_PROJECT_NAME "CTestTestBadGenerator") +set (CTEST_NIGHTLY_START_TIME "21:00:00 EDT") +set (CTEST_DART_SERVER_VERSION "2") +set(CTEST_DROP_METHOD "http") +set(CTEST_DROP_SITE "www.cdash.org") +set(CTEST_DROP_LOCATION "/CDash/submit.php?project=PublicDashboard") +set(CTEST_DROP_SITE_CDASH TRUE) |