line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package SmokeRunner::Multi::Runner::Prove; |
2
|
|
|
|
|
|
|
BEGIN { |
3
|
3
|
|
|
3
|
|
27987
|
$SmokeRunner::Multi::Runner::Prove::AUTHORITY = 'cpan:YANICK'; |
4
|
|
|
|
|
|
|
} |
5
|
|
|
|
|
|
|
{ |
6
|
|
|
|
|
|
|
$SmokeRunner::Multi::Runner::Prove::VERSION = '0.19'; |
7
|
|
|
|
|
|
|
} |
8
|
|
|
|
|
|
|
#ABSTRACT: Runner subclass which uses prove |
9
|
|
|
|
|
|
|
|
10
|
3
|
|
|
3
|
|
20
|
use strict; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
85
|
|
11
|
3
|
|
|
3
|
|
14
|
use warnings; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
83
|
|
12
|
|
|
|
|
|
|
|
13
|
3
|
|
|
3
|
|
14
|
use base 'SmokeRunner::Multi::Runner'; |
|
3
|
|
|
|
|
17
|
|
|
3
|
|
|
|
|
1194
|
|
14
|
|
|
|
|
|
|
__PACKAGE__->mk_ro_accessors( 'output' ); |
15
|
|
|
|
|
|
|
|
16
|
3
|
|
|
3
|
|
1884
|
use File::chdir; |
|
3
|
|
|
|
|
7393
|
|
|
3
|
|
|
|
|
332
|
|
17
|
3
|
|
|
3
|
|
1162
|
use SmokeRunner::Multi::SafeRun qw( safe_run ); |
|
3
|
|
|
|
|
11
|
|
|
3
|
|
|
|
|
217
|
|
18
|
3
|
|
|
3
|
|
56
|
use SmokeRunner::Multi::Validate qw( validate ARRAYREF_TYPE ); |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
28
|
|
19
|
3
|
|
|
3
|
|
1930
|
use YAML::Syck qw( Dump ); |
|
3
|
|
|
|
|
5026
|
|
|
3
|
|
|
|
|
530
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
sub run_tests |
23
|
|
|
|
|
|
|
{ |
24
|
3
|
|
|
3
|
1
|
17
|
my $self = shift; |
25
|
|
|
|
|
|
|
|
26
|
3
|
|
|
|
|
31
|
local $CWD = $self->set()->set_dir(); |
27
|
|
|
|
|
|
|
|
28
|
3
|
|
|
|
|
272
|
safe_run |
29
|
|
|
|
|
|
|
( command => 'prove', |
30
|
|
|
|
|
|
|
args => [ '-b', '-l', '-v', $self->set()->test_files() ], |
31
|
|
|
|
|
|
|
stdout_buffer => \$self->{output}, |
32
|
|
|
|
|
|
|
stderr_buffer => \$self->{output}, |
33
|
|
|
|
|
|
|
); |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
1; |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
__END__ |