IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11265 for trunk/psLib/test


Ignore:
Timestamp:
Jan 24, 2007, 12:14:48 PM (20 years ago)
Author:
jhoblitt
Message:

merge jch-memory branch - overhaul of memory subsystem

Location:
trunk/psLib/test
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/math/tap_psPolyFit1D.c

    r10848 r11265  
    318318    }
    319319
    320     psMemCheckCorruption(1);
     320    psMemCheckCorruption(stderr, false);
    321321    psFree(myPoly);
    322322    psFree(mask);
     
    327327    psFree(fErr);
    328328    psFree(stats);
    329     psMemCheckCorruption(1);
     329    psMemCheckCorruption(stderr, false);
    330330    memLeaks = psMemCheckLeaks(currentId,NULL,stderr,false);
    331331    if (0 != memLeaks) {
  • trunk/psLib/test/math/tap_psPolyFit2D.c

    r10848 r11265  
    328328    }
    329329
    330     psMemCheckCorruption(1);
     330    psMemCheckCorruption(stderr, false);
    331331    psFree(myPoly);
    332332    psFree(mask);
     
    339339    psFree(fErr);
    340340    psFree(stats);
    341     psMemCheckCorruption(1);
     341    psMemCheckCorruption(stderr, false);
    342342    memLeaks = psMemCheckLeaks(currentId,NULL,stderr,false);
    343343    if (0 != memLeaks) {
  • trunk/psLib/test/math/tap_psPolyFit3D.c

    r10848 r11265  
    375375    }
    376376
    377     psMemCheckCorruption(1);
     377    psMemCheckCorruption(stderr, false);
    378378    psFree(myPoly);
    379379    psFree(mask);
     
    388388    psFree(fErr);
    389389    psFree(stats);
    390     psMemCheckCorruption(1);
     390    psMemCheckCorruption(stderr, false);
    391391    memLeaks = psMemCheckLeaks(currentId,NULL,stderr,false);
    392392    if (0 != memLeaks) {
  • trunk/psLib/test/math/tap_psPolyFit4D.c

    r10848 r11265  
    431431    }
    432432
    433     psMemCheckCorruption(1);
     433    psMemCheckCorruption(stderr, false);
    434434    psFree(myPoly);
    435435    psFree(mask);
     
    446446    psFree(fErr);
    447447    psFree(stats);
    448     psMemCheckCorruption(1);
     448    psMemCheckCorruption(stderr, false);
    449449    memLeaks = psMemCheckLeaks(currentId,NULL,stderr,false);
    450450    if (0 != memLeaks) {
  • trunk/psLib/test/math/tap_psStats07.c

    r10848 r11265  
    484484    psFree(errors);
    485485    psFree(mask);
    486     psMemCheckCorruption(1);
     486    psMemCheckCorruption(stderr, false);
    487487    memLeaks = psMemCheckLeaks(currentId,NULL,stderr,false);
    488488    if (0 != memLeaks) {
  • trunk/psLib/test/math/tap_psStats09.c

    r10848 r11265  
    335335    psFree(errors);
    336336    psFree(mask);
    337     psMemCheckCorruption(1);
     337    psMemCheckCorruption(stderr, false);
    338338    memLeaks = psMemCheckLeaks(currentId,NULL,stderr,false);
    339339    if (0 != memLeaks) {
  • trunk/psLib/test/mathtypes/tap_psVectorSort_01.c

    r10808 r11265  
    1212 *  @author  Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.1 $  $Name: not supported by cvs2svn $
    15  *  @date  $Date: 2006-12-18 19:10:56 $
     14 *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
     15 *  @date  $Date: 2007-01-24 22:14:48 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    147147    ok ( ! psMemCheckLeaks(0, NULL, stdout, false),"Memory leaks not detected");
    148148
    149     psS32 nBad = psMemCheckCorruption(0);
     149    psS32 nBad = psMemCheckCorruption(stderr, false);
    150150    ok(!nBad, "Found %d bad memory blocks\n", nBad);
    151151}
  • trunk/psLib/test/mathtypes/tap_psVectorSort_02.c

    r10808 r11265  
    1414 *  @author  Ross Harman, MHPCC
    1515 *
    16  *  @version $Revision: 1.1 $  $Name: not supported by cvs2svn $
    17  *  @date  $Date: 2006-12-18 19:10:56 $
     16 *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
     17 *  @date  $Date: 2007-01-24 22:14:48 $
    1818 *
    1919 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    130130    psS32 nLeaks = psMemCheckLeaks(0, NULL, stdout, false);
    131131    ok(!nLeaks, "Found %d memory leaks\n", nLeaks);
    132     psS32 nBad = psMemCheckCorruption(0);
     132    psS32 nBad = psMemCheckCorruption(stderr, false);
    133133    ok(!nBad, "Found %d bad memory blocks\n", nBad);
    134134}
  • trunk/psLib/test/mathtypes/tap_psVectorSort_03.c

    r10808 r11265  
    1212 *  @author  Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.1 $  $Name: not supported by cvs2svn $
    15  *  @date  $Date: 2006-12-18 19:10:56 $
     14 *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
     15 *  @date  $Date: 2007-01-24 22:14:48 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    6868    psS32 nLeaks = psMemCheckLeaks(0, NULL, stdout, false);
    6969    ok(!nLeaks, "Found %d memory leaks\n", nLeaks);
    70     psS32 nBad = psMemCheckCorruption(0);
     70    psS32 nBad = psMemCheckCorruption(stderr, false);
    7171    ok(!nBad, "Found %d bad memory blocks\n", nBad);
    7272}
  • trunk/psLib/test/mathtypes/tap_psVectorSort_04.c

    r10808 r11265  
    99 *  @author  Ross Harman, MHPCC
    1010 *
    11  *  @version $Revision: 1.1 $  $Name: not supported by cvs2svn $
    12  *  @date  $Date: 2006-12-18 19:10:56 $
     11 *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
     12 *  @date  $Date: 2007-01-24 22:14:48 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    3737    psS32 nLeaks = psMemCheckLeaks(0, NULL, stdout, false);
    3838    ok(!nLeaks, "Found %d memory blocks\n", nLeaks);
    39     psS32 nBad = psMemCheckCorruption(0);
     39    psS32 nBad = psMemCheckCorruption(stderr, false);
    4040    ok(!nBad, "Found %d bad memory blocks\n", nBad);
    4141}
Note: See TracChangeset for help on using the changeset viewer.