Skip Menu |

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 30796
Status: resolved
Priority: 0/
Queue: Test-Harness

People
Owner: andy [...] hexten.net
Requestors: ANDK [...] cpan.org
Cc: yanick+cpan [...] babyl.dyndns.org
AdminCc:

Bug Information
Severity: Important
Broken in: 3.02
Fixed in: (no value)



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,
Thank for the report Andreas - I'm investigating now.
This is resolved in 3.03. Thanks for the report Andreas.
CC: YANICK [...] cpan.org
Subject: Re: [rt.cpan.org #30796] Incompatibility with T:H 2.64 wrt -t switch
Date: Sat, 17 Nov 2007 11:58:22 -0500
To: bug-Test-Harness [...] rt.cpan.org
From: Yanick Champoux <yanick [...] babyl.dyndns.org>
On November 17, 2007, Andy Armstrong via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=30796 > > > This is resolved in 3.03. Thanks for the report Andreas.
This is strange. I got the last two bug updates from Andy all right, but never received the original bug notice from Andreas. Either Rt or my mail server is playing games on me... Anyway, viele danke Andreas for cc'ing me and thus saving me of many hours of perplexity on why XML::XPS is suddenly failing. And, in a big-picture sort of way, I'm happy XML::XPS was instrumental in finding a bug in T::H. :-) Joy, `/anick
On Sat Nov 17 11:28:39 2007, yanick@babyl.dyndns.org wrote: Show quoted text
> Anyway, viele danke Andreas for cc'ing me and thus saving me of many > hours of > perplexity on why XML::XPS is suddenly failing. And, in a big-picture > sort of > way, I'm happy XML::XPS was instrumental in finding a bug in T::H. :-)
Thanks Yanick :)