Debian Codegraph @

xt/minimumversion.t

raw symbols SCIP
1 #!/usr/bin/env perl
2
3 # Test that our declared minimum Perl version matches our syntax
4 use strictscip-perl cpan Perl-Tidy-Sweetened 1.20 strict/;
5
6 BEGIN {
7 $|scip-perl cpan Perl-Tidy-Sweetened 1.20 main/`$|`. = 1;
8 $^Wscip-perl cpan Perl-Tidy-Sweetened 1.20 main/`$^W`. = 1;
9 }
10
11 my @MODULES = ( 'Perl::MinimumVersion 1.20', 'Test::MinimumVersion 0.008', );
12
13 # Don't run tests during end-user installs
14 use Test::Morescip-perl cpan Perl-Tidy-Sweetened 1.20 Test/More/;
15 # plan( skip_all => 'Author tests not required for installation' )
16 # unless ( $ENV{RELEASE_TESTING} or $ENV{AUTOMATED_TESTING} );
17
18 # Load the testing modules
19 foreach my $MODULE (@MODULES) {
20 eval "use $MODULE";
21 if ($@scip-perl cpan Perl-Tidy-Sweetened 1.20 main/`$@`.) {
22 $ENVscip-perl cpan Perl-Tidy-Sweetened 1.20 main/`%ENV`.{RELEASE_TESTING}
23 ? diescip-perl cpan Perl-Tidy-Sweetened 1.20 main/die().("Failed to load required release-testing module $MODULE")
24 : planscip-perl cpan Perl-Tidy-Sweetened 1.20 main/plan().( skip_all => "$MODULE not available for testing" );
25 }
26 }
27
28 all_minimum_version_from_metayml_okscip-perl cpan Perl-Tidy-Sweetened 1.20 main/all_minimum_version_from_metayml_ok().();
29
30 1;