uh_parser/uh.pl
changeset 270 7f69aca41ac4
parent 269 a215187752cf
child 286 8e1488905621
equal deleted inserted replaced
269:a215187752cf 270:7f69aca41ac4
    50 
    50 
    51 if ($help)
    51 if ($help)
    52 {
    52 {
    53 print <<_EOH;
    53 print <<_EOH;
    54 UH parser
    54 UH parser
    55 Reads one or more Raptor log files, extracts the interesting bits and puts them into a
    55 Reads one or more Raptor log files, extracts the interesting bits and puts them
    56 set of HTML files, making it easy to spot the failures and see the related log snippets.
    56 into a set of HTML files, making it easy to spot the failures and see the
       
    57 related log snippets.
    57 
    58 
    58 Usage: uh.pl [options] [files]
    59 Usage: uh.pl [options] [files]
    59 
    60 
    60 Options:
    61 Options:
    61   -h, --help            Show this help message and exit
    62   -h, --help            Show this help message and exit
    62   -m, --missing         Add report on missing binaries. Check is done against the epoc
    63   -m, --missing         Add report on missing binaries. Check is done against
    63                         tree at the root of the current drive
    64                         the epoc tree at the root of the current drive
    64                         (Note: it requires Raptor log to include whatlog info)
    65                         (Note: it requires Raptor log to include whatlog info)
    65   -b OUTDIR, --basedir OUTDIR
    66   -b OUTDIR, --basedir OUTDIR
    66                         Generate output under OUTDIR (defaults to current dir)
    67                         Generate output under OUTDIR (defaults to current dir)
    67   
    68   
    68 Files:
    69 Files:
    69   Accepts one or a list of raptor log files (separated by a space)
    70   Accepts one or a list of raptor log files (separated by a space).
    70   If no file argument is provided then take the most recent log under \\epoc32\\build
    71   Shell wildcards are accepted in the file names.
       
    72   If no file argument is provided then take the most recent log under
       
    73   \\epoc32\\build
       
    74   
       
    75 Examples:
       
    76   uh.pl -m              Launched from the build drive, parses the log file of
       
    77                         the last call to sbs. Also reports on missing files.
       
    78   uh.pl -m \\output\\logs\\*_compile.log
       
    79                         Parses all files ending in '_compile.log' under the
       
    80                         \\output\\logs directory. Also reports on missing files.
    71 _EOH
    81 _EOH
    72 	exit(0);
    82 	exit(0);
    73 }
    83 }
    74 
    84 
    75 if (!@logfiles)
    85 if (!@logfiles)