1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
use strict;
use Test::More;
use lib 't/lib';
use TestUtils;
my $separator = ( '=' x 40 . "\n" );
prepare_test( 't/module', 't/makemaker' );
my( $ok, $configure, $build, $test ) = build_makemaker( 't/makemaker' );
ok( $ok, 'build with ExtUtils::MakeMaker' );
if( !$ok ) {
diag( "Makefile.PL output\n", $separator, $configure, $separator );
diag( "make output\n", $separator, $build, $separator ) if $build;
diag( "make test output\n", $separator, $test, $separator ) if $test;
}
done_testing;
|