Test::Smoke::Database::Parsing - Routine for parsing Test::Smoke reports
my $d = new Test::Smoke::Database(...); $d->parse_import();
Test::Smoke::Database
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.
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;
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 the reference to set particular values to cc, ccver, arch name, etc from buggy reports.
$Revision: 1.14 $
Alain BARBET
To install Test::Smoke::Database, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Smoke::Database
CPAN shell
perl -MCPAN -e shell install Test::Smoke::Database
For more information on module installation, please visit the detailed CPAN module installation guide.