CC: | YANICK [...] cpan.org |
Subject: | Incompatibility with T:H 2.64 wrt -t switch |
YANICK/XML-XPathScript-1.52.tar.gz exposes an incompatibility between
T:H 2.64 and 3.02.
You can reproduce the following failure when you test with a perl that
has no previous version of XML::XPathScript installed. This is also the
reason why I'm discovering it so late.
This is the output you shall see with Test::Harness 3.02:
t/04unicode......................Can't locate XML/XPathScript.pm in @INC
(@INC contains:
/home/src/perl/repoperls/installed-perls/perl/pztfddi/perl-5.8.0@32354/lib/5.10.0/i686-linux-64int
/home/src/perl/repoperls/installed-perls/perl/pztfddi/perl-5.8.0@32354/lib/5.10.0
/home/src/perl/repoperls/installed-perls/perl/pztfddi/perl-5.8.0@32354/lib/site_perl/5.10.0/i686-linux-64int
/home/src/perl/repoperls/installed-perls/perl/pztfddi/perl-5.8.0@32354/lib/site_perl/5.10.0)
at t/04unicode.t line 7.
BEGIN failed--compilation aborted at t/04unicode.t line 7.
# Looks like your test died before it could output anything.
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 11/11 subtests
Note that @INC does not contain the blib/arch and blib/lib. This has
something to do with the -t switch on the shebang line. I have not
looked into the code to see the actual cause. I hope this becomes
obvious to you when you read the description.
So this test only starts failing now on fresh perls with Test::Harness
3.02. Older perls that have already some older version of
XML::XPathScript installed will run this test by requireing the older
version from the normal @INC path, the test passes but not with the
version that is going to be installed but with the older one.
Yanick, I CC you so that you understand why you get failing tests now. I
think you have nothing to do, just watch this thread, so you know what's
going on.
Cheers,