summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-04-26 22:51:47 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-04-26 22:51:47 (GMT)
commit5a4a6a57d1949f0ce457ead1ccdd52a8a4478263 (patch)
treeb0b1d197530884a0e770c2974108574a0ade9fe2
parent38abe90f156f9d2efe9fd48862ac23804f0bbc16 (diff)
downloadCMake-5a4a6a57d1949f0ce457ead1ccdd52a8a4478263.zip
CMake-5a4a6a57d1949f0ce457ead1ccdd52a8a4478263.tar.gz
CMake-5a4a6a57d1949f0ce457ead1ccdd52a8a4478263.tar.bz2
ENH: Another one of those nasty hex numbers in the ctest output
-rw-r--r--Source/cmCTest.cxx4
1 files changed, 3 insertions, 1 deletions
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;
}