Hallo Michael,
Am Freitag, 21. Juni 2002 um 00:22 schriebst du:
> On Thu, Jun 20, 2002 at 10:25:45PM +0200, Gerrit P. Haase wrote:
>> > t/MM_Cygwin.............# Failed test (t/MM_Cygwin.t at line 111)
>> > # got: '$(PERL_INC)/libperl5_6_1.a'
>> > # expected: '$(PERL_INC)/libperl5_6_1.dll.a'
>> > # Looks like you failed 1 tests of 13.
>> > t/MM_Cygwin.............dubious
>> > Test returned status 1 (wstat 256, 0x100)
>> > DIED. FAILED test 13
>> > Failed 1/13 tests, 92.31% okay (less 2 skipped tests: 10 okay, 76.92%)
>>
>> Yes of course, the test wasn't patched, may still be wrong. However,
>> it should work well with the patched MakeMaker.
> Could the Cygwin folks present a patch?
$ diff -urdb t/MM_Cygwin.t~ t/MM_Cygwin.t
--- t/MM_Cygwin.t~ 2002-06-21 22:39:39.000000000 +0200
+++ t/MM_Cygwin.t 2002-06-21 22:38:40.000000000 +0200
@@ -107,7 +107,7 @@
# test perl_archive
my $libperl = $Config{libperl} || 'libperl.a';
-$libperl =~ s/\.a/.dll.a/;
+if( $] >= 5.007) { $libperl =~ s/\.a/.dll.a/; }
is( $args->perl_archive(), "\$(PERL_INC)/$libperl",
'perl_archive() should respect libperl setting' );
--
=^..^=