Skip Menu |

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

Report information
The Basics
Id: 13794
Status: resolved
Priority: 0/
Queue: Test-LectroTest

People
Owner: Nobody in particular
Requestors: tsee [...] gmx.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.3200
Fixed in: 0.3300



Subject: Can't list Test::LectroTest as dependency in Makefile.PL
I'm using Test::LectroTest version 0.3200 on 5.8.6 / linux 2.6.11. If I list Test::LectroTest as a dependency in my Makefile.PL, I get the following error message: --- Writing Makefile for Math::SymbolicX::Statistics::Distributions Can't call method "run_suite" on an undefined value at /usr/lib/perl5/site_perl/5.8.6/Test/LectroTest.pm line 175. END failed--call queue aborted. --- The Makefile.PL is pretty standard: --- use 5.006; use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. WriteMakefile( NAME => 'Math::SymbolicX::Statistics::Distributions', VERSION_FROM => 'lib/Math/SymbolicX/Statistics/Distributions.pm', PREREQ_PM => { 'Math::Symbolic' => '0.128', 'Math::SymbolicX::ParserExtensionFactory' => '0.01', # stupid module doing magic at compile time: #'Test::LectroTest' => '0', }, # e.g., Module::Name => 1.1 ($] >= 5.005 ? ## Add these new keywords supported since 5.005 (ABSTRACT_FROM => 'lib/Math/SymbolicX/Statistics/Distributions.pm', # retrieve abstract from module AUTHOR => 'Steffen Mueller <symbolic-module at steffen-mueller dot net>') : ()), ); --- The offending code is probably (from the module source): --- END { my $failed = Test::LectroTest::run(); $? = $failed > 254 ? 254 : $failed; } --- Thanks for the good work on that module. It's fun to write tests now! Best regards, Steffen Müller
From: Tom Moertel <tom [...] moertel.com>
[guest - Wed Jul 20 10:23:49 2005]: Steffen, thanks for the bug report. This problem has been fixed in the 0.3300 release available now from the LectroTest home and soon from CPAN. http://community.moertel.com/LectroTest Cheers, Tom
Fixed in 0.3300.