Changeset 2393
- Timestamp:
- Nov 22, 2004, 11:22:44 AM (22 years ago)
- Location:
- trunk/psLib/test
- Files:
-
- 4 edited
-
collections/tst_psArray01.c (modified) (2 diffs)
-
collections/tst_psVectorSort_04.c (modified) (2 diffs)
-
dataManip/tst_psMinimize07.c (modified) (2 diffs)
-
sysUtils/tst_psMemory.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/collections/tst_psArray01.c
r2388 r2393 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $15 * @date $Date: 2004-11- 19 21:58:59$14 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2004-11-22 21:22:44 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 119 119 psFree(mySt[i]); 120 120 } 121 if( psMemCheckLeaks(0, NULL, stdout ) != 0) {121 if( psMemCheckLeaks(0, NULL, stdout, false) != 0) { 122 122 psError(PS_ERR_UNKNOWN,true,"Memory leaks detected."); 123 123 return 110; -
trunk/psLib/test/collections/tst_psVectorSort_04.c
r2204 r2393 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-1 0-27 00:57:33$11 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-11-22 21:22:44 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 34 34 printPositiveTestHeader(stdout, "psVectorSort", "Free vectors"); 35 35 psFree(goodOut); 36 psS32 nLeaks = psMemCheckLeaks(0, NULL, stdout );36 psS32 nLeaks = psMemCheckLeaks(0, NULL, stdout, false); 37 37 if(nLeaks) { 38 38 printf("ERROR: Found %d memory blocks\n", nLeaks); -
trunk/psLib/test/dataManip/tst_psMinimize07.c
r2250 r2393 82 82 83 83 psMemCheckCorruption(1); 84 memLeaks = psMemCheckLeaks(currentId,NULL,NULL );84 memLeaks = psMemCheckLeaks(currentId,NULL,NULL,false); 85 85 if (0 != memLeaks) { 86 86 psAbort(__func__,"Memory Leaks! (%d leaks)", memLeaks); … … 149 149 150 150 psMemCheckCorruption(1); 151 memLeaks = psMemCheckLeaks(currentId,NULL,NULL );151 memLeaks = psMemCheckLeaks(currentId,NULL,NULL,false); 152 152 if (0 != memLeaks) { 153 153 psAbort(__func__,"Memory Leaks! (%d leaks)", memLeaks); -
trunk/psLib/test/sysUtils/tst_psMemory.c
r2273 r2393 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.2 7$ $Name: not supported by cvs2svn $9 * @date $Date: 2004-11- 04 01:05:00$8 * @version $Revision: 1.28 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2004-11-22 21:20:32 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 385 385 psLogMsg( __func__, PS_LOG_INFO, "following psMemCheckLeaks call should produce one instance." ); 386 386 387 nLeaks = psMemCheckLeaks( currentId, &blks, stderr );387 nLeaks = psMemCheckLeaks( currentId, &blks, stderr, false ); 388 388 389 389 if ( nLeaks != 1 ) { … … 402 402 403 403 psLogMsg( __func__, PS_LOG_INFO, "Testing psMemCheckLeaks again with a different leak location" ); 404 psMemCheckLeaks(currentId,NULL,stderr );404 psMemCheckLeaks(currentId,NULL,stderr, false); 405 405 406 406 for ( lcv = 0;lcv < numBuffers;lcv++ ) { … … 415 415 psLogMsg( __func__, PS_LOG_INFO, "following psMemCheckLeaks call should produce one error." ); 416 416 417 nLeaks = psMemCheckLeaks( currentId, &blks, stderr );417 nLeaks = psMemCheckLeaks( currentId, &blks, stderr, false ); 418 418 419 419 if ( nLeaks != 1 ) { … … 445 445 psLogMsg( __func__, PS_LOG_INFO, "following psMemCheckLeaks call should produce two errors." ); 446 446 447 nLeaks = psMemCheckLeaks( currentId, &blks, stderr );447 nLeaks = psMemCheckLeaks( currentId, &blks, stderr, false ); 448 448 449 449 if ( nLeaks != 2 ) {
Note:
See TracChangeset
for help on using the changeset viewer.
