summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-07-27 13:40:21 (GMT)
committerBrad King <brad.king@kitware.com>2006-07-27 13:40:21 (GMT)
commit4a60db1184aabbd7e4bdc73836679f892036f854 (patch)
tree79c901af4c3b44d625f1e5413d1d6f5b274044eb /Source
parenta3d49e931848b3ec92a6046b52549333677b2b98 (diff)
downloadCMake-4a60db1184aabbd7e4bdc73836679f892036f854.zip
CMake-4a60db1184aabbd7e4bdc73836679f892036f854.tar.gz
CMake-4a60db1184aabbd7e4bdc73836679f892036f854.tar.bz2
BUG: Fix error message when handler cannot be created.
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/cmCTestHandlerCommand.cxx4
1 files changed, 3 insertions, 1 deletions
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;
}