Debian Codegraph @

xt/meta.t

raw symbols SCIP
1 #!/usr/bin/env perl
2
3 # Test that our META.yml file matches the specification
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 = ( 'Test::CPAN::Meta 0.12', );
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 meta_yaml_okscip-perl cpan Perl-Tidy-Sweetened 1.20 main/meta_yaml_ok().();
29
30 1;