diff options
author | Michele Calgaro <[email protected]> | 2024-12-31 11:24:44 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-12-31 20:40:18 +0900 |
commit | cf77371af416089034949edd8aed088432a9adfb (patch) | |
tree | 1fb149ddf0a9151f789768e6dfa043e83dd61c18 /akregator/src/mk4storage/metakit/tests | |
parent | d44d826885633ddfe051437358a421ecb0bf0486 (diff) | |
download | tdepim-cf77371af416089034949edd8aed088432a9adfb.tar.gz tdepim-cf77371af416089034949edd8aed088432a9adfb.zip |
Remove support for Metrowerks compiler
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'akregator/src/mk4storage/metakit/tests')
-rw-r--r-- | akregator/src/mk4storage/metakit/tests/regress.cpp | 31 |
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"); } |