Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 89849
Status: resolved
Priority: 0/
Queue: Test-File

People
Owner: Nobody in particular
Requestors: ether [...] cpan.org
genehack [...] genehack.org
jkeenan [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.36



Subject: tests fail with 5.19.5
Date: Tue, 29 Oct 2013 09:53:29 -0700
To: bug-Test-File [...] rt.cpan.org
From: John SJ Anderson <genehack [...] genehack.org>
% make test 9:51:29 PERL_DL_NONLAZY=1 /opt/plenv/versions/5.19.5/bin/perl5.19.5 "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/ar ch')" t/*.t t/dm_skeleton.t ............... 1/19 # MSWin32 t/dm_skeleton.t ............... ok t/file_contains.t ............. ok t/file_sizes.t ................ ok t/line_counters.t ............. 1/30 # Failed test at t/line_counters.t line 187. # STDERR is: # # Expected a line count between [3] and [4] in [min_file], but got [2] lines! # # Failed test 'min_file line count is between [3] and [4] lines' # # at t/line_counters.t line 186. # # not: # # Expected a line count between [3] and [4] in [min_file], but got [2] lines! # # Failed test 'min_file line count is between [3] and [4] lines' # # at t/line_counters.t line 185. # # as expected t/line_counters.t ............. Failed 1/30 subtests t/link_counts.t ............... ok t/links.t ..................... ok t/load.t ...................... ok t/normalize.t ................. ok t/obviously_non_multi_user.t .. ok t/owner.t ..................... ok t/pod.t ....................... skipped: Test::Pod 1.00 required for testing POD t/pod_coverage.t .............. skipped: Test::Pod::Coverage required for testing POD t/prereq.t .................... skipped: Test::Prereq required to test dependencies t/test_dirs.t ................. ok t/test_files.t ................ ok t/win32.t ..................... ok Test Summary Report ------------------- t/line_counters.t (Wstat: 0 Tests: 30 Failed: 1) Failed test: 30 Files=16, Tests=228, 1 wallclock secs ( 0.14 usr 0.03 sys + 0.44 cusr 0.02 csys = 0.63 CPU) Result: FAIL Failed 1/16 test programs. 1/228 subtests failed. make: *** [test_dynamic] Error 255
I have encountered this as well. It blocks installation of App::GitGot, which is quite a bummer as it has just been featured in the perl advent calendar, so I expect others will be hitting this now too.
On Thu Dec 19 19:04:44 2013, ETHER wrote: Show quoted text
> I have encountered this as well. It blocks installation of > App::GitGot, which is quite a bummer as it has just been featured in > the perl advent calendar, so I expect others will be hitting this now > too.
This module tests just fine on stable versions of Perl and I don't typically chase down bugs from experimental versions. If you'd like to use 5.19 for things and think this is a problem, you'll need to diagnose the problem. You can still use App::GitGot with a stable perl. :)
Subject: Re: [rt.cpan.org #89849] tests fail with 5.19.5
Date: Sat, 21 Dec 2013 09:26:54 -0800
To: brian d foy via RT <bug-Test-File [...] rt.cpan.org>
From: Karen Etheridge <ether [...] cpan.org>
On Sat, Dec 21, 2013 at 09:53:44AM -0500, brian d foy via RT wrote: Show quoted text
> This module tests just fine on stable versions of Perl and I don't typically chase down bugs from experimental versions. If you'd like to use 5.19 for things and think this is a problem, you'll need to diagnose the problem.
I find this stance troubling. Do you have any reason to believe the error is a transient issue that will go away with the next dev release? The entire point of having dev releases is so we can find issues early -- and if the problem is in core itself, we have a chance to fix it before it becomes entrenched in a stable release.
This is caused by a core bug fix. Fix sent as pull request: https://github.com/briandfoy/test-file/pull/7
On 2013-12-21 12:38:08, haarg wrote: Show quoted text
> This is caused by a core bug fix. Fix sent as pull request: > https://github.com/briandfoy/test-file/pull/7
And indeed this problem was even identified with this dist specifically: https://rt.perl.org/Ticket/Display.html?id=119593
ether, I didn't read bdfoy's repsonse as meaning we weren't interested in fixing the problem. Perhaps he merely thought (as I did) that we weren't likely to be blocking _too_ many people from installing App::GitGot after seeing it on the Perl Advent calendar, since not that many folks would be trying to install it on Perl 5.19. :-) But here haarg has provided us with a fix, which I've merged and released as a dev version: 1.35_01, which should be hitting your local CPAN mirror as I type. If CPAN Testers looks good, I'll promote to full next week. Thanks Graham!