7 blib_load('Module::Build');
9 my $tmp = MBTest->tmpdir;
12 my $dist = DistGen->new( dir => $tmp );
16 #########################
18 # Test MYMETA generation
20 ok( ! -e "MYMETA.yml", "MYMETA.yml doesn't exist before Build.PL runs" );
22 $output = stdout_of sub { $dist->run_build_pl };
23 like($output, qr/Creating new 'MYMETA.yml' with configuration results/,
24 "Saw MYMETA.yml creation message"
26 ok( -e "MYMETA.yml", "MYMETA.yml exists" );
29 #########################