diff options
author | Steve Peters <steve@fisharerojo.org> | 2007-07-02 15:39:52 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2007-07-02 15:39:52 +0000 |
commit | 277189c8ad3fc0d1dcd4c757f62b0a7bf5bacaa0 (patch) | |
tree | 5c8f3e174b3714c1e7556d10e66d7b4f71402e27 /t | |
parent | 28f2d4d1a9ee0dc43de025aac86c30a6932449c8 (diff) | |
download | perl-277189c8ad3fc0d1dcd4c757f62b0a7bf5bacaa0.tar.gz |
Upgrade to ExtUtils-MakeMaker-6.35
p4raw-id: //depot/perl@31519
Diffstat (limited to 't')
-rw-r--r-- | t/lib/MakeMaker/Test/Setup/Recurs.pm | 8 | ||||
-rw-r--r-- | t/lib/MakeMaker/Test/Utils.pm | 4 |
2 files changed, 10 insertions, 2 deletions
diff --git a/t/lib/MakeMaker/Test/Setup/Recurs.pm b/t/lib/MakeMaker/Test/Setup/Recurs.pm index c8b7379348..d3585eb9c2 100644 --- a/t/lib/MakeMaker/Test/Setup/Recurs.pm +++ b/t/lib/MakeMaker/Test/Setup/Recurs.pm @@ -27,6 +27,14 @@ WriteMakefile( VERSION => 1.00, ); END + + # Check if a test failure in a subdir causes make test to fail + 'Recurs/prj2/t/fail.t' => <<'END', +#!/usr/bin/perl -w + +print "1..1\n"; +print "not ok 1\n"; +END ); sub setup_recurs { diff --git a/t/lib/MakeMaker/Test/Utils.pm b/t/lib/MakeMaker/Test/Utils.pm index 0d6afc33ab..fb8162d2cd 100644 --- a/t/lib/MakeMaker/Test/Utils.pm +++ b/t/lib/MakeMaker/Test/Utils.pm @@ -251,7 +251,7 @@ would expect to see on a screen. sub run { my $cmd = shift; - require ExtUtils::MM; + use ExtUtils::MM; # Unix can handle 2>&1 and OS/2 from 5.005_54 up. # This makes our failure diagnostics nicer to read. @@ -304,7 +304,7 @@ sub have_compiler { # ExtUtils::CBuilder prints its compilation lines to the screen. # Shut it up. - require TieOut; + use TieOut; local *STDOUT = *STDOUT; local *STDERR = *STDERR; |