summaryrefslogtreecommitdiffstats
path: root/akregator/src/mk4storage/metakit/tests/regress.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/mk4storage/metakit/tests/regress.cpp')
-rw-r--r--akregator/src/mk4storage/metakit/tests/regress.cpp31
1 files changed, 4 insertions, 27 deletions
diff --git a/akregator/src/mk4storage/metakit/tests/regress.cpp b/akregator/src/mk4storage/metakit/tests/regress.cpp
index 0725f57f5..6724d338a 100644
--- a/akregator/src/mk4storage/metakit/tests/regress.cpp
+++ b/akregator/src/mk4storage/metakit/tests/regress.cpp
@@ -15,11 +15,6 @@
#endif
#endif
-#if __profile__
- #define q4_MWCW_PROFILER 1
- #include <profiler.h>
-#endif
-
#if q4_NOTHROW
const char* msg;
#endif
@@ -56,10 +51,6 @@ main()
DebugNewForgetLeaks();
#endif
-#if q4_MWCW_PROFILER
- if (!ProfilerInit(collectDetailed, bestTimeBase, 20, 5))
- {
-#endif
TestBasics1();
TestBasics2();
TestNotify();
@@ -77,12 +68,6 @@ main()
TestMapped();
TestLimits();
-#if q4_MWCW_PROFILER
- ProfilerDump("\pRegress.prof");
- ProfilerTerm();
- }
-#endif
-
#if defined (_DEBUG)
fputs("\nPress return... ", stderr);
getchar();
@@ -226,18 +211,14 @@ int StartTest(int mask_, const char* name_, const char* desc_)
#if q4_MFC && defined(_DEBUG)
TRACE("%s - %-40s *** DISABLED ***\n", name_, desc_);
#endif
- #if !q4_MWCW_PROFILER
- fprintf(stderr, "%s - %-40s *** DISABLED ***\n", name_, desc_);
- #endif
+ fprintf(stderr, "%s - %-40s *** DISABLED ***\n", name_, desc_);
return false;
}
#if q4_MFC && defined(_DEBUG)
TRACE("%s - %s\n", name_, desc_);
#endif
- #if !q4_MWCW_PROFILER
- fprintf(stderr, "%s - %s\n", name_, desc_);
- #endif
+ fprintf(stderr, "%s - %s\n", name_, desc_);
char buffer [50];
sprintf(buffer, "%s%s.txt", TESTDIR, name_);
@@ -254,16 +235,12 @@ int StartTest(int mask_, const char* name_, const char* desc_)
void CatchMsg(const char* msg)
{
- #if !q4_MWCW_PROFILER
- fprintf(stderr, "\t%s\n", msg);
- #endif
+ fprintf(stderr, "\t%s\n", msg);
printf("*** %s ***\n", msg);
}
void CatchOther()
{
- #if !q4_MWCW_PROFILER
- fputs("\tException!\n", stderr);
- #endif
+ fputs("\tException!\n", stderr);
printf("*** Exception ***\n");
}