Fix crash on Windows. Remove trailing white space from regex. These changes should correct all failures of the new FailedSubmit tests.

This commit is contained in:
David Cole 2009-10-15 07:38:51 -04:00
parent b5f63c6b7d
commit 886ae02356
2 changed files with 2 additions and 2 deletions

View File

@ -2369,7 +2369,7 @@ void cmCTest::EmptyCTestConfiguration()
void cmCTest::SetCTestConfiguration(const char *name, const char* value)
{
cmCTestLog(this, HANDLER_VERBOSE_OUTPUT, "SetCTestConfiguration:"
<< name << ":" << value << "\n");
<< name << ":" << (value ? value : "(null)") << "\n");
if ( !name )
{

View File

@ -1131,7 +1131,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel
set(regex "(Problems when submitting via S*CP")
set(regex "${regex}|Error message was: ")
set(regex "${regex}(Couldn.t resolve host ")
set(regex "${regex}|couldn.t connect to host ")
set(regex "${regex}|couldn.t connect to host")
set(regex "${regex}|libcurl was built with SSL disabled. https: not supported)")
set(regex "${regex}|Submission method .xmlrpc. not compiled into CTest)")