NAME
Test::Smoke::Database::Parsing - Routine for parsing Test::Smoke reports
SYNOPSIS
my $d = new Test::Smoke::Database(...);
$d->parse_import();
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;
- update_ref ref of hash
-
Update the reference to set particular values to cc, ccver, arch name, etc from buggy reports.
VERSION
$Revision: 1.14 $
AUTHOR
Alain BARBET