9 use Test::More tests => 7;
11 use MakeMaker::Test::Setup::BFD;
12 use MakeMaker::Test::Utils;
14 my $perl = which_perl();
15 my $make = make_run();
19 ok( setup_recurs(), 'setup' );
21 ok( chdir File::Spec->updir );
22 ok( teardown_recurs(), 'teardown' );
25 ok( chdir('Big-Dummy'), "chdir'd to Big-Dummy" ) ||
26 diag("chdir failed: $!");
28 my @mpl_out = run(qq{$perl Makefile.PL FIRST_MAKEFILE=jakefile});
29 cmp_ok( $?, '==', 0, 'Makefile.PL exited with zero' ) || diag @mpl_out;
31 ok( -e 'jakefile', 'FIRST_MAKEFILE honored' );
33 ok( grep(/^Writing jakefile(?:\.)? for Big::Dummy/, @mpl_out) == 1,
34 'Makefile.PL output looks right' );