Changeset 1699 for trunk/psLib/test/psTest.c
- Timestamp:
- Sep 7, 2004, 9:57:37 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/psTest.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/psTest.c
r1695 r1699 21 21 #include "psMemory.h" 22 22 #include "psError.h" 23 #include "psTrace.h" 23 24 24 25 #define HEADER_TOP "/***************************** TESTPOINT ******************************************\\\n" … … 149 150 int retVal = fcn(); 150 151 psErrorClear(); // clear the error stack before checking for leaks 152 psTraceReset(); 151 153 if ( retVal == 0 ) { // only bother checking memory if test executed to end. 152 154 if ( psMemCheckLeaks( currentId, NULL, stderr ) != 0 ) { … … 174 176 childReturn = fcn(); 175 177 psErrorClear(); // clear the error stack before checking for leaks 178 psTraceReset(); 176 179 if ( childReturn == 0 ) { // only bother checking memory if test executed to end. 177 180 if ( psMemCheckLeaks( currentId, NULL, stderr ) != 0 ) {
Note:
See TracChangeset
for help on using the changeset viewer.
