develooper Front page | perl.perl5.porters | Postings from October 2013

Test-Harness and TAP-Harness in perl5 distribution (was: Build failedin Jenkins: perl5-threaded #2920)

Thread Previous | Thread Next
From:
James E Keenan
Date:
October 12, 2013 13:19
Subject:
Test-Harness and TAP-Harness in perl5 distribution (was: Build failedin Jenkins: perl5-threaded #2920)
Message ID:
20131012131859.27238.qmail@lists-nntp.develooper.com
On 10/12/13 1:24 AM, Karl Williamson wrote:
> On 10/11/2013 05:52 PM, dennis+p5p-jenkins@kaarsemaker.net wrote:
>> Test Summary Report
>> -------------------
>> porting/podcheck.t (Wstat: 0 Tests: 1400 Failed: 2)
>> Failed tests: 842, 1400
>
> This is fixed for now via a temporary patch:
>
> commit b68084b8883aecdacceb57c6c6566503ba6a0fdd
> Author: Karl Williamson <public@khwilliamson.com>
> Date: Fri Oct 11 22:54:36 2013 -0600
>
> podcheck.t: Make blead pass again
>
> Blead is failing sometimes on podcheck.t. I don't fully understand the
> reasons, but it is some sort of race condition.
>
> The base problem that is causing this race to show up is a bug in the
> new version 3.29 of Test::Harness. It includes 2 pods that have the
> same name.

Karl,

Examining your patch, I have to wonder whether the problem is in the 
Test-Harness distribution or in the perl5 distribution.

+ canonicalize("cpan/Test-Harness/lib/TAP/Harness/Beyond.pod") => 1, 
#XXX temporary to get ble
+ canonicalize("lib/TAP/Harness/Beyond.pod") => 1, #XXX temporary to get 
blead passing

We (i.e., the perl5 distribution) include what are, in effect, two 
subsets of the Test-Harness distribution from CPAN.  Under 
cpan/Test-Harness we have 66 files with basenames ending in .pod or .pm. 
  Under lib/TAP we have 44 files with basenames ending in .pod or .pm.

Why do we have two separate trees with parts of the Test-Harness 
distribution in our distribution?

'Beyond.pod' occurs in each of those trees:

$ find . -type f -iname 'Beyond.pod'
./cpan/Test-Harness/lib/TAP/Harness/Beyond.pod
./lib/TAP/Harness/Beyond.pod

... but occurs only once in the MANIFEST:

$ grep -in 'Beyond.pod' MANIFEST
2199:cpan/Test-Harness/lib/TAP/Harness/Beyond.pod

Why is that?

Thank you very much.
Jim Keenan

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About