BUG: Fix error message when handler cannot be created.
This commit is contained in:
parent
a3d49e9318
commit
4a60db1184
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue