"Gerrit P. Haase" <[EMAIL PROTECTED]> writes:
> Gisle Aas schrieb am 2001-09-07, 9:27:
>
> >"Gerrit Haase" <[EMAIL PROTECTED]> writes:
> >
> >> Failed Test Status Wstat Total Fail Failed List of Failed
> >> ----------------------------------------------------------------------
> >> t/heuristic.t 14 1 7.14% 1 Failed 1/20 test scripts,
> >> 95.00% okay. 1/345 subtests failed, 99.71% okay. make: *** [test_dynamic]
> >> Error 255
> >
> >This is strange. I can't see how the #1 test can fail at all. Could
> >you tell me what the output is when running this test by itself?
> >
> > perl -Mblib t/heuristic.t
> >
> >Regards,
> >Gisle
>
> I got this fail always if building in a standard way (CPAN shell, script or
> just: perl Makefile.PL; make; make test), if executed manually, it is o.k.
>
> $ perl -Mblib t/heuristic.t
> Using /perl/cpantest/URI-1.16/blib
> 1..14
> uf_uristr: resolving http://www.sn.no/
> uf_uristr: ==> http://www.sn.no/
> ok 1
This test tries to redirect STDERR onto STDOUT before it runs.
Perhaps cygwin somehow mess this up.
Try to comment out the two lines that say:
$URI::Heuristic::DEBUG++;
open(STDERR, ">&STDOUT"); # redirect STDERR
near the top of t/heuristic.t, then do a normal 'make test'.
Regards,
Gisle