IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 7, 2004, 3:05:01 PM (22 years ago)
Author:
desonia
Message:

rewrote psImageCopy so that macro need not be expanded.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/sysUtils/tst_psMemory.c

    r1097 r1193  
    66 *  @author Robert DeSonia, MHPCC
    77 *
    8  *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2004-06-25 21:51:46 $
     8 *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2004-07-08 01:05:01 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    4545
    4646testDescription 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},
    5556                              {NULL}
    5657                          };
    5758
    58 int main()
     59int main(int argc, char* argv[])
    5960{
    6061    psLogSetLevel(PS_LOG_INFO);
    6162
    62     if (! runTestSuite(stderr,"psMemory",tests)) {
     63    if (! runTestSuite(stderr,"psMemory",tests,argc,argv) ) {
    6364        psError(__FILE__,"One or more tests failed");
    6465        return 1;
Note: See TracChangeset for help on using the changeset viewer.