Skip Menu |
 

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

Report information
The Basics
Id: 60963
Status: open
Priority: 0/
Queue: Test-Harness

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc: ALEXBIO [...] cpan.org
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 3.22
Fixed in: (no value)



CC: ALEXBIO [...] cpan.org
Subject: Subtle changes between 3.17 and 3.22 break testsuite of Acme-Compress-0.04
Download (untitled) / with headers
text/plain 942b
It started with that I observed weird results of the Acme::Compress testsuite among the cpantesters. With T:H 3.17 we have only PASS, with 3.21 and 3.22 we have mixed results. My observations on my own machine with 3.21+ are that when a working version of Acme::Compress is already installed, then testing it yields a PASS. So if you want to reproduce the interesting results make sure that Acme::Compress is not already installed on your testing perl. Bisect on the Test::Harness repository doesn't lead to a clear finding because there were so many different types of fail since 3.17 wrt Acme::Compress. Inspecting the code what Acme::Compress is doing is a bit annoying to debug because you only see encrypted source code and everything happens at compile time. That makes debugging not trivial. But my impression is that Acme::Compress isn't doing anything wrong. I would welcome more eyeballs looking into this. Thanks && Regards,
Download (untitled) / with headers
text/plain 1.6k
I've just upgraded from Test-Harness 3.17 (bundled with perl-modules- 5.10 on Debian) which works fine with Acme-Compress, to 3.20 (libtest- harness-perl on Debian) which makes Acme-Compress test fail. When fails, Test-Harness reports that it can't find the Acme::Compree module: t/00-test.t .. Can't locate Acme/Compress.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at t/00-test.t line 1. BEGIN failed--compilation aborted at t/00-test.t line 1. This is why when Acme-Compress is already installed, it doesn't hang. The code of 00-test.t in Acme-Compress is very simple: use Acme::Compress; use Test::More tests => 1; use strict; ok(1 == 1); Which is then compressed by Acme::Compress and it seems to work fine: % perl -Mblib t/00-test.t 1..1 ok 1 I have also bisected Test-Harness and it seems that fd61f8056b4a334e802a8199be403153b2d237fc is the first bad commit commit fd61f8056b4a334e802a8199be403153b2d237fc Author: Steve Purkis <spurkis@caribou.local> Date: Mon Aug 31 14:18:10 2009 +0100 I tried to revert the commit but it failed, then I resetted to the commit before it and the Acme-Compress test worked, while resetting to the bad commit itself makes Acme-Compress test fail. I don't know very much Test::Harness, its code and how it works so I don't know if the problem with Acme-Compress is a real bug and how to patch it. I think I can't help further. Hope my work has been helpful. cheers


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.