summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorj.alex <j.alex>2006-04-28 18:41:40 +0000
committerj.alex <j.alex>2006-04-28 18:41:40 +0000
commit585b1812040fec9e7370f39369e7eb56dec8d998 (patch)
tree04269dafbbe877c71013503353edfe2f1affa4ad /test
parent460f36b1e94a105409b24f31f867b8b2c6d8224f (diff)
downloadtog-pegasus-585b1812040fec9e7370f39369e7eb56dec8d998.zip
tog-pegasus-585b1812040fec9e7370f39369e7eb56dec8d998.tar.gz
tog-pegasus-585b1812040fec9e7370f39369e7eb56dec8d998.tar.xz
BUG#: 5020
TITLE: make tests of StressTestController fails on windows DESCRIPTION: Modified StressTestController.cpp to fix this problem. Replaced DEBUG with STRESSTEST_DEBUG
Diffstat (limited to 'test')
-rw-r--r--test/StressTestController/StressTestController.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/StressTestController/StressTestController.cpp b/test/StressTestController/StressTestController.cpp
index 195886e..aa6c91f 100644
--- a/test/StressTestController/StressTestController.cpp
+++ b/test/StressTestController/StressTestController.cpp
@@ -63,7 +63,7 @@
#include <unistd.h>
#endif
-//#define DEBUG
+//#define STRESSTEST_DEBUG
#define SIXTYSECONDS 60
#define MILLISECONDS 1000
@@ -1940,7 +1940,7 @@ Boolean StressTestControllerCommand::getFileContent(
//
// Duplicate property, ignore the new property value.
//
-#ifdef DEBUG
+#ifdef STRESSTEST_DEBUG
cout<< "Property Name:duplicate name already saved: "<<
name<<endl;
#endif
@@ -2392,7 +2392,7 @@ void StressTestControllerCommand::_getClientOptions(
throw StressTestControllerException(StressTestControllerException::MISSING_VALUE);
}
-#ifdef DEBUG
+#ifdef STRESSTEST_DEBUG
cout<<"name="<<name<<endl;
cout<<"Before validate config: value="<<value<<endl;
#endif
@@ -2501,7 +2501,7 @@ Boolean StressTestControllerCommand::_getClientPIDs(
while (GetLine(ifs, line))
{
++lineNumber;
-#ifdef DEBUG
+#ifdef STRESSTEST_DEBUG
log_file<<" Line number:"<<lineNumber<<endl;
log_file<<" "<<line<<endl;
#endif
@@ -2922,7 +2922,7 @@ Boolean StressTestControllerCommand::_parseLine(
{
value.append(*p++);
}
-#ifdef DEBUG
+#ifdef STRESSTEST_DEBUG
cout<<"name="<<name<<endl;
cout<<"value="<<value<<endl;
#endif