Subject: | 00-warning.t waits forever on recent cpanm on Strawberry Perl |
According to its Changes file cpanm doesn't set AUTOMATIC_TESTING, but instead sets PERL_MM_USE_DEFAULT
1.5007 Tue Dec 20 10:15:48 PST 2011
...
[Improvements]
- Stop setting AUTOMATED_TESTING (again!) and set PERL_MM_USE_DEFAULT in testing (#138)
alarm doesn't fire on MSWin32 when it is blocking on the read to STDIN. The attached patch checks for PERL_MM_USE_DEFAULT in addition to AUTOMATED_TESTING.
Subject: | patch.diff |
Index: t/00-warning.t
===================================================================
--- t/00-warning.t (revision 2299)
+++ t/00-warning.t (working copy)
@@ -92,7 +92,7 @@
EOF
}
-unless($ENV{'AUTOMATED_TESTING'})
+unless($ENV{'AUTOMATED_TESTING'} || $ENV{PERL_MM_USE_DEFAULT})
{
my %old;