Skip Menu |

This queue is for tickets about the SUPER CPAN distribution.

Report information
The Basics
Id: 97939
Status: resolved
Priority: 0/
Queue: SUPER

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

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



Subject: Tests fail with Test::More dev series
I have Test::More 1.301001_026 installed: --> Working on SUPER Fetching http://mirrors.gossamer-threads.com/CPAN/authors/id/C/CH/CHROMATIC/SUPER-1.20120705.tar.gz -> OK Unpacking SUPER-1.20120705.tar.gz Entering SUPER-1.20120705 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 6.30 ... Yes (6.98) Checking if you have Module::Build 0.36 ... Yes (0.4206) Configuring SUPER-1.20120705 Running Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'SUPER' version '1.20120705' -> OK Checking dependencies from MYMETA.json ... Checking if you have Test::Simple 0.61 ... Yes (1.301001_026) Checking if you have Scalar::Util 1.20 ... Yes (1.39) Checking if you have Sub::Identify 0.03 ... Yes (0.04) Building and testing SUPER-1.20120705 Building SUPER # Failed test '... as does Test::Builder::Module' # at t/1.t line 49. # got: '' # expected: 'CODE(0x1008a4e98)' # Looks like you failed 1 test of 7. t/1.t ................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/7 subtests t/bugs.t ................ ok t/get_all_parents.t ..... ok t/follow_inheritance.t .. ok t/keep_going.t .......... ok t/deep_inheritance.t .... ok t/keep_going_manual.t ... ok Test Summary Report ------------------- t/1.t (Wstat: 256 Tests: 7 Failed: 1) Failed test: 7 Non-zero exit status: 1 Files=7, Tests=47, 2 wallclock secs ( 0.05 usr 0.04 sys + 2.27 cusr 0.16 csys = 2.52 CPU) Result: FAIL Failed 1/7 test programs. 1/47 subtests failed.
The problem is that Test::Builder::Module is no longer used by anything in the Test-Simple dist, as a result it is not loaded. Adding a 'require Test::Builder::Module' to 1.t fixes the issue.
On 2014-08-11 10:35:35, EXODIST wrote: Show quoted text
> The problem is that Test::Builder::Module is no longer used by > anything in the Test-Simple dist, as a result it is not loaded. Adding > a 'require Test::Builder::Module' to 1.t fixes the issue.
10:48 < Exodist> I think the Test::Builder::Module check should simply be dropped, it is redundant and depends on Test::Builder::Module not changing 12:32 <@ether> Exodist: yes I agree - the test should be testing a package that it creates itself, instead.
This was fixed in a previous version. I apologize for not closing this bug earlier. Thanks for reporting!