GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TEST::PARSER::LHCS_REGRESSION (3)

.ds Aq ’

NAME

Test::Parser::lhcs_regression - Perl module to parse output from runs of the Linux Hotplug CPU Support (lhcs_regression) testsuite.

CONTENTS

SYNOPSIS



 use Test::Parser::lhcs_regression;

 my $parser = new Test::Parser::LTP;
 $parser->parse($text);
 printf("Num Executed:  %8d\n", $parser->num_executed());
 printf("Num Passed:    %8d\n", $parser->num_passed());
 printf("Num Failed:    %8d\n", $parser->num_failed());
 printf("Num Skipped:   %8d\n", $parser->num_skipped());



Additional information is available from the subroutines listed below and from the Test::Parser baseclass.

DESCRIPTION

This module provides a way to extract information out of lhcs_regression test run output.

FUNCTIONS

Also see Test::Parser for functions available from the base class.

new()

Creates a new Test::Parser::lhcs_regression instance. Also calls the Test::Parser base class’ new() routine. Takes no arguments.

Override of Test::Parser’s default parse_line() routine to make it able to parse LTP output.

The lhcs_regression format is simple, with each test case issuing a status line of the form foobar.42 PASS: Blah blah. A regular expression in this subroutine matches lines that look like that, increments the passed/failed/skipped count accordingly, puts the info in a hash and adds it to the testcases array.

AUTHOR

Bryce Harrington <bryce@osdl.org>

COPYRIGHT

Copyright (C) 2006 Bryce Harrington. All Rights Reserved.

This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Test::Parser

POD ERRORS

Hey! <B>The above document had some coding errors, which are explained below:B>
Around line 124: ’=end’ without a target?
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 TEST::PARSER::LHCS_REGRESSION (3) 2008-02-27

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.