IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3623 for trunk/psModules/test


Ignore:
Timestamp:
Apr 1, 2005, 10:11:19 AM (22 years ago)
Author:
desonia
Message:

updated the testing platform to match psLib, enabling the use of 'make check'.

Location:
trunk/psModules/test
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/test/FullUnitTest

    r2140 r3623  
    1919#  RETURN : integer number of tests which failed
    2020#
    21 #  $Revision: 1.1 $  $Name: not supported by cvs2svn $
    22 #  $Date: 2004-10-14 23:58:56 $
     21#  $Revision: 1.2 $  $Name: not supported by cvs2svn $
     22#  $Date: 2005-04-01 20:11:19 $
    2323#
    2424#  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    … …  
    2929use Cwd;
    3030
    31 # Provides functions for handling long command line options
     31# Provides functions for handling psS64 command line options
    3232use Getopt::Long;
    3333
    … …  
    6161# add PSLIB_ROOT/lib to LD_LIBRARY_PATH and DYLD_LIBRARY_PATH environment
    6262# variables
    63 $ENV{'LD_LIBRARY_PATH'}   = "$ENV{'PSLIB_ROOT'}/lib:$ENV{'LD_LIBRARY_PATH'}";
    64 $ENV{'DYLD_LIBRARY_PATH'} = "$ENV{'PSLIB_ROOT'}/lib:$ENV{'DYLD_LIBRARY_PATH'}";
     63$ENV{'LD_LIBRARY_PATH'}   = "$ENV{'PSLIB_ROOT'}/src/.libs:$ENV{'LD_LIBRARY_PATH'}";
     64$ENV{'DYLD_LIBRARY_PATH'} = "$ENV{'PSLIB_ROOT'}/src/.libs:$ENV{'DYLD_LIBRARY_PATH'}";
    6565
    6666# Initialize variables for counting the makes and test failures and the
    … …  
    239239            `make clean`;
    240240
    241             # Execute the make distclean
    242             `make distclean`;
    243241        }
    244242
    245243        # Execute the make and save results
    246         $_ = join( "\n|| ", split( "\n", "\n" . `make` ) );
     244        $_ = join( "\n|| ", split( "\n", "\n" . `make tests` ) );
    247245
    248246        # Check the output of make for return value != 0 or any of the
    249247        # following words: FAILED, FAULT, ERROR, Not found, SIGNAL
    250         if (   ( $? != 0 )
    251             || m/FAILED/i
    252             || m/FAULT/i
    253             || m/\bERROR/i
    254             || m/Not found/i
    255             || m/SIGNAL/i )
    256         {
     248        if ( $? != 0 ) {
    257249
    258250            # Display the errored output of make if silent option not enabled
    … …  
    276268            # Display the make was successful if silent option not set
    277269            print("\nMake successful.\n") if ( !$silent );
    278             if ($clean) {
    279                 `make install`;
    280             }
    281270        }
    282271    }
    … …  
    664653        s/$hostname\s*/<HOST>/g;
    665654        s/: Line \d+/: Line <LINENO>/g;
    666         s/\:\d+/\:<LINENO>/g;
     655        s/\(.*\:\d+\)/\(FILE\:LINENO\)/g;
     656        s/\s+[\_\-\/\.\w]+\:\d+/ FILE\:LINENO/g;
    667657        s/allocate \d+ bytes at/allocate <N> bytes at/g;
     658        s/v\d+.\d+.\d+/vX.X.X/g;
    668659
    669660        # Filter lines with *** malloc.  This is an artifact of Mac testing of
    … …  
    692683        s/$hostname\s*/<HOST>/g;
    693684        s/: Line \d+/: Line <LINENO>/g;
    694         s/\:\d+/\:<LINENO>/g;
     685        s/\(.*\:\d+\)/\(FILE\:LINENO\)/g;
     686        s/\s+[\_\-\/\.\w]+\:\d+/ FILE\:LINENO/g;
    695687        s/allocate \d+ bytes at/allocate <N> bytes at/g;
     688        s/v\d+.\d+.\d+/vX.X.X/g;
    696689
    697690        # Filter lines with *** malloc.  This is an artifact of Mac testing of
  • trunk/psModules/test/Makefile.am

    r3579 r3623  
    1 bin_PROGRAMS = tst_pmFlatField tst_pmMaskBadPixels tst_pmNonLinear tst_pmSubtractBias tst_pmReadoutCombine tst_pmSubtractSky tst_pmObjects01
     1# Makefile for psModule tests
    22
    33AM_LDFLAGS = -L../src -lpsmodule $(LDFLAGS)
    44
     5TESTS = tst_pmFlatField \
     6        tst_pmMaskBadPixels \
     7        tst_pmNonLinear \
     8        tst_pmSubtractBias \
     9        tst_pmReadoutCombine \
     10        tst_pmSubtractSky \
     11        tst_pmObjects01
     12
     13check_PROGRAMS = $(TESTS)
     14
     15TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest --verified=$(srcdir)/verified
     16
     17tests: $(TESTS)
     18
     19EXTRA_DIST = runTest
     20
     21CLEANFILES = $(TESTS)
     22
    523tst_pmFlatField_SOURCES = tst_pmFlatField.c
    6 
    724tst_pmMaskBadPixels_SOURCES = tst_pmMaskBadPixels.c
    8 
    925tst_pmNonLinear_SOURCES = tst_pmNonLinear.c
    10 
    1126tst_pmSubtractBias_SOURCES = tst_pmSubtractBias.c
    12 
    1327tst_pmReadoutCombine_SOURCES = tst_pmReadoutCombine.c
    14 
    1528tst_pmSubtractSky_SOURCES = tst_pmSubtractSky.c
    16 
    1729tst_pmObjects01_SOURCES = tst_pmObjects01.c
    18 
  • trunk/psModules/test/runTest

    r2140 r3623  
    1818#                 0    Test run successfull and all tests passed
    1919#                 1    Verified directory did not exist
    20 #                 2    Verified STDOUT file did not exist
    21 #                 4    Verified STDERR file did not exist
    2220#                 8    STDOUT files did not compare
    2321#                16    STDERR files did not compare
    2422#                32    Test driver doesn't exist or is not executable
    25 #                64    STDOUT captured contains error strings
    26 #               128    STDERR captured contains error strings
    27 #               256    Test driver did not return zero
     23#                64    Test driver did not return zero
    2824#
    2925#  SYNOSIS:  runTest testDriverName
    3026#
    3127#  $Revison:  $  $Name: not supported by cvs2svn $
    32 #  $Date: 2004-10-14 23:58:56 $
     28#  $Date: 2005-04-01 20:11:19 $
    3329#
    3430#  Copyright 2004 Maui High Performance Computering Center, University of Hawaii
    … …  
    3632################################################################################
    3733
    38 # Provides functions for handling long command line options
     34# Provides functions for handling psS64 command line options
    3935use Getopt::Long;
     36
     37$verifiedDir = "verified";
    4038
    4139# Assign variables based on the presence of command line options to the script
    … …  
    4442    "resetStderr!" => \$resetStderr,
    4543    "resetStdout!" => \$resetStdout,
     44    "verified=s"   => \$verifiedDir,
    4645    "help!"        => \$help
    4746);
    4847
    49 if ($help) {
     48if ($help || $#ARGV < 0) {
    5049    print
    5150"Usage: runTest [--reset] [--resetStderr] [--resetStdout] testfile(s)\n\n";
    … …  
    6261
    6362# Set up the PSLIB_ROOT environment variable if the user doesn't have it set
    64 if ( !$ENV{'PSLIB_ROOT'} ) {
    65 
    66     # Use the directory directly above test
    67     $PSLIB_ROOT = `cd ..;pwd`;
    68 
    69     # Remove newline for the end of path returned
    70     chomp($PSLIB_ROOT);
    71 
    72     # Set the environment variable
    73     $ENV{'PSLIB_ROOT'} = $PSLIB_ROOT;
    74 
    75     # Display message that PSLIB_ROOT not found and set to
    76     print("PSLIB_ROOT not found: set to $PSLIB_ROOT\n");
    77 }
    78 
    79 # Add PSLIB_ROOT/lib to LD_LIBRARY_PATH and DYLD_LIBRARY_PATH environment vars
    80 $ENV{'LD_LIBRARY_PATH'}   = "$ENV{'PSLIB_ROOT'}/lib:$ENV{'LD_LIBRARY_PATH'}";
    81 $ENV{'DYLD_LIBRARY_PATH'} = "$ENV{'PSLIB_ROOT'}/lib:$ENV{'DYLD_LIBRARY_PATH'}";
     63if ( $ENV{'PSLIB_ROOT'} ) {
     64
     65        # Add PSLIB_ROOT/lib to LD_LIBRARY_PATH and DYLD_LIBRARY_PATH environment vars
     66        $ENV{'LD_LIBRARY_PATH'}   = "$ENV{'PSLIB_ROOT'}/src/.libs:$ENV{'LD_LIBRARY_PATH'}";
     67        $ENV{'DYLD_LIBRARY_PATH'} = "$ENV{'PSLIB_ROOT'}/src/.libs:$ENV{'DYLD_LIBRARY_PATH'}";
     68}
    8269
    8370# Loop through the arguements passed to the script
    … …  
    9784
    9885    # Check if a verified directory exists in the current work directory
    99     if ( !( -e "verified" ) ) {
     86    if ( !( -e $verifiedDir ) ) {
    10087
    10188        # Display message that verified subdirectory doesn't exist
    … …  
    125112            # Display failure message with return value to user
    126113            if ( $? != 0 && ( $testFile !~ /^A/i ) ) {
    127                 print(
    128 "        Failed - Test Driver expected 0 return value (Return value $?)\n"
    129                 );
     114                print("Failed - Test Driver returned $?, expected 0.\n");
    130115            }
    131116            elsif ( $? == 0 && ( $testFile =~ /^A/i ) ) {
    132                 print(
    133 "        Failed - Test Driver expected abort (Return value $?)\n"
    134                 );
    135             }
    136             $exitValue |= 256;
    137         }
    138         else {
    139 
    140             # Test driver succeeded.
    141 
    142             # Create filtered version of stdout and stderr
    143 
    144             # Open the STDOUT file for reading
    145             open( OUTFILE, "< temp/$testFile.stdout" );
    146 
    147             # Open mod file to place filtered STDOUT
    148             open( MODFILE,  "> temp/$testFile.stdout.mod" );
    149             open( MODFILE2, "> verified/$testFile.stdout" ) if $resetStdout;
    150 
    151            # Replace the variable date, time and host information with constants
    152             $hostname = `hostname`;
    153             chop $hostname;
    154             while (<OUTFILE>) {
    155                 s/\s+\d+:\d+:\d+\w/<TIME>/g;
    156                 s/\d+:\d+:\d+/<DATE>/g;
    157                 s/$hostname\s*/<HOST>/g;
    158                 s/: Line \d+/: Line <LINENO>/g;
    159                 s/\:\d+/\:<LINENO>/g;
    160                 s/allocate \d+ bytes at/allocate <N> bytes at/g;
    161 
    162               # Filter lines with malloc.  This is an artifact of memory testing
    163               # with the Mac testbed
    164                 if ( !m/\*\*\*\smalloc/ ) {
    165                     print MODFILE ($_);
    166                     print MODFILE2 ($_) if $resetStdout;
    167                 }
    168             }
    169 
    170             # Close mod file
    171             close(MODFILE);
    172             close(MODFILE2) if $resetStdout;
    173 
    174             # Close STDERR file
    175             close(OUTFILE);
    176 
    177             # Open the STDERR file for reading
    178             open( OUTFILE, "< temp/$testFile.stderr" );
    179 
    180             # Open mod file to place filtered STDERR
    181             open( MODFILE,  "> temp/$testFile.stderr.mod" );
    182             open( MODFILE2, "> verified/$testFile.stderr" ) if $resetStderr;
    183 
    184            # Replace the variable date, time and host information with constants
    185             while (<OUTFILE>) {
    186                 s/\s+\d+:\d+:\d+\w/<TIME>/g;
    187                 s/\d+:\d+:\d+/<DATE>/g;
    188                 s/$hostname\s*/<HOST>/g;
    189                 s/: Line \d+/: Line <LINENO>/g;
    190                 s/\:\d+/\:<LINENO>/g;
    191                 s/allocate \d+ bytes at/allocate <N> bytes at/g;
    192 
    193               # Filter lines with malloc.  This is an artifact of memory testing
    194               # with the Mac testbed
    195                 if ( !m/\*\*\*\smalloc/ ) {
    196                     print MODFILE ($_);
    197                     print MODFILE2 ($_) if $resetStderr;
    198                 }
    199             }
    200 
    201             # Close mod file
    202             close(MODFILE);
    203             close(MODFILE2) if $resetStderr;
    204 
    205             # Close STDERR file
    206             close(OUTFILE);
    207 
    208             # Compare STDOUT capture with verified file
    209             $exitValue |= &compareStream("verified/$testFile.stdout");
    210 
    211             # Check exit value to determine if verified file doesn't exist
    212             if ( $exitValue & 2 ) {
    213 
    214                 # STDOUT verified doesn't exist.  Search STDOUT capture
    215                 # for strings indicating error or failure
    216                 $exitValue |= &errorStrSearch("$testFile.stdout");
    217             }
    218 
    219             # Compare STDERR capture with verified file
    220             $exitValue |= &compareStream("verified/$testFile.stderr");
    221 
    222             # Check exit value to determine if verified file doesn't exist
    223             if ( $exitValue & 4 ) {
    224 
    225                 # STDERR verified doesn't exist.  Search STDERR capture
    226                 # for strings indicating error or failure
    227                 $exitValue |= &errorStrSearch("$testFile.stderr");
    228             }
    229         }
    230     }
     117                print("Failed - Test Driver returned $?, expected abort.\n");
     118            }
     119            $exitValue |= 64;
     120        }
     121
     122        # Test driver succeeded.
     123
     124        # Create filtered version of stdout and stderr
     125
     126        # Open the STDOUT file for reading
     127        open( OUTFILE, "< temp/$testFile.stdout" );
     128
     129        # Open mod file to place filtered STDOUT
     130        open( MODFILE,  "> temp/$testFile.stdout.mod" );
     131        open( MODFILE2, "> $verifiedDir/$testFile.stdout" ) if $resetStdout;
     132
     133        # Replace the variable date, time and host information with constants
     134        $hostname = `hostname`;
     135        chop $hostname;
     136        while (<OUTFILE>) {
     137            s/\s+\d+:\d+:\d+\w/<TIME>/g;
     138            s/\d+:\d+:\d+/<DATE>/g;
     139            s/$hostname\s*/<HOST>/g;
     140            s/: Line \d+/: Line <LINENO>/g;
     141            s/\(.*\:\d+\)/\(FILE\:LINENO\)/g;
     142            s/\s+[\_\-\/\.\w]+\:\d+/ FILE\:LINENO/g;
     143            s/allocate \d+ bytes at/allocate <N> bytes at/g;
     144            s/v\d+.\d+.\d+/vX.X.X/g;
     145
     146            # Filter lines with malloc.  This is an artifact of memory testing
     147            # with the Mac testbed
     148            if ( !m/\*\*\*\smalloc/ ) {
     149                print MODFILE ($_);
     150                print MODFILE2 ($_) if $resetStdout;
     151            }
     152        }
     153
     154        # Close mod file
     155        close(MODFILE);
     156        close(MODFILE2) if $resetStdout;
     157
     158        # Close STDERR file
     159        close(OUTFILE);
     160
     161        # Open the STDERR file for reading
     162        open( OUTFILE, "< temp/$testFile.stderr" );
     163
     164        # Open mod file to place filtered STDERR
     165        open( MODFILE,  "> temp/$testFile.stderr.mod" );
     166        open( MODFILE2, "> $verifiedDir/$testFile.stderr" ) if $resetStderr;
     167
     168        # Replace the variable date, time and host information with constants
     169        while (<OUTFILE>) {
     170            s/\s+\d+:\d+:\d+\w/<TIME>/g;
     171            s/\d+:\d+:\d+/<DATE>/g;
     172            s/$hostname\s*/<HOST>/g;
     173            s/: Line \d+/: Line <LINENO>/g;
     174            s/\(.*\:\d+\)/\(FILE\:LINENO\)/g;
     175            s/\s+[\_\-\/\.\w]+\:\d+/ FILE\:LINENO/g;
     176            s/allocate \d+ bytes at/allocate <N> bytes at/g;
     177            s/v\d+.\d+.\d+/vX.X.X/g;
     178
     179            # Filter lines with malloc.  This is an artifact of memory testing
     180            # with the Mac testbed
     181            if ( !m/\*\*\*\smalloc/ ) {
     182                print MODFILE ($_);
     183                print MODFILE2 ($_) if $resetStderr;
     184            }
     185        }
     186
     187        # Close mod file
     188        close(MODFILE);
     189        close(MODFILE2) if $resetStderr;
     190
     191        # Close STDERR file
     192        close(OUTFILE);
     193
     194        # Compare STDOUT capture with verified file
     195        $exitValue |= &compareStream("$verifiedDir/$testFile.stdout");
     196
     197        # Check exit value to determine if verified file doesn't exist
     198        if ( $exitValue & 2 ) {
     199
     200            # STDOUT verified doesn't exist.  Search STDOUT capture
     201            # for strings indicating error or failure
     202            $exitValue |= &errorStrSearch("$testFile.stdout");
     203        }
     204
     205        # Compare STDERR capture with verified file
     206        $exitValue |= &compareStream("$verifiedDir/$testFile.stderr");
     207
     208        # Check exit value to determine if verified file doesn't exist
     209        if ( $exitValue & 4 ) {
     210
     211            # STDERR verified doesn't exist.  Search STDERR capture
     212            # for strings indicating error or failure
     213            $exitValue |= &errorStrSearch("$testFile.stderr");
     214        }
     215   }
    231216    else {
    232217
    … …  
    320305#
    321306#      Return:   0  -  Compare successful
    322 #                2  -  STDOUT verified file doesn't exist
    323 #                4  -  STDERR verified file doesn't exist
    324307#                8  -  STDOUT verified file doesn't compare
    325308#               16  -  STDERR verified file doesn't compare
    … …  
    333316
    334317    # Check for existence of verified STD stream files
    335     if ( !( -e $streamFile ) ) {
    336 
    337         # Display message to user that verified STDOUT file doesn't exist
    338         print("        File $streamFile doesn't exist.\n");
    339 
    340         # Set exit value bit 1 to indicate proper failure
    341         if ( $streamFile =~ /out$/ ) {
    342             $returnVal |= 2;
    343         }
    344         elsif ( $streamFile =~ /err$/ ) {
    345             $returnVal |= 4;
    346         }
    347     }
    348     else {
     318    if ( -e $streamFile ) {
    349319
    350320        # Verified STD stream file exists
    … …  
    352322        # Create name of the temp file to compare
    353323        $tempFile = $streamFile;
    354         $tempFile =~ s/verified/temp/;
     324        $tempFile =~ s/$verifiedDir/temp/;
    355325        $tempFile = $tempFile . ".mod";
    356326
  • trunk/psModules/test/verified/tst_pmFlatField.stderr

    r2289 r3623  
    55\**********************************************************************************/
    66
    7 <DATE><TIME>|<HOST>|E|pmFlatField (pmFlatField.c:<LINENO>)
     7<DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
    88    Null not allowed for flat readout.
    9 <DATE><TIME>|<HOST>|E|pmFlatField (pmFlatField.c:<LINENO>)
     9<DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
    1010    Null not allowed for input image.
    11 <DATE><TIME>|<HOST>|E|pmFlatField (pmFlatField.c:<LINENO>)
     11<DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
    1212    Null not allowed for flat image.
    13 <DATE><TIME>|<HOST>|E|pmFlatField (pmFlatField.c:<LINENO>)
     13<DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
    1414    Input image size exceeds that of flat image: (3, 3) vs (2, 2)
    15 <DATE><TIME>|<HOST>|E|pmFlatField (pmFlatField.c:<LINENO>)
     15<DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
    1616    Input image mask size exceeds that of flat image: (4, 4) vs (3, 3)
    17 <DATE><TIME>|<HOST>|E|pmFlatField (pmFlatField.c:<LINENO>)
     17<DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
    1818    Total offset >= flat image size: (50, 50) vs (3, 3)
    19 <DATE><TIME>|<HOST>|E|pmFlatField (pmFlatField.c:<LINENO>)
     19<DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
    2020    Complex types not allowed for input image. Type: 2064
    21 <DATE><TIME>|<HOST>|E|pmFlatField (pmFlatField.c:<LINENO>)
     21<DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
    2222    Complex types not allowed for flat image. Type: 2064
    23 <DATE><TIME>|<HOST>|E|pmFlatField (pmFlatField.c:<LINENO>)
     23<DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
    2424    Input and flat image types differ: (1032 vs 1028)
    25 <DATE><TIME>|<HOST>|E|pmFlatField (pmFlatField.c:<LINENO>)
     25<DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
    2626    Mask must be PS_TYPE_MASK type. Type: 1028
    2727
  • trunk/psModules/test/verified/tst_pmMaskBadPixels.stderr

    r2290 r3623  
    4141\**********************************************************************************/
    4242
    43 <DATE><TIME>|<HOST>|E|pmMaskBadPixels (pmMaskBadPixels.c:<LINENO>)
     43<DATE><TIME>|<HOST>|E|pmMaskBadPixels (FILE:LINENO)
    4444    Null not allowed for mask image.
    4545
    … …  
    5252\**********************************************************************************/
    5353
    54 <DATE><TIME>|<HOST>|E|pmMaskBadPixels (pmMaskBadPixels.c:<LINENO>)
     54<DATE><TIME>|<HOST>|E|pmMaskBadPixels (FILE:LINENO)
    5555    Null not allowed for input image.
    5656
    … …  
    6363\**********************************************************************************/
    6464
    65 <DATE><TIME>|<HOST>|E|pmMaskBadPixels (pmMaskBadPixels.c:<LINENO>)
     65<DATE><TIME>|<HOST>|E|pmMaskBadPixels (FILE:LINENO)
    6666    Input image size exceeds that of mask image: (60, 60) vs (50, 50)
    6767
    … …  
    7474\**********************************************************************************/
    7575
    76 <DATE><TIME>|<HOST>|E|pmMaskBadPixels (pmMaskBadPixels.c:<LINENO>)
     76<DATE><TIME>|<HOST>|E|pmMaskBadPixels (FILE:LINENO)
    7777    Input image mask size exceeds that of mask image: (60, 60) vs (50, 50)
    7878
    … …  
    8585\**********************************************************************************/
    8686
    87 <DATE><TIME>|<HOST>|E|pmMaskBadPixels (pmMaskBadPixels.c:<LINENO>)
     87<DATE><TIME>|<HOST>|E|pmMaskBadPixels (FILE:LINENO)
    8888    Total offset >= mask image: (150, 150) vs (50, 50)
    8989
    … …  
    9696\**********************************************************************************/
    9797
    98 <DATE><TIME>|<HOST>|E|pmMaskBadPixels (pmMaskBadPixels.c:<LINENO>)
     98<DATE><TIME>|<HOST>|E|pmMaskBadPixels (FILE:LINENO)
    9999    Complex types not allowed for input image. Type: 2064
    100100
    … …  
    107107\**********************************************************************************/
    108108
    109 <DATE><TIME>|<HOST>|E|pmMaskBadPixels (pmMaskBadPixels.c:<LINENO>)
     109<DATE><TIME>|<HOST>|E|pmMaskBadPixels (FILE:LINENO)
    110110    Mask must be PS_TYPE_MASK type. Type: 1032
    111111
  • trunk/psModules/test/verified/tst_pmNonLinear.stderr

    r2956 r3623  
    2323\**********************************************************************************/
    2424
    25 <DATE><TIME>|<HOST>|E|pmNonLinearityPolynomial (pmNonLinear.c:<LINENO>)
     25<DATE><TIME>|<HOST>|E|pmNonLinearityPolynomial (FILE:LINENO)
    2626    Unallowable operation: inputReadout is NULL.
    27 <DATE><TIME>|<HOST>|E|pmNonLinearityPolynomial (pmNonLinear.c:<LINENO>)
     27<DATE><TIME>|<HOST>|E|pmNonLinearityPolynomial (FILE:LINENO)
    2828    Unallowable operation: inputReadout->image is NULL.
    29 <DATE><TIME>|<HOST>|E|pmNonLinearityPolynomial (pmNonLinear.c:<LINENO>)
     29<DATE><TIME>|<HOST>|E|pmNonLinearityPolynomial (FILE:LINENO)
    3030    Unallowable operation: input1DPoly is NULL.
    3131
    … …  
    3838\**********************************************************************************/
    3939
    40 <DATE><TIME>|<HOST>|E|pmNonLinearityLookup (pmNonLinear.c:<LINENO>)
     40<DATE><TIME>|<HOST>|E|pmNonLinearityLookup (FILE:LINENO)
    4141    Unallowable operation: inputReadout is NULL.
    42 <DATE><TIME>|<HOST>|E|pmNonLinearityLookup (pmNonLinear.c:<LINENO>)
     42<DATE><TIME>|<HOST>|E|pmNonLinearityLookup (FILE:LINENO)
    4343    Unallowable operation: inputReadout->image is NULL.
    44 <DATE><TIME>|<HOST>|E|pmNonLinearityLookup (pmNonLinear.c:<LINENO>)
     44<DATE><TIME>|<HOST>|E|pmNonLinearityLookup (FILE:LINENO)
    4545    Unallowable operation: inFlux is NULL.
    46 <DATE><TIME>|<HOST>|E|pmNonLinearityLookup (pmNonLinear.c:<LINENO>)
     46<DATE><TIME>|<HOST>|E|pmNonLinearityLookup (FILE:LINENO)
    4747    Unallowable operation: outFlux is NULL.
    4848<DATE><TIME>|<HOST>|W|pmNonLinearityLookup
    … …  
    5858<DATE><TIME>|<HOST>|W|pmNonLinearityLookup
    5959    WARNING: pmNonLinear.c: pmNonLinearityLookup(): input vectors have different sizes (25, 23)
    60 <DATE><TIME>|<HOST>|E|pmNonLinearityLookup (pmNonLinear.c:<LINENO>)
     60<DATE><TIME>|<HOST>|E|pmNonLinearityLookup (FILE:LINENO)
    6161    pmNonLinearityLookup(): input vector less than 2 elements.  Returning inputReadout image.
    6262<DATE><TIME>|<HOST>|W|vectorBinDisectF32
  • trunk/psModules/test/verified/tst_pmReadoutCombine.stderr

    r2942 r3623  
    1414\**********************************************************************************/
    1515
    16 <DATE><TIME>|<HOST>|E|pmReadoutCombine (pmReadoutCombine.c:<LINENO>)
     16<DATE><TIME>|<HOST>|E|pmReadoutCombine (FILE:LINENO)
    1717    zero vector has incorrect size (5).  Returning NULL.
    18 <DATE><TIME>|<HOST>|E|pmReadoutCombine (pmReadoutCombine.c:<LINENO>)
     18<DATE><TIME>|<HOST>|E|pmReadoutCombine (FILE:LINENO)
    1919    Unallowable operation: psVector zero has incorrect type.
    2020<DATE><TIME>|<HOST>|W|pmReadoutCombine
    2121    WARNING: the zero vector too many elements (11)
    22 <DATE><TIME>|<HOST>|E|pmReadoutCombine (pmReadoutCombine.c:<LINENO>)
     22<DATE><TIME>|<HOST>|E|pmReadoutCombine (FILE:LINENO)
    2323    scale vector has incorrect size (5).  Returning NULL.
    24 <DATE><TIME>|<HOST>|E|pmReadoutCombine (pmReadoutCombine.c:<LINENO>)
     24<DATE><TIME>|<HOST>|E|pmReadoutCombine (FILE:LINENO)
    2525    Unallowable operation: psVector scale has incorrect type.
    2626<DATE><TIME>|<HOST>|W|pmReadoutCombine
    2727    WARNING: the scale vector has too many elements (20)
    28 <DATE><TIME>|<HOST>|E|pmReadoutCombine (pmReadoutCombine.c:<LINENO>)
     28<DATE><TIME>|<HOST>|E|pmReadoutCombine (FILE:LINENO)
    2929    Output image (1, 1) is too small to hold combined images.  Returning NULL.
    30 <DATE><TIME>|<HOST>|E|pmReadoutCombine (pmReadoutCombine.c:<LINENO>)
     30<DATE><TIME>|<HOST>|E|pmReadoutCombine (FILE:LINENO)
    3131    Output image offset is larger then input image offset.  Returning NULL.
    32 <DATE><TIME>|<HOST>|E|pmReadoutCombine (pmReadoutCombine.c:<LINENO>)
     32<DATE><TIME>|<HOST>|E|pmReadoutCombine (FILE:LINENO)
    3333    Unallowable operation: inputs is NULL.
    34 <DATE><TIME>|<HOST>|E|pmReadoutCombine (pmReadoutCombine.c:<LINENO>)
     34<DATE><TIME>|<HOST>|E|pmReadoutCombine (FILE:LINENO)
    3535    Unallowable operation: params is NULL.
    36 <DATE><TIME>|<HOST>|E|pmReadoutCombine (pmReadoutCombine.c:<LINENO>)
     36<DATE><TIME>|<HOST>|E|pmReadoutCombine (FILE:LINENO)
    3737    Multiple statistical options have been requested.  Returning NULL.
    38 <DATE><TIME>|<HOST>|E|pmReadoutCombine (pmReadoutCombine.c:<LINENO>)
     38<DATE><TIME>|<HOST>|E|pmReadoutCombine (FILE:LINENO)
    3939    Unallowable operation: params->stats is NULL.
    4040
  • trunk/psModules/test/verified/tst_pmSubtractBias.stderr

    r2942 r3623  
    5353\**********************************************************************************/
    5454
    55 <DATE><TIME>|<HOST>|E|pmSubtractBias (pmSubtractBias.c:<LINENO>)
     55<DATE><TIME>|<HOST>|E|pmSubtractBias (FILE:LINENO)
    5656    (overscans == NULL) && (overScanAxis != PM_OVERSCAN_NONE).  Returning in image
    57 <DATE><TIME>|<HOST>|E|pmSubtractBias (pmSubtractBias.c:<LINENO>)
     57<DATE><TIME>|<HOST>|E|pmSubtractBias (FILE:LINENO)
    5858    (overscans == NULL) && (overScanAxis != PM_OVERSCAN_NONE).  Returning in image
    59 <DATE><TIME>|<HOST>|E|pmSubtractBias (pmSubtractBias.c:<LINENO>)
     59<DATE><TIME>|<HOST>|E|pmSubtractBias (FILE:LINENO)
    6060    (overscans == NULL) && (overScanAxis != PM_OVERSCAN_NONE).  Returning in image
    6161<DATE><TIME>|<HOST>|W|pmSubtractBias
    … …  
    6969<DATE><TIME>|<HOST>|W|pmSubtractBias
    7070    WARNING: pmSubtractBias.(): overscan image has 7 columns, input image has 8 columns
    71 <DATE><TIME>|<HOST>|E|pmSubtractBias (pmSubtractBias.c:<LINENO>)
     71<DATE><TIME>|<HOST>|E|pmSubtractBias (FILE:LINENO)
    7272    Don't know how to scale the overscan vector.  Set fit to PM_FIT_SPLINE or PM_FIT_POLYNOMIAL.  Returning in image.
    7373<DATE><TIME>|<HOST>|W|pmSubtractBias
    7474    WARNING: pmSubtractBias.(): overscan image has 7 rows, input image has 8 rows
    75 <DATE><TIME>|<HOST>|E|pmSubtractBias (pmSubtractBias.c:<LINENO>)
     75<DATE><TIME>|<HOST>|E|pmSubtractBias (FILE:LINENO)
    7676    Don't know how to scale the overscan vector.  Set fit to PM_FIT_SPLINE or PM_FIT_POLYNOMIAL.  Returning in image.
    77 <DATE><TIME>|<HOST>|E|psSubtractFrame (pmSubtractBias.c:<LINENO>)
     77<DATE><TIME>|<HOST>|E|psSubtractFrame (FILE:LINENO)
    7878    bias image does not have enough rows.  Returning in image
    79 <DATE><TIME>|<HOST>|E|psSubtractFrame (pmSubtractBias.c:<LINENO>)
     79<DATE><TIME>|<HOST>|E|psSubtractFrame (FILE:LINENO)
    8080    bias image does not have enough columns.  Returning in image
    81 <DATE><TIME>|<HOST>|E|pmSubtractBias (pmSubtractBias.c:<LINENO>)
     81<DATE><TIME>|<HOST>|E|pmSubtractBias (FILE:LINENO)
    8282    fit is unallowable (54321).  Returning in image.
    83 <DATE><TIME>|<HOST>|E|pmSubtractBias (pmSubtractBias.c:<LINENO>)
     83<DATE><TIME>|<HOST>|E|pmSubtractBias (FILE:LINENO)
    8484    overScanAxis is unallowable (54321).  Returning in image.
    8585
  • trunk/psModules/test/verified/tst_pmSubtractSky.stderr

    r2942 r3623  
    3838\**********************************************************************************/
    3939
    40 <DATE><TIME>|<HOST>|E|pmSubtractSky (pmSubtractSky.c:<LINENO>)
     40<DATE><TIME>|<HOST>|E|pmSubtractSky (FILE:LINENO)
    4141    Unallowable operation: psReadout in or its data is NULL.
    42 <DATE><TIME>|<HOST>|E|pmSubtractSky (pmSubtractSky.c:<LINENO>)
     42<DATE><TIME>|<HOST>|E|pmSubtractSky (FILE:LINENO)
    4343    Unallowable operation: psReadout in or its data is NULL.
    44 <DATE><TIME>|<HOST>|E|pmSubtractSky (pmSubtractSky.c:<LINENO>)
     44<DATE><TIME>|<HOST>|E|pmSubtractSky (FILE:LINENO)
    4545    Unallowable operation: psImage in has incorrect type.
    4646<DATE><TIME>|<HOST>|W|pmSubtractSky
    … …  
    5656<DATE><TIME>|<HOST>|W|pmSubtractSky
    5757    WARNING: pmSubtractSky(): clipSD is -1.000000
    58 <DATE><TIME>|<HOST>|E|pmSubtractSky (pmSubtractSky.c:<LINENO>)
     58<DATE><TIME>|<HOST>|E|pmSubtractSky (FILE:LINENO)
    5959    psFit is unallowable (54321).  Returning in image.
    6060
Note: See TracChangeset for help on using the changeset viewer.