Changeset 1193 for trunk/psLib/test/sysUtils/tst_psMemory.c
- Timestamp:
- Jul 7, 2004, 3:05:01 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/sysUtils/tst_psMemory.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/sysUtils/tst_psMemory.c
r1097 r1193 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.1 8$ $Name: not supported by cvs2svn $9 * @date $Date: 2004-0 6-25 21:51:46$8 * @version $Revision: 1.19 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2004-07-08 01:05:01 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 45 45 46 46 testDescription tests[] = { 47 {TPCheckBufferPositive,"449-TPCheckBufferPositive",0}, 48 {TPOutOfMemory,"450-TPOutOfMemory",-6}, 49 {TPReallocOutOfMemory,"562-TPReallocOutOfMemory",-6}, 50 {TPrealloc,"451-TPrealloc",0}, 51 {TPallocCallback,"452/453-TPallocCallback",0}, 52 {TPcheckLeaks,"454-TPcheckLeaks",0}, 53 {TPmemCorruption,"455-TPmemCorruption",0}, 54 {TPFreeReferencedMemory,"456-TPFreeReferencedMemory",0}, 47 {TPCheckBufferPositive,449,"checkBufferPositive",0,false}, 48 {TPOutOfMemory,450,"outOfMemory",-6,false}, 49 {TPReallocOutOfMemory,562,"reallocOutOfMemory",-6,false}, 50 {TPrealloc,451,"psRealloc",0,false}, 51 {TPallocCallback,452,"allocCallback",0,false}, 52 {TPallocCallback,453,"allocCallback2",0,true}, 53 {TPcheckLeaks,454,"checkLeaks",0,false}, 54 {TPmemCorruption,455,"psMemCorruption",0,false}, 55 {TPFreeReferencedMemory,456,"freeReferencedMemory",0,false}, 55 56 {NULL} 56 57 }; 57 58 58 int main( )59 int main(int argc, char* argv[]) 59 60 { 60 61 psLogSetLevel(PS_LOG_INFO); 61 62 62 if (! runTestSuite(stderr,"psMemory",tests )) {63 if (! runTestSuite(stderr,"psMemory",tests,argc,argv) ) { 63 64 psError(__FILE__,"One or more tests failed"); 64 65 return 1;
Note:
See TracChangeset
for help on using the changeset viewer.
