line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# ABSTRACT: Determine the platform(s) of the system under test via environment variable for upload to elasticsearch |
2
|
|
|
|
|
|
|
# PODNAME: App::Prove::Elasticsearch::Platformer::Env |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package App::Prove::Elasticsearch::Platformer::Env; |
5
|
|
|
|
|
|
|
$App::Prove::Elasticsearch::Platformer::Env::VERSION = '0.001'; |
6
|
1
|
|
|
1
|
|
94073
|
use strict; |
|
1
|
|
|
|
|
9
|
|
|
1
|
|
|
|
|
21
|
|
7
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
20
|
|
8
|
1
|
|
|
1
|
|
410
|
use utf8; |
|
1
|
|
|
|
|
10
|
|
|
1
|
|
|
|
|
4
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub get_platforms { |
11
|
2
|
100
|
|
2
|
1
|
3704
|
die "TESTSUITE_PLATFORM not set" unless $ENV{TESTSUITE_PLATFORM}; |
12
|
1
|
|
|
|
|
5
|
my @ret = split(/,/, $ENV{TESTSUITE_PLATFORM}); |
13
|
1
|
|
|
|
|
7
|
return \@ret; |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
1; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
__END__ |