IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3769 for trunk/psLib/test


Ignore:
Timestamp:
Apr 26, 2005, 9:53:30 AM (21 years ago)
Author:
desonia
Message:

fixed small problems that made build using GCC 4.0 fail.

Location:
trunk/psLib/test
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/astronomy/tst_psAstrometry01.c

    r3716 r3769  
    55*  @author GLG, MHPCC
    66*
    7 *  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
    8 *  @date $Date: 2005-04-19 07:00:20 $
     7*  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
     8*  @date $Date: 2005-04-26 19:53:30 $
    99*
    1010* XXX: Must test
     
    809809        //
    810810        // We set an arbitrary linear transformation.
    811         // 
     811        //
    812812        transInit->x->coeff[0][0] = 1.0;
    813813        transInit->x->coeff[0][1] = 3.0;
     
    993993    psFree(myRegion);
    994994
     995    fflush(stdout);
     996
    995997    return(!testStatus);
    996998}
  • trunk/psLib/test/dataManip/verified/tst_psFunc00.stderr

    r3383 r3769  
    88    Following should generate error msg for negative terms
    99<DATE><TIME>|<HOST>|E|psPolynomial1DAlloc (FILE:LINENO)
    10     Error: n is less than 0.
     10    Error: n is 0 or less.
    1111
    1212---> TESTPOINT PASSED (psPolynomialXD{psPolynomial1DAlloc} | tst_psFunc00.c)
     
    2121    Following should generate error msg for negative terms
    2222<DATE><TIME>|<HOST>|E|psPolynomial2DAlloc (FILE:LINENO)
    23     Error: nX is less than 0.
     23    Error: nX is 0 or less.
    2424<DATE><TIME>|<HOST>|I|testPolynomial2DAlloc
    2525    Following should generate error msg for negative terms
    2626<DATE><TIME>|<HOST>|E|psPolynomial2DAlloc (FILE:LINENO)
    27     Error: nY is less than 0.
     27    Error: nY is 0 or less.
    2828
    2929---> TESTPOINT PASSED (psPolynomialXD{psPolynomial2DAlloc} | tst_psFunc00.c)
     
    3838    Following should generate error msg for negative terms
    3939<DATE><TIME>|<HOST>|E|psPolynomial3DAlloc (FILE:LINENO)
    40     Error: nX is less than 0.
     40    Error: nX is 0 or less.
    4141<DATE><TIME>|<HOST>|I|testPolynomial3DAlloc
    4242    Following should generate error msg for negative terms
    4343<DATE><TIME>|<HOST>|E|psPolynomial3DAlloc (FILE:LINENO)
    44     Error: nY is less than 0.
     44    Error: nY is 0 or less.
    4545<DATE><TIME>|<HOST>|I|testPolynomial3DAlloc
    4646    Following should generate error msg for negative terms
    4747<DATE><TIME>|<HOST>|E|psPolynomial3DAlloc (FILE:LINENO)
    48     Error: nZ is less than 0.
     48    Error: nZ is 0 or less.
    4949
    5050---> TESTPOINT PASSED (psPolynomialXD{psPolynomial3DAlloc} | tst_psFunc00.c)
     
    5959    Following should generate error msg for negative terms
    6060<DATE><TIME>|<HOST>|E|psPolynomial4DAlloc (FILE:LINENO)
    61     Error: nW is less than 0.
     61    Error: nW is 0 or less.
    6262<DATE><TIME>|<HOST>|I|testPolynomial4DAlloc
    6363    Following should generate error msg for negative terms
    6464<DATE><TIME>|<HOST>|E|psPolynomial4DAlloc (FILE:LINENO)
    65     Error: nX is less than 0.
     65    Error: nX is 0 or less.
    6666<DATE><TIME>|<HOST>|I|testPolynomial4DAlloc
    6767    Following should generate error msg for negative terms
    6868<DATE><TIME>|<HOST>|E|psPolynomial4DAlloc (FILE:LINENO)
    69     Error: nY is less than 0.
     69    Error: nY is 0 or less.
    7070<DATE><TIME>|<HOST>|I|testPolynomial4DAlloc
    7171    Following should generate error msg for negative terms
    7272<DATE><TIME>|<HOST>|E|psPolynomial4DAlloc (FILE:LINENO)
    73     Error: nZ is less than 0.
     73    Error: nZ is 0 or less.
    7474
    7575---> TESTPOINT PASSED (psPolynomialXD{psPolynomial4DAlloc} | tst_psFunc00.c)
     
    8484    Following should generate error msg for negative terms
    8585<DATE><TIME>|<HOST>|E|psDPolynomial1DAlloc (FILE:LINENO)
    86     Error: n is less than 0.
     86    Error: n is 0 or less.
    8787
    8888---> TESTPOINT PASSED (psPolynomialXD{psDPolynomial1DAlloc} | tst_psFunc00.c)
     
    9797    Following should generate error msg for negative terms
    9898<DATE><TIME>|<HOST>|E|psDPolynomial2DAlloc (FILE:LINENO)
    99     Error: nX is less than 0.
     99    Error: nX is 0 or less.
    100100<DATE><TIME>|<HOST>|I|testDPolynomial2DAlloc
    101101    Following should generate error msg for negative terms
    102102<DATE><TIME>|<HOST>|E|psDPolynomial2DAlloc (FILE:LINENO)
    103     Error: nY is less than 0.
     103    Error: nY is 0 or less.
    104104
    105105---> TESTPOINT PASSED (psPolynomialXD{psDPolynomial2DAlloc} | tst_psFunc00.c)
     
    114114    Following should generate error msg for negative terms
    115115<DATE><TIME>|<HOST>|E|psDPolynomial3DAlloc (FILE:LINENO)
    116     Error: nX is less than 0.
     116    Error: nX is 0 or less.
    117117<DATE><TIME>|<HOST>|I|testDPolynomial3DAlloc
    118118    Following should generate error msg for negative terms
    119119<DATE><TIME>|<HOST>|E|psDPolynomial3DAlloc (FILE:LINENO)
    120     Error: nY is less than 0.
     120    Error: nY is 0 or less.
    121121<DATE><TIME>|<HOST>|I|testDPolynomial3DAlloc
    122122    Following should generate error msg for negative terms
    123123<DATE><TIME>|<HOST>|E|psDPolynomial3DAlloc (FILE:LINENO)
    124     Error: nZ is less than 0.
     124    Error: nZ is 0 or less.
    125125
    126126---> TESTPOINT PASSED (psPolynomialXD{psDPolynomial3DAlloc} | tst_psFunc00.c)
     
    135135    Following should generate error msg for negative terms
    136136<DATE><TIME>|<HOST>|E|psDPolynomial4DAlloc (FILE:LINENO)
    137     Error: nW is less than 0.
     137    Error: nW is 0 or less.
    138138<DATE><TIME>|<HOST>|I|testDPolynomial4DAlloc
    139139    Following should generate error msg for negative terms
    140140<DATE><TIME>|<HOST>|E|psDPolynomial4DAlloc (FILE:LINENO)
    141     Error: nX is less than 0.
     141    Error: nX is 0 or less.
    142142<DATE><TIME>|<HOST>|I|testDPolynomial4DAlloc
    143143    Following should generate error msg for negative terms
    144144<DATE><TIME>|<HOST>|E|psDPolynomial4DAlloc (FILE:LINENO)
    145     Error: nY is less than 0.
     145    Error: nY is 0 or less.
    146146<DATE><TIME>|<HOST>|I|testDPolynomial4DAlloc
    147147    Following should generate error msg for negative terms
    148148<DATE><TIME>|<HOST>|E|psDPolynomial4DAlloc (FILE:LINENO)
    149     Error: nZ is less than 0.
     149    Error: nZ is 0 or less.
    150150
    151151---> TESTPOINT PASSED (psPolynomialXD{psDPolynomial4DAlloc} | tst_psFunc00.c)
  • trunk/psLib/test/image/verified/tst_psImageManip.stderr

    r3682 r3769  
    8686    Following should be an error:
    8787<DATE><TIME>|<HOST>|E|psImageClipComplexRegion (FILE:LINENO)
    88     Specified vmin value, -0-6.80565e+38i, is not the the range of input psImage's valid pixel values (psC32), i.e. [-3.40282e+38:3.40282e+38].
     88    Specified vmin value, 0-6.80565e+38i, is not the the range of input psImage's valid pixel values (psC32), i.e. [-3.40282e+38:3.40282e+38].
    8989<DATE><TIME>|<HOST>|I|testImageClipComplexRegion
    9090    Following should be an error:
     
    102102    Following should be an error:
    103103<DATE><TIME>|<HOST>|E|psImageClipComplexRegion (FILE:LINENO)
    104     Specified vmax value, -0-6.80565e+38i, is not the the range of input psImage's valid pixel values (psC32), i.e. [-3.40282e+38:3.40282e+38].
     104    Specified vmax value, 0-6.80565e+38i, is not the the range of input psImage's valid pixel values (psC32), i.e. [-3.40282e+38:3.40282e+38].
    105105<DATE><TIME>|<HOST>|I|testImageClipComplexRegion
    106106    Following should be an error:
  • trunk/psLib/test/psTest.c

    r2752 r3769  
    134134    }
    135135
     136    fflush(stdout);
     137    fflush(stderr);
    136138    return success;
    137139}
  • trunk/psLib/test/runTest

    r3690 r3769  
    2626#
    2727#  $Revison:  $  $Name: not supported by cvs2svn $
    28 #  $Date: 2005-04-09 00:04:57 $
     28#  $Date: 2005-04-26 19:53:30 $
    2929#
    3030#  Copyright 2004 Maui High Performance Computering Center, University of Hawaii
     
    3939# Assign variables based on the presence of command line options to the script
    4040GetOptions(
    41     "reset!"       => \$reset,
    42     "resetStderr!" => \$resetStderr,
    43     "resetStdout!" => \$resetStdout,
    44     "verified=s"   => \$verifiedDir,
    45     "help!"        => \$help,
    46     "quiet!"       => \$quiet,
    47     "printpassfail!"     => \$verbose
     41    "reset!"         => \$reset,
     42    "resetStderr!"   => \$resetStderr,
     43    "resetStdout!"   => \$resetStdout,
     44    "verified=s"     => \$verifiedDir,
     45    "help!"          => \$help,
     46    "quiet!"         => \$quiet,
     47    "printpassfail!" => \$verbose,
     48    "printdiff!"     => \$printdiff
    4849);
    4950
     
    255256    exit(0);
    256257}
     258
    257259exit($exitValue);
    258260
     
    364366                # Display message of the failure of difference to user
    365367                print STDERR "\tFailed - STDOUT differences\n";
    366 
     368                print STDERR $diffstdout if $printdiff;
    367369                # Exit value to indicate STDOUT did not compare
    368370                $returnVal |= 8;
     
    372374                # Display message of the failure of difference to user
    373375                print STDERR "\tFailed - STDERR differences\n";
     376                print STDERR $diffstdout if $printdiff;
    374377
    375378                # Exit value to indicate STDERR did not compare
Note: See TracChangeset for help on using the changeset viewer.