This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Move ExtUtils::CBuilder from lib to ext.
[perl5.git] / lib / ExtUtils / t / make.t
1 #!/usr/bin/perl -w
2
3 BEGIN {
4     if( $ENV{PERL_CORE} ) {
5         chdir 't';
6         @INC = ('../lib', 'lib/');
7     }
8     else {
9         unshift @INC, 't/lib/';
10     }
11 }
12
13 use Test::More tests => 3;
14
15 use ExtUtils::MakeMaker;
16
17 my $MM = bless { MAKE => "nmake6" }, "MM";
18 is $MM->make, 'nmake';
19
20 $MM->{MAKE} = 'GNUmake';
21 is $MM->make, 'gmake';
22
23 $MM->{MAKE} = 'MMS';
24 is $MM->make, 'mms';