BUG: Fix error message when handler cannot be created.

This commit is contained in:
Brad King 2006-07-27 09:40:21 -04:00
parent a3d49e9318
commit 4a60db1184
1 changed files with 3 additions and 1 deletions

View File

@ -48,7 +48,9 @@ bool cmCTestHandlerCommand::InitialPass(
cmCTestGenericHandler* handler = this->InitializeHandler();
if ( !handler )
{
this->SetError("internal CTest error. Cannot instantiate test handler");
cmCTestLog(this->CTest, ERROR_MESSAGE,
"Cannot instantiate test handler " << this->GetName()
<< std::endl);
return false;
}