IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12513


Ignore:
Timestamp:
Mar 19, 2007, 5:57:25 PM (19 years ago)
Author:
jhoblitt
Message:

disable unnecessary diag() calls

Location:
trunk/psLib/test
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/astro/tap_psEarthOrientation_corrections.c

    r9976 r12513  
    3030    plan_tests(8);
    3131
    32     diag("Tests for psEarthOrientation Correction Functions");
     32//    diag("Tests for psEarthOrientation Correction Functions");
    3333
    3434    // Initialize library internal structures
     
    4949void testEOCInit(void)
    5050{
    51     diag("  >>>Test 1:  p_psEOCInit ");
     51//    diag("  >>>Test 1:  p_psEOCInit ");
    5252    //Test for psEarthPoleAlloc
    5353    //Return properly allocated psEarthPole
     
    7373void testAberration(void)
    7474{
    75     diag("  >>>Test 2:  psAberration ");
     75//    diag("  >>>Test 2:  psAberration ");
    7676    psSphere *apparent = NULL;
    7777    psSphere *empty = NULL;
     
    154154void testGravDef(void)
    155155{
    156     diag("  >>>Test 3:  psGravityDeflection ");
     156//    diag("  >>>Test 3:  psGravityDeflection ");
    157157    //Test for psGravityDeflection
    158158    //Return properly allocated psEarthPole
     
    284284void testEOC_Corrs(void)
    285285{
    286     diag("  >>>Test 4:  psEOC Correction Functions");
     286//    diag("  >>>Test 4:  psEOC Correction Functions");
    287287    //Tests for psEOC_PrecessionCorr
    288288    /*
  • trunk/psLib/test/astro/tap_psEarthOrientation_motion.c

    r12193 r12513  
    3232    plan_tests(48);
    3333
    34     diag("Tests for psEarthOrientation Motion Functions");
     34//    diag("Tests for psEarthOrientation Motion Functions");
    3535
    3636    // Initialize library internal structures
     
    5050void testPrecessionModel(void)
    5151{
    52     diag("  >>>Test 1:  psEOC_PrecessionModel");
     52//    diag("  >>>Test 1:  psEOC_PrecessionModel");
    5353
    5454    psEarthPole *ep = NULL;
     
    147147void testPolarMotion(void)
    148148{
    149     diag("  >>>Test 2:  psEOC_GetPolarMotion ");
     149//    diag("  >>>Test 2:  psEOC_GetPolarMotion ");
    150150
    151151    psTime *in = psTimeAlloc(PS_TIME_UTC);
     
    264264void testSphereRots(void)
    265265{
    266     diag("  >>>Test 3:  psSphereRot Functions");
     266//    diag("  >>>Test 3:  psSphereRot Functions");
    267267    psSphereRot *out = NULL;
    268268    psEarthPole *in = NULL;
     
    428428void testSpherePrecess(void)
    429429{
    430     diag("  >>>Test 4:  psSpherePrecess");
     430//    diag("  >>>Test 4:  psSpherePrecess");
    431431    psSphereRot *rot = NULL;
    432432    psTime *fromTime = NULL;
  • trunk/psLib/test/astro/tap_psSphereOps_all.c

    r12194 r12513  
    5151void testSphereRotCreate(void)
    5252{
    53     diag("  >>>Test 1:  psSphereRot Creation Functions");
     53//    diag("  >>>Test 1:  psSphereRot Creation Functions");
    5454
    5555    // Allocate data structure
     
    128128void testSphereRotConvert(void)
    129129{
    130     diag("  >>>Test 2:  psSphereRot Conversion Functions");
     130//    diag("  >>>Test 2:  psSphereRot Conversion Functions");
    131131
    132132    // Allocate data structure
     
    324324void testSphereOffsets(void)
    325325{
    326     diag("  >>>Test 3:  psSphereGet/SetOffset Functions");
     326//    diag("  >>>Test 3:  psSphereGet/SetOffset Functions");
    327327
    328328    // Allocate data structure
  • trunk/psLib/test/imageops/tap_psImageShift.c

    r9875 r12513  
    1010    plan_tests(39);
    1111
    12     diag("psImageShift() tests");
     12//    diag("psImageShift() tests");
    1313
    1414    // tests using BILINEAR interpolation
     
    1616        psMemId id = psMemGetId();
    1717
    18         diag("shift a delta function by an integer offset");
     18//        diag("shift a delta function by an integer offset");
    1919
    2020        // generate simple image (delta function)
     
    4848        psMemId id = psMemGetId();
    4949
    50         diag("shift a delta function by an fractional pixel offset");
     50//        diag("shift a delta function by an fractional pixel offset");
    5151
    5252        // generate simple image (delta function)
     
    6363        // fractional shifts introduce smoothing,
    6464        psImage *shift = psImageShift (NULL, image, 0.2, 0.4, 0.0, PS_INTERPOLATE_BILINEAR);
    65         diag("these require tolerance of 4 epsilon (why?)");
     65//        diag("these require tolerance of 4 epsilon (why?)");
    6666        ok_float_tol (shift->data.F32[10][10], 0.8*0.6, 4*FLT_EPSILON, "point 10,10 should be %f : %f", 0.8*0.6, shift->data.F32[10][10]);
    6767        ok_float_tol (shift->data.F32[10][11], 0.2*0.6, 4*FLT_EPSILON, "point 10,11 should be %f : %f", 0.2*0.6, shift->data.F32[10][11]);
     
    8585        psMemId id = psMemGetId();
    8686
    87         diag("shift a gaussian and measure centroid");
     87//        diag("shift a gaussian and measure centroid");
    8888
    8989        // generate simple image (gauss function)
     
    116116        yo /= no;
    117117
    118         diag ("these require a tolerance of 100 epsilon");
     118//        diag ("these require a tolerance of 100 epsilon");
    119119        ok_float_tol (xo, 16.0, 100*FLT_EPSILON, "x-centroid should be %f : %f", 16.0, xo);
    120120        ok_float_tol (xo, 16.0, 100*FLT_EPSILON, "y-centroid should be %f : %f", 16.0, yo);
     
    136136        yo /= no;
    137137
    138         diag ("these require a tolerance of 100 epsilon");
     138//        diag ("these require a tolerance of 100 epsilon");
    139139        ok_float_tol (xo, 17.2, 100*FLT_EPSILON, "x-centroid should be %f : %f", 17.2, xo);
    140140        ok_float_tol (yo, 14.8, 100*FLT_EPSILON, "y-centroid should be %f : %f", 14.8, yo);
  • trunk/psLib/test/imageops/tap_psImageShiftKernel.c

    r12094 r12513  
    1010    plan_tests(34);
    1111
    12     diag("psImageShiftKernel() tests");
     12//    diag("psImageShiftKernel() tests");
    1313
    1414    // tests using BILINEAR interpolation
     
    1717        psMemId id = psMemGetId();
    1818
    19         diag("shift a delta function by an integer offset");
     19//        diag("shift a delta function by an integer offset");
    2020
    2121        // generate simple image (delta function)
     
    5050        psMemId id = psMemGetId();
    5151
    52         diag("shift a delta function by an fractional pixel offset");
     52//        diag("shift a delta function by an fractional pixel offset");
    5353
    5454        // generate simple image (delta function)
     
    6565        // fractional shifts introduce smoothing,
    6666        psImage *shift = psImageShiftKernel (NULL, image, 0.2, 0.4, PS_INTERPOLATE_BICUBE);
    67         diag("these require tolerance of 4 epsilon (why?)");
     67//        diag("these require tolerance of 4 epsilon (why?)");
    6868        ok_float_tol (shift->data.F32[10][10], 0.8*0.6, 4*FLT_EPSILON, "point 10,10 should be %f : %f", 0.8*0.6, shift->data.F32[10][10]);
    6969        ok_float_tol (shift->data.F32[10][11], 0.2*0.6, 4*FLT_EPSILON, "point 10,11 should be %f : %f", 0.2*0.6, shift->data.F32[10][11]);
     
    8888        psMemId id = psMemGetId();
    8989
    90         diag("shift a gaussian and measure centroid");
     90//        diag("shift a gaussian and measure centroid");
    9191
    9292        // generate simple image (gauss function)
     
    117117        yo /= no;
    118118
    119         diag ("these require a tolerance of 100 epsilon");
     119//        diag ("these require a tolerance of 100 epsilon");
    120120        ok_float_tol (xo, 16.0, 100*FLT_EPSILON, "x-centroid should be %f : %f", 16.0, xo);
    121121        ok_float_tol (xo, 16.0, 100*FLT_EPSILON, "y-centroid should be %f : %f", 16.0, yo);
     
    136136        yo /= no;
    137137
    138         diag ("these require a tolerance of 100 epsilon");
     138//        diag ("these require a tolerance of 100 epsilon");
    139139        ok_float_tol (xo, 17.2, 100*FLT_EPSILON, "x-centroid should be %f : %f", 17.2, xo);
    140140        ok_float_tol (yo, 14.8, 100*FLT_EPSILON, "y-centroid should be %f : %f", 14.8, yo);
     
    161161        // fractional shifts introduce smoothing,
    162162        psImage *shift = psImageShiftKernel (NULL, image, 0.2, 0.4, PS_INTERPOLATE_BICUBE);
    163         diag ("please check these values: this kernel is very steep and ringy.  what is the right BICUBE kernel?");
     163//        diag ("please check these values: this kernel is very steep and ringy.  what is the right BICUBE kernel?");
    164164        ok_float_tol (shift->data.F32[10][10], -1.444445, 4*FLT_EPSILON, "point 10,10 should be %f : %f", -1.444445, shift->data.F32[10][10]);
    165165        ok_float_tol (shift->data.F32[10][11], -0.277778, 4*FLT_EPSILON, "point 10,11 should be %f : %f", -0.277778, shift->data.F32[10][11]);
     
    184184        psMemId id = psMemGetId();
    185185
    186         diag("shift a gaussian and measure centroid");
     186//        diag("shift a gaussian and measure centroid");
    187187
    188188        // generate simple image (gauss function)
     
    215215        yo /= no;
    216216
    217         diag ("these require a tolerance of 100 epsilon");
     217//        diag ("these require a tolerance of 100 epsilon");
    218218        ok_float_tol (xo, 16.0, 100*FLT_EPSILON, "x-centroid should be %f : %f", 16.0, xo);
    219219        ok_float_tol (xo, 16.0, 100*FLT_EPSILON, "y-centroid should be %f : %f", 16.0, yo);
     
    235235        yo /= no;
    236236
    237         diag ("these require a tolerance of 100 epsilon");
     237//        diag ("these require a tolerance of 100 epsilon");
    238238        ok_float_tol (xo, 16.2, 100*FLT_EPSILON, "x-centroid should be %f : %f", 16.2, xo);
    239239        ok_float_tol (yo, 15.8, 100*FLT_EPSILON, "y-centroid should be %f : %f", 15.8, yo);
     
    281281        psMemId id = psMemGetId();
    282282
    283         diag("shift a gaussian and measure centroid");
     283//        diag("shift a gaussian and measure centroid");
    284284
    285285        // generate simple image (gauss function)
     
    312312        yo /= no;
    313313
    314         diag ("these require a tolerance of 100 epsilon");
     314//        diag ("these require a tolerance of 100 epsilon");
    315315        ok_float_tol (xo, 16.0, 100*FLT_EPSILON, "x-centroid should be %f : %f", 16.0, xo);
    316316        ok_float_tol (xo, 16.0, 100*FLT_EPSILON, "y-centroid should be %f : %f", 16.0, yo);
     
    332332        yo /= no;
    333333
    334         diag ("these require a tolerance of 100 epsilon");
     334//        diag ("these require a tolerance of 100 epsilon");
    335335        ok_float_tol (xo, 16.2, 100*FLT_EPSILON, "x-centroid should be %f : %f", 16.2, xo);
    336336        ok_float_tol (yo, 15.8, 100*FLT_EPSILON, "y-centroid should be %f : %f", 15.8, yo);
  • trunk/psLib/test/math/tap_psMD5.c

    r10309 r12513  
    4949              );
    5050
    51     diag("psMD5 tests");
     51//    diag("psMD5 tests");
    5252
    5353    // Strings
  • trunk/psLib/test/math/tap_psSparse.c

    r10170 r12513  
    1010    plan_tests(26);
    1111
    12     diag("psSparse() tests");
     12//    diag("psSparse() tests");
    1313
    1414    // test psSparseSolve for a simple normal example matrix
     
    1616        psMemId id = psMemGetId();
    1717
    18         diag ("solve a normalized matrix equation with psSparseSolve");
     18//        diag ("solve a normalized matrix equation with psSparseSolve");
    1919
    2020        // the basic equation is Ax = b
     
    8989        psMemId id = psMemGetId();
    9090
    91         diag ("solve a non-normalized matrix equation with psSparseSolve");
     91//        diag ("solve a non-normalized matrix equation with psSparseSolve");
    9292
    9393        // the basic equation is Ax = b
     
    173173        psMemId id = psMemGetId();
    174174
    175         diag ("solve a simple, small matrix equation ");
     175//        diag ("solve a simple, small matrix equation ");
    176176
    177177        // the basic equation (Ax = b) is:
     
    283283        psMemId id = psMemGetId();
    284284
    285         diag ("solve a simple, small matrix equation ");
     285//        diag ("solve a simple, small matrix equation ");
    286286
    287287        // the basic equation (Ax = b) is:
  • trunk/psLib/test/math/tap_psStatsTiming.c

    r11656 r12513  
    1717    plan_tests(68);
    1818
    19     diag("psStats timing tests");
     19//    diag("psStats timing tests");
    2020
    2121    // build a gauss-deviate vector (mean = 0.0, sigma = 1.0) for tests
     
    2626    }
    2727
    28     diag ("timing for sample mean");
     28//    diag ("timing for sample mean");
    2929    /********** SAMPLE MEAN ***********/
    3030    // test stat sample mean (no mask, no range)
     
    149149    }
    150150
    151     diag ("timing for sample median");
     151//    diag ("timing for sample median");
    152152    /********** SAMPLE MEDIAN ***********/
    153153    // test stat sample median (no mask, no range)
     
    243243    }
    244244
    245     diag ("timing for sample stdev");
     245//    diag ("timing for sample stdev");
    246246    /********** SAMPLE STDEV ***********/
    247247    // test stat sample stdev (no mask, no range)
     
    366366    }
    367367
    368     diag ("timing for sample min,max");
     368//    diag ("timing for sample min,max");
    369369    /*************** MIN,MAX ******************/
    370370    // test stat min,max (no mask, no range)
     
    456456    }
    457457
    458     diag ("timing for clipped stats");
     458//    diag ("timing for clipped stats");
    459459    /********** CLIPPED STATS ***********/
    460460    {
     
    528528    }
    529529
    530     diag ("timing for robust stats");
     530//    diag ("timing for robust stats");
    531531    /********** ROBUST STATS ***********/
    532532    {
     
    600600    }
    601601
    602     diag ("timing for fitted stats");
     602//    diag ("timing for fitted stats");
    603603    /********** FITTED TIMING ***********/
    604604    {
     
    673673    }
    674674
    675     diag ("timing for fitted (v2) stats");
     675//    diag ("timing for fitted (v2) stats");
    676676    /********** FITTED (v2) TIMING ***********/
    677677    {
     
    746746    }
    747747
    748     diag ("compare sample, robust, and fitted mean and stdev to theoretical");
     748//    diag ("compare sample, robust, and fitted mean and stdev to theoretical");
    749749    // compare SAMPLE, FITTED, ROBUST mean to theoretical
    750750    {
     
    785785    }
    786786
    787     diag ("compare sample, robust, and fitted mean and stdev to theoretical");
     787//    diag ("compare sample, robust, and fitted mean and stdev to theoretical");
    788788    // compare SAMPLE, FITTED_V2, ROBUST mean to theoretical
    789789    {
  • trunk/psLib/test/math/tap_psStats_Sample_01.c

    r11424 r12513  
    491491    plan_tests(21);
    492492
    493     diag("psStats Tests with sample SDSS data from RHL and Megacam from EAM");
    494     diag("this file does not yet define a specific test");
    495     diag("the fitted mean is currently wrong for these two data sets");
     493//    diag("psStats Tests with sample SDSS data from RHL and Megacam from EAM");
     494//    diag("this file does not yet define a specific test");
     495//    diag("the fitted mean is currently wrong for these two data sets");
    496496
    497497    {
    498498        psMemId id = psMemGetId();
    499499
    500         diag("sample 1 : problem with integer-binned data driven to tiny sigma values");
     500//        diag("sample 1 : problem with integer-binned data driven to tiny sigma values");
    501501        psStats *stats = psStatsAlloc (PS_STAT_FITTED_MEAN | PS_STAT_FITTED_STDEV |
    502502                                       PS_STAT_ROBUST_MEDIAN | PS_STAT_ROBUST_STDEV |
     
    536536        psMemId id = psMemGetId();
    537537
    538         diag("sample 2");
     538//        diag("sample 2");
    539539        psStats *stats = psStatsAlloc (PS_STAT_FITTED_MEAN | PS_STAT_FITTED_STDEV |
    540540                                       PS_STAT_ROBUST_MEDIAN | PS_STAT_ROBUST_STDEV |
     
    571571        psMemId id = psMemGetId();
    572572
    573         diag("sample 3");
     573//        diag("sample 3");
    574574        psStats *stats = psStatsAlloc (PS_STAT_FITTED_MEAN | PS_STAT_FITTED_STDEV |
    575575                                       PS_STAT_ROBUST_MEDIAN | PS_STAT_ROBUST_STDEV |
  • trunk/psLib/test/mathtypes/tap_psImage.c

    r12431 r12513  
    66 *  @author Robert DeSonia, MHPCC
    77 *
    8  *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2007-03-14 00:39:51 $
     8 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2007-03-20 03:57:25 $
    1010 *
    1111 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    6868void testImageAlloc()
    6969{
    70     diag("testImageAlloc");
     70//    diag("testImageAlloc");
    7171
    7272    psImage* image = NULL;
     
    152152                        for (psS32 c=0;c<cols;c++) {
    153153                            if (image->data.U16[r][c] != 2*c+r) {
    154                                 diag("ERROR: Could not set all pixels in uint16 image at (%d,%d)",c,r);
     154//                                diag("ERROR: Could not set all pixels in uint16 image at (%d,%d)",c,r);
    155155                                errorFlag = true;
    156156                            }
     
    173173                        for (psS32 c=0;c<cols;c++) {
    174174                            if (fabsf(image->data.F32[r][c] - (2.0f*c+r)) > FLT_EPSILON) {
    175                                 diag("Could not set all pixels in float image at (%d,%d)",c,r);
     175//                                diag("Could not set all pixels in float image at (%d,%d)",c,r);
    176176                                errorFlag = true;
    177177                            }
     
    194194                        for (psS32 c=0;c<cols;c++) {
    195195                            if (fabs(image->data.F64[r][c] - (2.0f*c+r)) > DBL_EPSILON) {
    196                                 diag("Set all pixels in double image at (%d,%d)",c,r);
     196//                                diag("Set all pixels in double image at (%d,%d)",c,r);
    197197                                errorFlag = true;
    198198                            }
     
    216216                        for (psS32 c=0;c<cols;c++) {
    217217                            if (image->data.U8[r][c] != (uint8_t)(r + c)) {
    218                                 diag("Set all pixels in image (type=%d) at (%d,%d)",
    219                                      type[t],c,r);
     218//                                diag("Set all pixels in image (type=%d) at (%d,%d)", type[t],c,r);
    220219                                errorFlag = true;
    221220                            }
     
    250249    // Testpoint #790
    251250
    252     diag("testRegion");
     251//    diag("testRegion");
    253252
    254253    psRegion region = psRegionSet(1,2,3,4);
     
    271270void testRegion2()
    272271{
    273     diag("testRegion2");
     272//    diag("testRegion2");
    274273
    275274    psImage *in;
     
    297296void testRegion3()
    298297{
    299     diag("testRegion3");
     298//    diag("testRegion3");
    300299
    301300    float X = 1;
     
    312311void testImageInit()
    313312{
    314     diag("testImageInit");
     313//    diag("testImageInit");
    315314
    316315    psImage *in1 = NULL;
     
    346345void testImageSet()
    347346{
    348     diag("testImageSet");
     347//    diag("testImageSet");
    349348
    350349    psImage *image = NULL;
     
    462461void testImageGet()
    463462{
    464     diag("testImageGet");
     463//    diag("testImageGet");
    465464
    466465    psImage *image = NULL;
  • trunk/psLib/test/mathtypes/tap_psImageInterpolate.c

    r9875 r12513  
    1010    plan_tests(47);
    1111
    12     diag("psImageInterpolate() tests");
     12//    diag("psImageInterpolate() tests");
    1313
    1414    // very simple tests: no mask, bilinear mode, xramp image only
     
    1616        psMemId id = psMemGetId();
    1717
    18         diag ("interpolate a delta function");
     18//        diag ("interpolate a delta function");
    1919
    2020        // generate simple image (x ramp)
     
    3131        ok_float (value, 1.0, "pixel center value - %f", value);
    3232
    33         diag ("why do I need to have tolerances of 4epsilon or so??");
     33//        diag ("why do I need to have tolerances of 4epsilon or so??");
    3434        value = psImagePixelInterpolate (image, 10.9, 10.5, NULL, 0, 0.0, PS_INTERPOLATE_BILINEAR);
    3535        ok_float_tol (value, 0.6, 4.0*FLT_EPSILON, "pixel value - %.20f", value);
     
    5151        psMemId id = psMemGetId();
    5252
    53         diag ("interpolate an x-ramp");
     53//        diag ("interpolate an x-ramp");
    5454
    5555        // generate simple image (x ramp)
     
    103103        psMemId id = psMemGetId();
    104104
    105         diag ("interpolate a y-ramp: ");
     105//        diag ("interpolate a y-ramp: ");
    106106
    107107        // generate simple image (y ramp)
     
    145145        psMemId id = psMemGetId();
    146146
    147         diag ("interpolate an x-ramp (bicube)");
     147//        diag ("interpolate an x-ramp (bicube)");
    148148
    149149        // generate simple image (x ramp)
     
    177177        ok_float (value, 2.8, "coord: 2.8, 2.8, value: %f", value);
    178178
    179         diag ("coords outside of nominal range (1 < x < Nx - 2) return 'uncover'");
     179//        diag ("coords outside of nominal range (1 < x < Nx - 2) return 'uncover'");
    180180
    181181        // no extrapolation: these return the 'uncover' value
     
    199199        psMemId id = psMemGetId();
    200200
    201         diag ("interpolate a y-ramp (bicube)");
     201//        diag ("interpolate a y-ramp (bicube)");
    202202
    203203        // generate simple image (y ramp)
     
    241241        psMemId id = psMemGetId();
    242242
    243         diag ("interpolate a quadratic shape (bicube)");
     243//        diag ("interpolate a quadratic shape (bicube)");
    244244
    245245        // generate simple image (x ramp)
  • trunk/psLib/test/mathtypes/tap_psScalar.c

    r12440 r12513  
    55 *  @author Eric Van Alst, MHPCC
    66 *
    7  *  @version $Revision: 1.3 $
     7 *  @version $Revision: 1.4 $
    88 *           $Name: not supported by cvs2svn $
    9  *  @date $Date: 2007-03-14 21:21:49 $
     9 *  @date $Date: 2007-03-20 03:57:25 $
    1010 *
    1111 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    6464void testScalarAlloc(void)
    6565{
    66     diag("psTestScalarAlloc");
     66//    diag("psTestScalarAlloc");
    6767
    6868    //Verify the proper allocation/deallocation of scalar objects of valid types
     
    8282void testBadScalarAlloc(void)
    8383{
    84     diag("psTestBadScalarAlloc");
     84//    diag("psTestBadScalarAlloc");
    8585
    8686    // Verify return is null for invalid scalar type
     
    9292void testScalarCopy(void)
    9393{
    94     diag("psTestScalarCopy");
     94//    diag("psTestScalarCopy");
    9595
    9696    // Verify the proper copying of scalar objects for all valid types
     
    110110void testBadScalarCopy(void)
    111111{
    112     diag("psTestBadScalarCopy");
     112//    diag("psTestBadScalarCopy");
    113113
    114114    // Verify the return is null for invalid scalar type in the original
  • trunk/psLib/test/mathtypes/tap_psVector.c

    r12440 r12513  
    1010    plan_tests(209);
    1111
    12     diag("psVectorAlloc() tests");
     12//    diag("psVectorAlloc() tests");
    1313
    1414    {
     
    5555
    5656
    57     diag("psVectorRealloc() tests");
     57//    diag("psVectorRealloc() tests");
    5858
    5959    {
     
    153153    }
    154154
    155     diag("psVectorExtend() tests");
     155//    diag("psVectorExtend() tests");
    156156    {
    157157        // create new psVector
     
    217217
    218218
    219     diag("psVectorInit() tests");
     219//    diag("psVectorInit() tests");
    220220
    221221    {
     
    281281
    282282
    283     diag("psVectorCreate() tests");
     283//    diag("psVectorCreate() tests");
    284284
    285285    {
     
    399399
    400400
    401     diag("psVectorToString() tests");
     401//    diag("psVectorToString() tests");
    402402
    403403    #define TEST_VECTOR_TO_STRING(TYPE, SIZE, START, INC, EXPECTED)         \
     
    439439
    440440
    441     diag("p_psVectorGetElementF64() tests");
     441//    diag("p_psVectorGetElementF64() tests");
    442442
    443443    #define TEST_VECTOR_GET_ELEMENT_F64(ELEM_TYPE, SIZE, VALUE_TYPE,        \
     
    477477
    478478
    479     diag("p_psVectorPrint() tests");
     479//    diag("p_psVectorPrint() tests");
    480480    // XXX: Why are we testing private functions?
    481481    #define TEST_VECTOR_PRINT(ELEM_TYPE, SIZE, VALUE_TYPE, INIT_VALUE, FD,  \
     
    513513    TEST_VECTOR_PRINT(PS_TYPE_F64,2, psF64, -123.123, 1, "PS_TYPE_F64", TRUE);
    514514
    515     diag("psVectorSet() tests");
     515//    diag("psVectorSet() tests");
    516516
    517517    {
     
    543543
    544544
    545     diag("psVectorGet() tests");
     545//    diag("psVectorGet() tests");
    546546
    547547    {
     
    566566
    567567
    568     diag("psVectorCountPixelMask() tests");
     568//    diag("psVectorCountPixelMask() tests");
    569569
    570570    {
     
    605605
    606606
    607     diag("psVectorLength() tests");
     607//    diag("psVectorLength() tests");
    608608    {
    609609        psVector *vector = psVectorAlloc(5, PS_TYPE_F32);
     
    647647
    648648
    649     diag("psVectorCopy() tests");
     649//    diag("psVectorCopy() tests");
    650650
    651651    {
  • trunk/psLib/test/mathtypes/tap_psVectorSort_01.c

    r11265 r12513  
    1212 *  @author  Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
    15  *  @date  $Date: 2007-01-24 22:14:48 $
     14 *  @version $Revision: 1.3 $  $Name: not supported by cvs2svn $
     15 *  @date  $Date: 2007-03-20 03:57:25 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2626
    2727#define tstVectorSortByType(datatype,value)   \
    28 diag( "tstVectorSortByType_" #datatype ); \
    2928in = psVectorAlloc(7,PS_TYPE_##datatype); \
    3029in->n = 7;  \
  • trunk/psLib/test/mathtypes/tap_psVectorSort_02.c

    r11265 r12513  
    1414 *  @author  Ross Harman, MHPCC
    1515 *
    16  *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
    17  *  @date  $Date: 2007-01-24 22:14:48 $
     16 *  @version $Revision: 1.3 $  $Name: not supported by cvs2svn $
     17 *  @date  $Date: 2007-03-20 03:57:25 $
    1818 *
    1919 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2727
    2828#define tstVectorSortIndexByType(datatype,value) \
    29 diag( "tstVectorSortIndexByType_" #datatype ); \
    3029in = psVectorAlloc( 5, PS_TYPE_##datatype ); \
    3130in->n = 5; \
  • trunk/psLib/test/sys/tap_psError.c

    r11662 r12513  
    1313 *  @author  Eric Van Alst, MHPCC
    1414 *
    15  *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
    16  *  @date  $Date: 2007-02-06 04:09:55 $
     15 *  @version $Revision: 1.3 $  $Name: not supported by cvs2svn $
     16 *  @date  $Date: 2007-03-20 03:57:25 $
    1717 *
    1818 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    4343static psS32 testError00(void)
    4444{
    45     diag("testError00");
     45//    diag("testError00");
    4646
    4747    psS32  intval=1;
     
    6868static psS32 testError01(void)
    6969{
    70     diag("testError01");
     70//    diag("testError01");
    7171
    7272    psErrorCode code=PS_ERR_BAD_PARAMETER_VALUE;
     
    120120static psS32 testError02(void)
    121121{
    122     diag("testError02");
     122//    diag("testError02");
    123123
    124124    psErrorCode code = PS_ERR_BAD_PARAMETER_VALUE;
     
    136136static psS32 testError03(void)
    137137{
    138     diag("testError03");
     138//    diag("testError03");
    139139
    140140    psErrorCode code = PS_ERR_BAD_PARAMETER_VALUE;
     
    235235static psS32 testError04(void)
    236236{
    237     diag("testError04");
     237    //diag("testError04");
    238238
    239239    psErrorCode code = PS_ERR_BAD_PARAMETER_VALUE;
     
    296296static psS32 testError05(void)
    297297{
    298     diag("testError05");
     298    //diag("testError05");
    299299
    300300    // Verify the return value of psErrorCodeString
     
    311311static psS32 testErrorRegister(void)
    312312{
    313     diag("testErrorRegister");
     313    //diag("testErrorRegister");
    314314
    315315    psS32 numErr = 4;
  • trunk/psLib/test/sys/tap_psMemory.c

    r12507 r12513  
    66*  @author Robert DeSonia, MHPCC
    77*
    8 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    9 *  @date $Date: 2007-03-20 02:35:53 $
     8*  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     9*  @date $Date: 2007-03-20 03:57:25 $
    1010*
    1111*  XXXX: Several tests fail with an Abort and are commented out.
     
    9292void TPCheckBufferPositive( void )
    9393{
    94     diag("TPCheckBufferPositive");
     94//    diag("TPCheckBufferPositive");
    9595
    9696    psS32 * mem;
     
    117117void TPFreeReferencedMemory( void )
    118118{
    119     diag("TPFreeReferencedMemory");
     119    // diag("TPFreeReferencedMemory");
    120120
    121121    // create memory
     
    160160void TPReallocOutOfMemory( void )
    161161{
    162     diag("TPReallocOutOfMemory");
     162    // diag("TPReallocOutOfMemory");
    163163
    164164    psS32 * mem[ 100 ];
     
    196196void TPOutOfMemory( void )
    197197{
    198     diag("TPOutOfMemory");
     198    // diag("TPOutOfMemory");
    199199
    200200    psS32 * mem[ 100 ];
     
    230230void TPrealloc( void )
    231231{
    232     diag("TPrealloc");
     232    // diag("TPrealloc");
    233233
    234234    psS32 * mem1;
     
    287287void TPallocCallback( void )
    288288{
    289     diag("TPallocCallback");
     289    // diag("TPallocCallback");
    290290
    291291    psS32 * mem1;
  • trunk/psLib/test/sys/tap_psString.c

    r12512 r12513  
    2020 *  @author  Eric Van Alst, MHPCC
    2121 *
    22  *  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
    23  *  @date  $Date: 2007-03-20 03:31:39 $
     22 *  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
     23 *  @date  $Date: 2007-03-20 03:57:25 $
    2424 *
    2525 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    8787psS32 testStringCopy00(void)
    8888{
    89     diag("testStringCopy00");
     89//    diag("testStringCopy00");
    9090
    9191    char  stringval[20] = "E R R O R";
     
    114114psS32 testStringCopy01(void)
    115115{
    116     diag("testStringCopy01");
     116//    diag("testStringCopy01");
    117117
    118118    char  *emptyval = "";
     
    136136psS32 testStringCopy02(void)
    137137{
    138     diag("testStringCopy02");
     138//    diag("testStringCopy02");
    139139
    140140    psS32   result = 0;
     
    163163psS32 testStringCopy03(void)
    164164{
    165     diag("testStringCopy03");
     165//    diag("testStringCopy03");
    166166
    167167    psS32   result = 0;
     
    186186psS32 testStringCopy04(void)
    187187{
    188     diag("testStringCopy04");
     188//    diag("testStringCopy04");
    189189
    190190    psS32   result = 0;
     
    233233psS32 testStringCopy06(void)
    234234{
    235     diag("testStringCopy06");
     235//    diag("testStringCopy06");
    236236
    237237    char  *strResult;
     
    252252psS32 testStrAppend00(void)
    253253{
    254     diag("testStrAppend00");
     254//    diag("testStrAppend00");
    255255
    256256    char *str=NULL;
     
    272272psS32 testStrAppend01(void)
    273273{
    274     diag("testStrAppend01");
     274//    diag("testStrAppend01");
    275275
    276276    ssize_t sz;
     
    290290psS32 testStrAppend02(void)
    291291{
    292     diag("testStrAppend02");
     292//    diag("testStrAppend02");
    293293
    294294    char *str=NULL;
     
    307307psS32 testStrAppend03(void)
    308308{
    309     diag("testStrAppend03");
     309//    diag("testStrAppend03");
    310310
    311311    char *str =psStringCopy(STR_0);
     
    322322psS32 testStrPrepend00(void)
    323323{
    324     diag("testStrPrepend00");
     324//    diag("testStrPrepend00");
    325325
    326326    char *str=NULL;
     
    343343psS32 testStrPrepend01(void)
    344344{
    345     diag("testStrPrepend01");
     345//    diag("testStrPrepend01");
    346346
    347347    ssize_t sz;
     
    360360psS32 testStrPrepend02(void)
    361361{
    362     diag("testStrPrepend02");
     362//    diag("testStrPrepend02");
    363363
    364364    char *str=NULL;
     
    377377psS32 testStrPrepend03(void)
    378378{
    379     diag("testStrPrepend03");
     379//    diag("testStrPrepend03");
    380380
    381381    char *str=NULL;
     
    397397psS32 testStrSplit00(void)
    398398{
    399     diag("testStrSplit00");
     399//    diag("testStrSplit00");
    400400
    401401    psList *strList = NULL;
     
    525525psS32 testNULLStrings(void)
    526526{
    527     diag("test""s");
     527//    diag("test""s");
    528528
    529529    psString nullTest = NULL;
     
    582582psS32 testStrCheck(void)
    583583{
    584     diag("testStrCheck");
     584//    diag("testStrCheck");
    585585
    586586    psString str = NULL;
  • trunk/psLib/test/sys/tap_psTrace.c

    r12512 r12513  
    4343static psS32 testTrace00(void)
    4444{
    45     diag("testTrace00");
     45//    diag("testTrace00");
    4646
    4747    psS32 i;
     
    8686static psS32 testTrace01(void)
    8787{
    88     diag("testTrace01");
     88//    diag("testTrace01");
    8989
    9090    //    psTraceSetDestination(stderr);
     
    103103static psS32 testTrace02(void)
    104104{
    105     diag("testTrace02");
     105//    diag("testTrace02");
    106106
    107107    psTraceReset();
     
    131131static psS32 testTrace03(void)
    132132{
    133     diag("testTrace03");
     133//    diag("testTrace03");
    134134
    135135    psS32 i = 0;
     
    172172static psS32 testTrace04(void)
    173173{
    174     diag("testTrace04");
     174//    diag("testTrace04");
    175175
    176176    int FD;
Note: See TracChangeset for help on using the changeset viewer.