Skip Menu |

This queue is for tickets about the Module-FromPerlVer CPAN distribution.

Report information
The Basics
Id: 124771
Status: resolved
Priority: 0/
Queue: Module-FromPerlVer

People
Owner: Nobody in particular
Requestors: tk [...] giga.or.at
Cc:
AdminCc:

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



Subject: Module-FromPerlVer-0.00500 fails self tests
Date: Wed, 14 Mar 2018 08:47:16 +0100
To: bug-Module-FromPerlVer [...] rt.cpan.org
From: Thomas Klausner <tk [...] giga.or.at>
With perl-5.26.1 on NetBSD, I see: Setup: 't/bin/make-version-dir't/bin/make-version-dir fails: No such file or directorySetup: 't/bin/make-sandbox-dir't/bin/make-sandbox-dir fails: No such file or directorySetup: 't/bin/make-tests't/bin/make-tests fails: No such file or directoryChecking if your kit is complete... Warning: the following files are missing in your kit: t/bin/make-sandbox Please inform the author. and later: t/01-default-args.t .......... 1/? # Require succeeds: VERSION = 0.001000 # Failed test 'Failed import: Bogus version_prefix: Non-existant: 'version' (/scratch/devel/p5-Module-FromPerlVer/work/Module-FromPerlVer-0.005000/t) at /scratch/devel/p5-Module-FromPerlVer/work/Module-FromPerlVer-0.005000/blib/lib/Module/FromPerlVer/Dir.pm line 42. # ' # at t/01-default-args.t line 28. Can't locate object method "source_prefix" via package "Module::FromPerlVer" at t/01-default-args.t line 50. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 2 just after 9. t/01-default-args.t .......... Dubious, test returned 2 (wstat 512, 0x200) Failed 1/9 subtests t/10-dir-defaults-no_copy.t .. 1/? # Failed test 'use Module::FromPerlVer;' # at t/10-dir-defaults-no_copy.t line 8. # Tried to use 'Module::FromPerlVer'. # Error: Bogus version_prefix: Non-existant: 'version' (/scratch/devel/p5-Module-FromPerlVer/work/Module-FromPerlVer-0.005000/t) at /scratch/devel/p5-Module-FromPerlVer/work/Module-FromPerlVer-0.005000/blib/lib/Module/FromPerlVer/Dir.pm line 42. # BEGIN failed--compilation aborted at t/10-dir-defaults-no_copy.t line 8. Bailout called. Further testing stopped: Module::FromPerlVer is not usable. FAILED--Further testing stopped: Module::FromPerlVer is not usable. *** Error code 255 Thomas
Tests were moved to ./t/dynamic, at which point ./version no longer existed. Fix was adding a search up $Bin for the version dir. Fixed in 0.5.1.
CC: lembark [...] wrkhors.com
Subject: Re: [rt.cpan.org #124771] Module-FromPerlVer-0.00500 fails self tests
Date: Wed, 14 Mar 2018 14:37:53 -0500
To: bug-Module-FromPerlVer [...] rt.cpan.org
From: Steven Lembark <lembark [...] wrkhors.com>
On Wed, 14 Mar 2018 03:55:51 -0400 "Thomas Klausner via RT" <bug-Module-FromPerlVer@rt.cpan.org> wrote: Show quoted text
> Wed Mar 14 03:55:50 2018: Request 124771 was acted upon. > Transaction: Ticket created by wiz > Queue: Module-FromPerlVer > Subject: Module-FromPerlVer-0.00500 fails self tests > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: tk@giga.or.at > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=124771 > >
Test bug. The original tests wre in ./t, moved down to ./t/dynamic. The module now search up $Bin for the version directory automatically. -- Steven Lembark 1505 National Ave Workhorse Computing Rockford, IL 61103 lembark@wrkhors.com +1 888 359 3508