From: Vincent Pit Date: Tue, 14 Apr 2015 17:07:43 +0000 (-0300) Subject: Update VPIT::TestHelpers to 6d578776 X-Git-Tag: v0.57~4 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FVariable-Magic.git;a=commitdiff_plain;h=e81784934ecf6cc49325246dd3db8abd4f844a02 Update VPIT::TestHelpers to 6d578776 And list the dependencies for the 'capture' feature in BUILD_REQUIRES. --- diff --git a/Makefile.PL b/Makefile.PL index a4a665b..4efbec5 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -83,7 +83,11 @@ my %BUILD_REQUIRES = ( 'Carp' => 0, 'Config' => 0, 'ExtUtils::MakeMaker' => 0, + 'IO::Handle' => 0, + 'IO::Select' => 0, + 'IPC::Open3' => 0, 'POSIX' => 0, + 'Socket' => 0, 'Test::More' => 0, 'lib' => 0, %PREREQ_PM, diff --git a/t/lib/VPIT/TestHelpers.pm b/t/lib/VPIT/TestHelpers.pm index e8cfa71..2396cad 100644 --- a/t/lib/VPIT/TestHelpers.pm +++ b/t/lib/VPIT/TestHelpers.pm @@ -288,11 +288,19 @@ Dependencies : =item - -Not VMS +Neither VMS nor OS/2 =item - -L, L, L +L + +=item - + +L + +=item - + +L =item - @@ -331,7 +339,8 @@ C (possibly prefixed by C<$p>) sub init_capture { my $p = sanitize_prefix(shift); - skip_all 'Cannot capture output on VMS' if $^O eq 'VMS'; + skip_all 'Cannot capture output on VMS' if $^O eq 'VMS'; + skip_all 'Cannot capture output on OS/2' if $^O eq 'os2'; load_or_skip_all 'IO::Handle', '0', [ ]; load_or_skip_all 'IO::Select', '0', [ ];