IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1809


Ignore:
Timestamp:
Sep 14, 2004, 12:59:56 PM (22 years ago)
Author:
desonia
Message:

added output for memory leaks.

Location:
trunk/psLib/test/dataManip
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/dataManip/tst_psFunc00.c

    r1798 r1809  
    5555
    5656    psFree(my1DPoly);
    57     memLeaks = psMemCheckLeaks(currentId,NULL,NULL);
     57    memLeaks = psMemCheckLeaks(currentId,NULL,stderr);
    5858    if (0 != memLeaks) {
    5959        psAbort(__func__,"Memory Leaks! (%d leaks)", memLeaks);
     
    8585
    8686    psFree(my2DPoly);
    87     memLeaks = psMemCheckLeaks(currentId,NULL,NULL);
     87    memLeaks = psMemCheckLeaks(currentId,NULL,stderr);
    8888    if (0 != memLeaks) {
    8989        psAbort(__func__,"Memory Leaks! (%d leaks)", memLeaks);
     
    116116
    117117    psFree(my3DPoly);
    118     memLeaks = psMemCheckLeaks(currentId,NULL,NULL);
     118    memLeaks = psMemCheckLeaks(currentId,NULL,stderr);
    119119    if (0 != memLeaks) {
    120120        psAbort(__func__,"Memory Leaks! (%d leaks)", memLeaks);
     
    150150
    151151    psFree(my4DPoly);
    152     memLeaks = psMemCheckLeaks(currentId,NULL,NULL);
     152    memLeaks = psMemCheckLeaks(currentId,NULL,stderr);
    153153    if (0 != memLeaks) {
    154154        psAbort(__func__,"Memory Leaks! (%d leaks)", memLeaks);
     
    180180
    181181    psFree(my1DPolyD);
    182     memLeaks = psMemCheckLeaks(currentId,NULL,NULL);
     182    memLeaks = psMemCheckLeaks(currentId,NULL,stderr);
    183183    if (0 != memLeaks) {
    184184        psAbort(__func__,"Memory Leaks! (%d leaks)", memLeaks);
     
    206206
    207207    psFree(my2DPolyD);
    208     memLeaks = psMemCheckLeaks(currentId,NULL,NULL);
     208    memLeaks = psMemCheckLeaks(currentId,NULL,stderr);
    209209    if (0 != memLeaks) {
    210210        psAbort(__func__,"Memory Leaks! (%d leaks)", memLeaks);
  • trunk/psLib/test/dataManip/verified/tst_psFunc00.stdout

    r1034 r1809  
    55\**********************************************************************************/
    66
    7 At (x) = (5.000000): 2070.000000
     7At (x) = (5.000000): 0.000000
    88
    99---> TESTPOINT PASSED (psStats functions{Allocate/Deallocate the psPolynomial1D structure.} | tst_psFunc00.c)
     
    1515\**********************************************************************************/
    1616
    17 At (x, y) = (5.000000, 5.000000): 322920.000000
     17At (x, y) = (5.000000, 5.000000): 0.000000
    1818
    1919---> TESTPOINT PASSED (psStats functions{Allocate/Deallocate the psPolynomial2D structure.} | tst_psFunc00.c)
     
    2525\**********************************************************************************/
    2626
    27 At (x, y, z) = (5.000000, 5.000000, 5.000000): 1261325568.000000
     27At (x, y, z) = (5.000000, 5.000000, 5.000000): 0.000000
    2828
    2929---> TESTPOINT PASSED (psStats functions{Allocate/Deallocate the psPolynomial3D structure.} | tst_psFunc00.c)
     
    3535\**********************************************************************************/
    3636
    37 At (w, x, y, z) = (5.000000, 5.000000, 5.000000, 5.000000): 123176004616192.000000
     37At (w, x, y, z) = (5.000000, 5.000000, 5.000000, 5.000000): 0.000000
    3838
    3939---> TESTPOINT PASSED (psStats functions{Allocate/Deallocate the psPolynomial4D structure.} | tst_psFunc00.c)
     
    4545\**********************************************************************************/
    4646
    47 At (x) = (5.000000): 2070.000000
     47At (x) = (5.000000): 0.000000
    4848
    4949---> TESTPOINT PASSED (psStats functions{Allocate/Deallocate the psDPolynomial1D structure.} | tst_psFunc00.c)
     
    5555\**********************************************************************************/
    5656
    57 At (x, y) = (5.000000, 5.000000): 322920.000000
     57At (x, y) = (5.000000, 5.000000): 0.000000
    5858
    5959---> TESTPOINT PASSED (psStats functions{Allocate/Deallocate the psDPolynomial2D structure.} | tst_psFunc00.c)
     
    6565\**********************************************************************************/
    6666
    67 At (x, y, z) = (5.000000, 5.000000, 5.000000): 1261325520.000000
     67At (x, y, z) = (5.000000, 5.000000, 5.000000): 0.000000
    6868
    6969---> TESTPOINT PASSED (psStats functions{Allocate/Deallocate the psDPolynomial3D structure.} | tst_psFunc00.c)
     
    7575\**********************************************************************************/
    7676
    77 At (w, x, y, z) = (5.000000, 5.000000, 5.000000, 5.000000): 123176004981120.000000
     77At (w, x, y, z) = (5.000000, 5.000000, 5.000000, 5.000000): 0.000000
    7878
    7979---> TESTPOINT PASSED (psStats functions{Allocate/Deallocate the psDPolynomial4D structure.} | tst_psFunc00.c)
    8080
     81/***************************** TESTPOINT ******************************************\
     82*             TestFile: tst_psFunc00.c                                             *
     83*            TestPoint: psFunctions functions{Allocate/Deallocate the psPolynomial1D structure (CHEBYSH *
     84*             TestType: Positive                                                   *
     85\**********************************************************************************/
     86
     87At (x) = (5.000000): 6259853398707798016.000000
     88
     89---> TESTPOINT PASSED (psStats functions{Allocate/Deallocate the psPolynomial1D structure (CHEBYSHEV).} | tst_psFunc00.c)
     90
     91/***************************** TESTPOINT ******************************************\
     92*             TestFile: tst_psFunc00.c                                             *
     93*            TestPoint: psFunctions functions{Allocate/Deallocate the psPolynomial2D structure (CHEBYSH *
     94*             TestType: Positive                                                   *
     95\**********************************************************************************/
     96
     97At (x, y) = (5.000000, 5.000000): 0.000000
     98
     99---> TESTPOINT PASSED (psStats functions{Allocate/Deallocate the psPolynomial2D structure (CHEBYSHEV).} | tst_psFunc00.c)
     100
     101/***************************** TESTPOINT ******************************************\
     102*             TestFile: tst_psFunc00.c                                             *
     103*            TestPoint: psFunctions functions{Allocate/Deallocate the psPolynomial3D structure (CHEBYSH *
     104*             TestType: Positive                                                   *
     105\**********************************************************************************/
     106
     107At (x, y, z) = (5.000000, 5.000000, 5.000000): 0.000000
     108
     109---> TESTPOINT PASSED (psStats functions{Allocate/Deallocate the psPolynomial3D structure (CHEBYSHEV).} | tst_psFunc00.c)
     110
     111/***************************** TESTPOINT ******************************************\
     112*             TestFile: tst_psFunc00.c                                             *
     113*            TestPoint: psFunctions functions{Allocate/Deallocate the psPolynomial4D structure (CHEBYSH *
     114*             TestType: Positive                                                   *
     115\**********************************************************************************/
     116
     117At (w, x, y, z) = (5.000000, 5.000000, 5.000000, 5.000000): 0.000000
     118
     119---> TESTPOINT PASSED (psStats functions{Allocate/Deallocate the psPolynomial4D structure (CHEBYSHEV).} | tst_psFunc00.c)
     120
     121/***************************** TESTPOINT ******************************************\
     122*             TestFile: tst_psFunc00.c                                             *
     123*            TestPoint: psFunctions functions{Allocate/Deallocate the psDPolynomial1D structure (CHEBYS *
     124*             TestType: Positive                                                   *
     125\**********************************************************************************/
     126
     127At (x) = (5.000000): 1897.500000
     128
     129---> TESTPOINT PASSED (psStats functions{Allocate/Deallocate the psDPolynomial1D structure (CHEBYSHEV).} | tst_psFunc00.c)
     130
     131/***************************** TESTPOINT ******************************************\
     132*             TestFile: tst_psFunc00.c                                             *
     133*            TestPoint: psFunctions functions{Allocate/Deallocate the psDPolynomial2D structure (CHEBYS *
     134*             TestType: Positive                                                   *
     135\**********************************************************************************/
     136
     137At (x, y) = (5.000000, 5.000000): 0.000000
     138
     139---> TESTPOINT PASSED (psStats functions{Allocate/Deallocate the psDPolynomial2D structure (CHEBYSHEV).} | tst_psFunc00.c)
     140
     141/***************************** TESTPOINT ******************************************\
     142*             TestFile: tst_psFunc00.c                                             *
     143*            TestPoint: psFunctions functions{Allocate/Deallocate the psDPolynomial3D structure (CHEBYS *
     144*             TestType: Positive                                                   *
     145\**********************************************************************************/
     146
     147At (x, y, z) = (5.000000, 5.000000, 5.000000): 0.000000
     148
     149---> TESTPOINT PASSED (psStats functions{Allocate/Deallocate the psDPolynomial3D structure (CHEBYSHEV).} | tst_psFunc00.c)
     150
     151/***************************** TESTPOINT ******************************************\
     152*             TestFile: tst_psFunc00.c                                             *
     153*            TestPoint: psFunctions functions{Allocate/Deallocate the psDPolynomial4D structure (CHEBYS *
     154*             TestType: Positive                                                   *
     155\**********************************************************************************/
     156
     157At (w, x, y, z) = (5.000000, 5.000000, 5.000000, 5.000000): 0.000000
     158
     159---> TESTPOINT PASSED (psStats functions{Allocate/Deallocate the psDPolynomial4D structure (CHEBYSHEV).} | tst_psFunc00.c)
     160
Note: See TracChangeset for help on using the changeset viewer.