summaryrefslogtreecommitdiff
path: root/lib/ExtUtils/t/make.t
blob: 3a1626028f9bac8f77730770a26479f76a906834 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/perl -w

BEGIN {
    if( $ENV{PERL_CORE} ) {
        chdir 't';
        @INC = ('../lib', 'lib/');
    }
    else {
        unshift @INC, 't/lib/';
    }
}

use Test::More tests => 3;

use ExtUtils::MakeMaker;

my $MM = bless { MAKE => "nmake6" }, "MM";
is $MM->make, 'nmake';

$MM->{MAKE} = 'GNUmake';
is $MM->make, 'gmake';

$MM->{MAKE} = 'MMS';
is $MM->make, 'mms';