File: 011_makemaker.t

package info (click to toggle)
libextutils-cppguess-perl 0.27-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 184 kB
  • sloc: perl: 742; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 517 bytes parent folder | download | duplicates (3)
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;