From 5a4a6a57d1949f0ce457ead1ccdd52a8a4478263 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Mon, 26 Apr 2004 18:51:47 -0400 Subject: ENH: Another one of those nasty hex numbers in the ctest output --- Source/cmCTest.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index fbb64e7..e7a03e4 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -36,6 +36,8 @@ #include "cmDynamicLoader.h" #define SAFEDIV(x,y) (((y)!=0)?((x)/(y)):(0)) +#define DEBUGOUT std::cout << __LINE__ << " "; std::cout +#define DEBUGERR std::cerr << __LINE__ << " "; std::cerr // provide some more detailed info on the return code for ctest #define CTEST_UPDATE_ERRORS 0x01 @@ -4488,7 +4490,7 @@ int cmCTest::RunCMakeAndTest(std::string* outstring) } else { - std::cerr << out << "\n"; + std::cerr << out.str() << "\n"; } return 1; } -- cgit v0.12