line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package SmokeRunner::Multi::Runner::Prove; |
2
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:YANICK'; |
3
|
|
|
|
|
|
|
#ABSTRACT: Runner subclass which uses prove |
4
|
|
|
|
|
|
|
$SmokeRunner::Multi::Runner::Prove::VERSION = '0.20'; |
5
|
2
|
|
|
2
|
|
22400
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
123
|
|
6
|
2
|
|
|
2
|
|
11
|
use warnings; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
65
|
|
7
|
|
|
|
|
|
|
|
8
|
2
|
|
|
2
|
|
10
|
use base 'SmokeRunner::Multi::Runner'; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
725
|
|
9
|
|
|
|
|
|
|
__PACKAGE__->mk_ro_accessors( 'output' ); |
10
|
|
|
|
|
|
|
|
11
|
2
|
|
|
2
|
|
813
|
use File::chdir; |
|
2
|
|
|
|
|
3194
|
|
|
2
|
|
|
|
|
191
|
|
12
|
2
|
|
|
2
|
|
606
|
use SmokeRunner::Multi::SafeRun qw( safe_run ); |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
120
|
|
13
|
2
|
|
|
2
|
|
13
|
use SmokeRunner::Multi::Validate qw( validate ARRAYREF_TYPE ); |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
16
|
|
14
|
2
|
|
|
2
|
|
813
|
use YAML::Syck qw( Dump ); |
|
2
|
|
|
|
|
2027
|
|
|
2
|
|
|
|
|
258
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub run_tests |
18
|
|
|
|
|
|
|
{ |
19
|
2
|
|
|
2
|
1
|
14
|
my $self = shift; |
20
|
|
|
|
|
|
|
|
21
|
2
|
|
|
|
|
21
|
local $CWD = $self->set()->set_dir(); |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
safe_run |
24
|
|
|
|
|
|
|
( command => 'prove', |
25
|
|
|
|
|
|
|
args => [ '-b', '-l', '-v', $self->set()->test_files() ], |
26
|
|
|
|
|
|
|
stdout_buffer => \$self->{output}, |
27
|
|
|
|
|
|
|
stderr_buffer => \$self->{output}, |
28
|
2
|
|
|
|
|
176
|
); |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
__END__ |