From 4a60db1184aabbd7e4bdc73836679f892036f854 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 27 Jul 2006 09:40:21 -0400 Subject: BUG: Fix error message when handler cannot be created. --- Source/CTest/cmCTestHandlerCommand.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/CTest/cmCTestHandlerCommand.cxx b/Source/CTest/cmCTestHandlerCommand.cxx index 2313569..da53d34 100644 --- a/Source/CTest/cmCTestHandlerCommand.cxx +++ b/Source/CTest/cmCTestHandlerCommand.cxx @@ -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; } -- cgit v0.12