Mark Hedges wrote:
How am I supposed to tell CPAN that the distribution
requires Apache::TestMM when Makefile.PL uses it before
`make` is even executed? So I can't use
ExtUtils::MakeMaker's PREREQ_FATAL flag because Makefile.PL
does not get that far.
http://search.cpan.org/src/MARKLE/Apache2-Controller-0.0002/Makefile.PL
Ugh, do I have to build in a second layer of tests myself?
I guess a regular test script could generate the
Apache::Test TEST script and run the sub-suite with
Test::Harness...
I've been getting cpan-testers results like this. What
should I do? Thanks... --m--
See sub test in:
http://search.cpan.org/src/PHRED/Apache-Dispatch-0.10/Makefile.PL
In short, you override the test target in the Makefile. I can't take
credit for that code as I stole most of it from Geoff's modules :)
I'm trying to abstract a bunch of this dirty work out in
Apache::Bootstrap, but that is primarily geared at dual life mp1/mp2
modules, so I don't know how this conditional test code will fit in.
On Thu, 3 Jul 2008, [EMAIL PROTECTED] wrote:
This distribution has been tested as part of the cpan-testers
effort to test as many new uploads to CPAN as possible. See
http://testers.cpan.org/
...
This is a computer-generated report for Apache2-Controller-0.0002
on perl 5.10.0, created by CPAN-Reporter-1.15.
------------------------------
TESTER COMMENTS
------------------------------
Additional comments from tester:
this report is from an automated smoke testing program
and was not reviewed by a human for accuracy
------------------------------
PROGRAM OUTPUT
------------------------------
Output from '/opt/perl/testers/5.10.0/bin/perl Makefile.PL':
Can't locate Apache/TestMM.pm in @INC (@INC contains: /home/imacat/lib/perl5
/opt/perl/testers/5.10.0/lib/5.10.0/x86_64-linux-thread-multi-ld
/opt/perl/testers/5.10.0/lib/5.10.0
/opt/perl/testers/5.10.0/lib/site_perl/5.10.0/x86_64-linux-thread-multi-ld
/opt/perl/testers/5.10.0/lib/site_perl/5.10.0 .) at Makefile.PL line 7.
BEGIN failed--compilation aborted at Makefile.PL line 7.
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
No requirements found
...
Perl module toolchain versions installed:
Module Have
------------------- ---------
CPAN 1.9205
Cwd 3.2701
ExtUtils::CBuilder 0.23
ExtUtils::Command 1.14
ExtUtils::Install 1.50
ExtUtils::MakeMaker 6.44
ExtUtils::Manifest 1.54
ExtUtils::ParseXS 2.19
File::Spec 3.2701
Module::Build 0.2808_01
Module::Signature 0.55
Test::Harness 3.12
Test::More 0.80
YAML 0.66
YAML::Syck n/a
version 0.7501
...
--
Red Hot Penguin Consulting LLC
mod_perl/PostgreSQL consulting and implementation
http://www.redhotpenguin.com/