Blame xt/meta.t

Packit 723767
#!/usr/bin/perl
Packit 723767
Packit 723767
# Test that our META.yml file matches the current specification.
Packit 723767
Packit 723767
use strict;
Packit 723767
BEGIN {
Packit 723767
	$|  = 1;
Packit 723767
	$^W = 1;
Packit 723767
}
Packit 723767
Packit 723767
my $MODULE = 'Test::CPAN::Meta 0.17';
Packit 723767
Packit 723767
# Don't run tests for installs
Packit 723767
use Test::More;
Packit 723767
unless ( $ENV{AUTOMATED_TESTING} or $ENV{RELEASE_TESTING} ) {
Packit 723767
	plan( skip_all => "Author tests not required for installation" );
Packit 723767
}
Packit 723767
Packit 723767
# Load the testing module
Packit 723767
eval "use $MODULE";
Packit 723767
if ( $@ ) {
Packit 723767
	$ENV{RELEASE_TESTING}
Packit 723767
	? die( "Failed to load required release-testing module $MODULE" )
Packit 723767
	: plan( skip_all => "$MODULE not available for testing" );
Packit 723767
}
Packit 723767
Packit 723767
meta_yaml_ok();