X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Devel.git;a=blobdiff_plain;f=t%2Fgenerated_app.t;h=799f27099378c763503b30a8f15b6a8287d9c786;hp=51cb3f17a4a7a3c5dc53fbf3e8a530b812fa6e56;hb=refs%2Fheads%2Ffix_par;hpb=94e57c3320296eddb5fe0eb837ac7c9ae8b197ba diff --git a/t/generated_app.t b/t/generated_app.t index 51cb3f1..799f270 100644 --- a/t/generated_app.t +++ b/t/generated_app.t @@ -80,7 +80,12 @@ create_ok($_, 'My' . $_) for qw/Model View Controller/; command_ok( [ $^X, 'Makefile.PL' ] ); ok -e "Makefile", "Makefile generated"; #NOTE: do not assume that 'make' is always 'make' as e.g. Win32/strawberry perl uses 'dmake' -command_ok( [ ($Config{make} || 'make') ] ); +my $make = $Config{make} || 'make'; +command_ok( [ $make ], 'Ran make ok' ); +if (eval { require PAR::Packer }) { + command_ok([ $make, 'catalyst_par' ], 'Ran make catalyst_par ok'); + command_ok([ 'parl', ]); # FIXME - Win32? +} run_generated_component_tests();