On Mon, Jun 10, 2002 at 09:39:49AM -0500, Randy Kobes wrote: > On Mon, 10 Jun 2002, Automated Perl Test Account wrote: > > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" > > "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > > t/*....t/*.t does not exist FAILED--1 test script could be > > run, alas--no output ever seen > > make: *** [test_dynamic] Error 2 > I'm curious how the automated test script got to this point -
I'm curious too. That part should work correctly in 0.035, and
even in CPANPLUS 0.034.
> manually, 'perl Makefile.PL' dies with an error that the string
> "@CPAN" must now be written as "\@CPAN". Does cpanplus generate a
> Makefile on its own if 'perl Makefile.PL' fails? If so, might it
> be better, if 'perl Makefile.PL' fails, to not proceed with
> automated testing until the reason for the failure is found?
This is exactly the default behaviour; for example, the 0.03 version
has a syntax error in its Makefile.PL, which causes:
Testing: /L/LG/LGODDARD/Image-Thumbnail-0.03.tar.gz
Bareword "Test::Harness" not allowed while "strict subs" in use at Makefile.PL line 33.
Execution of Makefile.PL aborted due to compilation errors.
BUILDING MAKEFILE failed! - Resource temporarily unavailable in
CPANPLUS::Internals::Make::_make at Wed Jun 12 04:32:31 2002 at
/usr/local/lib/perl5/site_perl/5.8.0/CPANPLUS/Internals/Make.pm line 121
Report Image-Thumbnail-0.03's testing result (FAIL)? [y/N]:
and this is indeed the correct response. I'll need more information
to hunt down this anomaly.
(note to Lee: you may wish to try the patch below, which fixes the
quoting issues reported above.)
Thanks,
/Autrijus/
--- Makefile.old Wed Jun 12 04:36:01 2002
+++ Makefile.PL Wed Jun 12 04:35:42 2002
@@ -33,7 +33,7 @@
WriteMakefile(
'NAME' => 'Image::Thumbnail',
'VERSION_FROM' => 'Thumbnail.pm', # finds $VERSION
- 'PREREQ_PM' => {Test::Harness=>0.1,$ok=>0.1}, # e.g.,
Module::Name => 1.1
+ 'PREREQ_PM' => {'Test::Harness'=>0.1,$ok=>0.1}, # e.g.,
+Module::Name => 1.1
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT_FROM => 'Thumbnail.pm', # retrieve abstract from module
AUTHOR => 'Lee Goddard <[EMAIL PROTECTED]>') : ()),
msg37368/pgp00000.pgp
Description: PGP signature
