line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
## no critic (RequireUseStrict) |
2
|
|
|
|
|
|
|
package Tapper::TestSuite::HWTrack; |
3
|
|
|
|
|
|
|
# git description: v4.1.0-2-gab79953 |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
BEGIN { |
6
|
1
|
|
|
1
|
|
56844
|
$Tapper::TestSuite::HWTrack::AUTHORITY = 'cpan:TAPPER'; |
7
|
|
|
|
|
|
|
} |
8
|
|
|
|
|
|
|
{ |
9
|
|
|
|
|
|
|
$Tapper::TestSuite::HWTrack::VERSION = '4.1.1'; |
10
|
|
|
|
|
|
|
} |
11
|
|
|
|
|
|
|
# ABSTRACT: Tapper - Report hardware meta information |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
36
|
use 5.010; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
42
|
|
14
|
1
|
|
|
1
|
|
836
|
use Moose; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
use aliased 'Tapper::TestSuite::HWTrack::Prepare'; |
17
|
|
|
|
|
|
|
use aliased 'Tapper::TestSuite::HWTrack::Execute'; |
18
|
|
|
|
|
|
|
has 'exec' => ( is => 'ro', isa => Execute, handles => [qw( generate send gen_error )], default => sub { Execute->new }, ); |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
__END__ |
24
|
|
|
|
|
|
|
=pod |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=encoding utf-8 |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 NAME |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Tapper::TestSuite::HWTrack - Tapper - Report hardware meta information |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 DESCRIPTION |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
HWTrack calls the tool lshw, parses its input and sends it to the |
35
|
|
|
|
|
|
|
report framework. |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 AUTHOR |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
AMD OSRC Tapper Team <tapper@amd64.org> |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
This software is Copyright (c) 2012 by Advanced Micro Devices, Inc.. |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
This is free software, licensed under: |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
The (two-clause) FreeBSD License |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=cut |
50
|
|
|
|
|
|
|
|