From 46de787b36986f74e850d2f1c95ddccc1ef7ce7d Mon Sep 17 00:00:00 2001 From: Chris 'BinGOs' Williams Date: Mon, 22 Jul 2013 09:41:01 +0100 Subject: Update Module-Build to CPAN version 4.007 [DELTA] 0.4007 - Fri Jul 19 13:44:39 CEST 2013 [BUG FIXES] - Removed undeclared test dependency on parent.pm [Leon Timmermans] - Declared dependency on Pod::Man 2.17 for utf8 support [Leon Timmermans] - Force generation of man pages in manify_with_utf8.t [Leon Timmermans] 0.4006 - Thu Jul 18 14:19:49 CEST 2013 [ENHANCEMENTS] - Significantly sped up some tests by not forcing HTML docs to be built when the user's config doesn't ask for them anyway. [Ken Williams] - The Module::Metadata package was split out from this distro back in 2010. Removed its regression tests. [Ken Williams] - Removed dependence on IO::File, replacing it with safe invocations of open(). [Sven Dowideit] - Added an 'extra_manify_args' parameter to facilitate man pages containing Unicode. [Joenio Costa] - Added an '--html_links 0' argument for the 'html' action, which can hugely speed things up. The main effect is speeding up the M::B tests themselves. [Ken Williams] [BUG FIXES] - Fix hash argument parsing in subclasses [Graham Ollis] - Revised detildification on VMS [Craig Berry] - Fix run_test_harness for case when $Switches is an empty string [Victor Efimov, Ken Williams] --- cpan/Module-Build/t/actions/installdeps.t | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'cpan/Module-Build/t/actions/installdeps.t') diff --git a/cpan/Module-Build/t/actions/installdeps.t b/cpan/Module-Build/t/actions/installdeps.t index 5df98336b5..ec90080655 100644 --- a/cpan/Module-Build/t/actions/installdeps.t +++ b/cpan/Module-Build/t/actions/installdeps.t @@ -29,18 +29,17 @@ stdout_stderr_of( sub { $mb = $dist->new_from_context('verbose' => 1) } ); isa_ok( $mb, "Module::Build" ); like( $mb->cpan_client, qr/^\Q$^X\E/, "cpan_client is mocked with perl" ); +my $retval; my $out = stdout_of( sub { - $dist->run_build('installdeps') + $retval = $mb->dispatch('installdeps') }); -ok( length($out), "ran mocked Build installdeps"); +ok( $retval, "ran mocked Build installdeps"); like( $out, qr/File::Spec/, "saw File::Spec prereq" ); like( $out, qr/Getopt::Long/, "saw Getopt::Long prereq" ); $out = stdout_stderr_of( sub { - $dist->run_build('installdeps', '--cpan_client', 'ADLKASJDFLASDJ') + $retval = $mb->dispatch('installdeps', cpan_client => 'ADLKASJDFLASDJ'); }); -like( $out, qr/cpan_client .* is not executable/, - "Build installdeps with bad cpan_client dies" -); +ok( !$retval, "Build installdeps with bad cpan_client fails" ); # vim:ts=2:sw=2:et:sta:sts=2 -- cgit v1.2.1