IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 6, 2004, 11:50:14 AM (22 years ago)
Author:
desonia
Message:

modified runTest / FullUnitTest to suppress line numbers in messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/FullUnitTest

    r1198 r1404  
    1919#  RETURN : integer number of tests which failed
    2020#
    21 #  $Revision: 1.10 $  $Name: not supported by cvs2svn $
    22 #  $Date: 2004-07-08 19:34:18 $
     21#  $Revision: 1.11 $  $Name: not supported by cvs2svn $
     22#  $Date: 2004-08-06 21:50:13 $
    2323#
    2424#  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    555555   chop $hostname;
    556556   while( <OUTFILE> ) {
    557        s/\d+:\d+:\d+/ <DATE> /;
    558        s/\s+\d+:\d+:\d+\w/ <TIME> /;
    559        s/$hostname/<HOST>/;
     557       s/\s+\d+:\d+:\d+\w/<TIME>/g;
     558       s/\d+:\d+:\d+/<DATE>/g;
     559       s/$hostname/<HOST>/g;
     560       s/: Line \d+/: Line <LINENO>/g;
     561       s/\:\d+/\:<LINENO>/g;
    560562       # Filter lines with *** malloc.  This is an artifact of Mac testing of
    561563       # memory functions
     
    575577   # Replace the variable date, time and host information with constants
    576578   while( <OUTFILE> ) {
    577        s/\d+:\d+:\d+/ <DATE> /;
    578        s/\s+\d+:\d+:\d+\w/ <TIME> /;
    579        s/$hostname/<HOST>/;
     579       s/\s+\d+:\d+:\d+\w/<TIME>/g;
     580       s/\d+:\d+:\d+/<DATE>/g;
     581       s/$hostname/<HOST>/g;
     582       s/: Line \d+/: Line <LINENO>/g;
     583       s/\:\d+/\:<LINENO>/g;
    580584       # Filter lines with *** malloc.  This is an artifact of Mac testing of
    581585       # memory functions
Note: See TracChangeset for help on using the changeset viewer.