NAME
Test::Smoke::Database::Parsing - Routine for parsing Test::Smoke reports
SYNOPSIS
$ admin_smokedb --create --suck --import --update_archi
$ lynx http://localhost/cgi-bin/smokedb.cgi
SEE ALSO
METHODS
- parse_import Test::Smoke::Database object
-
As his name say, this method will parse and import fetched report found in $self->{opts}->{dir} and put them in database. Return the number of reports added to database on succes, 0 else.
- parse_rpt file
-
This method is call by parse_import. Parse file and return values parsed in a reference of hash. Else return -1 for a H.M. Brand report (then parse_hm_brand_rpt will be called), -2 for a bad report, ie a report without os/osver (this report will be deleted), -3 for an Alian multi-col report (deleted too). Return undef if no file or if file doesn't exist;
- parse_hm_brand_rpt file
-
Do a specific parsing for H.M Brand report file. (his report is multi-col). Return a list of reference of report to use with add_db. Return undef if no file or if file doesn't exist;
VERSION
$Revision: 1.5 $
AUTHOR
Alain BARBET