#!perl #=============================================================================== # # t/94_changes.t # # DESCRIPTION # Test script to check CPAN::Changes conformance. # # COPYRIGHT # Copyright (C) 2015 Steve Hay. All rights reserved. # # LICENCE # This script is free software; you can redistribute it and/or modify it under # the same terms as Perl itself, i.e. under the terms of either the GNU # General Public License or the Artistic License, as specified in the LICENCE # file. # #=============================================================================== use 5.008001; use strict; use warnings; use Test::More; #=============================================================================== # MAIN PROGRAM #=============================================================================== MAIN: { plan skip_all => 'Author testing only' unless $ENV{AUTHOR_TESTING}; my $ok = eval { require Test::CPAN::Changes; Test::CPAN::Changes->import(); 1; }; if (not $ok) { plan skip_all => 'Test::CPAN::Changes required to test Changes'; } else { changes_ok(); } } #===============================================================================