Craig A. Berry wrote:
With the attached changes to DistGen, we can actually run all the tests,
and with the changes to Module::Build::Base, we get one step closer to
doing some basic things like running Perl one-liners. After this and the
CBuilder patch just posted, I get the following Module::Build results:
Failed 9/20 test scripts, 55.00% okay. 139/603 subtests failed, 76.95%
okay.
which is a lot better than the 17/20 before the patch. Obviously there
is quite a bit more to do, though.
lib/Module/Build/t/destinations........FAILED--expected 92 tests, saw 34
ok 34
Can't locate object method "eliminate_macros" via package
"Module::Build" at
/PROJECT_ROOT/PERL-BLEAD/LIB/Module/Build/Platform/VMS.pm line 85.
# Looks like you planned 92 tests but only ran 34.
%SYSTEM-F-ABORT, abort
lib/Module/Build/t/extend..............FAILED at test 7
not ok 7
# Failed test in [-.lib.module.build.t]extend.t at line 55.
ok 8
not ok 9
# Failed test in [-.lib.module.build.t]extend.t at line 61.
# got: '0'
# expected: '2'
not ok 10
# Failed test in [-.lib.module.build.t]extend.t at line 62.
# got: undef
# expected: 'foo'
not ok 11
# Failed test in [-.lib.module.build.t]extend.t at line 63.
# got: undef
# expected: 'bar'
lib/Module/Build/t/install.............FAILED at test 5
Same as before, very noisy with warnings, fails 5 tests of 26 run.
lib/Module/Build/t/manifypods..........FAILED at test 6
not ok 12 - Created
PROJECT_ROOT:[PERL-BLEAD.t.install_test.man.man1]Simple__AllPod.rno manpage
# Failed test 'Created
PROJECT_ROOT:[PERL-BLEAD.t.install_test.man.man1]Simple__AllPod.rno manpage'
# in [-.lib.module.build.t]manifypods.t at line 127.
Interesting use of the .rno file type. Is this able to be processes
with the OpenVMS built in Runoff utility? I wonder how hard it would be
to make .rnh files? .Rnh files are runoff files that can be processed
into OpenVMS help files.
# Looks like you failed 6 tests of 21.
%SYSTEM-F-ABORT, abort
lib/Module/Build/t/metadata............FAILED at test 9
New information, metadata.t appears to be failing tests because it is
expecting a case preserving file system.
However when I put the C library in case preserving mode, the test fails
immediately with:
EAGLE> mcr [-]ndbgperl "-I[-.LIB]" [-.lib.module.build.t]metadata.t
1..46
Checking whether your kit is complete...
WARNING: the following files are missing in your kit:
build.pl
lib/simple.pm
MANIFEST
t/basic.t
Please inform the author.
panic: bad free at /PROJECT_ROOT/PERL-BLEAD/LIB/Module/Build/Base.pm
line 92.
# No tests run!
Scalars leaked: 2
%SYSTEM-F-ABORT, abort
lib/Module/Build/t/ppm.................FAILED--expected 12 tests, saw 1
EAGLE> mcr [-]ndbgperl "-I[-.LIB]" [-.lib.module.build.t]ppm.t
Can't locate auto/Compress/Raw/Zlib/autosplit.ix in @INC (@INC contains:
PROJECT_ROOT:[PERL-BLEAD.lib.Module.Build.t.lib]
PROJECT_ROOT:[PERL-BLEAD.LIB] PROJECT_ROOT:[PERL-BLEAD.lib]
perl_root:[lib.VMS_AXP.5_9_4] perl_root:[lib]
perl_root:[lib.site_perl.VMS_AXP] perl_root:[lib.site_perl]
perl_root:[lib]site_perl PROJECT_ROOT:[PERL-BLEAD.T] .
[.lib.Module.Build.t.bundled]) at
/PROJECT_ROOT/PERL-BLEAD/LIB/AutoLoader.pm line 160.
at /PROJECT_ROOT/PERL-BLEAD/LIB/Compress/Raw/Zlib.pm line 6
1..12
Warning: Removing existing directory
'PROJECT_ROOT:[PERL-BLEAD.t._tmp.Simple]'
ok 1
Global symbol "$args" requires explicit package name at
/PROJECT_ROOT/PERL-BLEAD/LIB/ExtUtils/CBuilder/Platform/VMS.pm line 24.
Compilation failed in require at (eval 49) line 2.
BEGIN failed--compilation aborted at (eval 49) line 2.
Compilation failed in require at
/PROJECT_ROOT/PERL-BLEAD/LIB/Module/Build/Base.pm line 3522.
# Looks like you planned 12 tests but only ran 1.
%SYSTEM-F-ABORT, abort
lib/Module/Build/t/runthrough..........FAILED at test 13
not ok 13
# Failed test in [-.lib.module.build.t]runthrough.t at line 107.
# vvvvvvvvvvvvvvvvvvvvv Simple/test.pl output vvvvvvvvvvvvvvvvvvvvv
# [.lib]simple.pm -> [.blib.lib]simple.pm
# script -> [.blib.script]script
# test....1..2
# # Running under perl version 5.009004 for VMS
# # Current time local: Mon Mar 13 00:21:43 2006
# # Current time GMT: Mon Mar 13 05:21:43 2006
# # Using Test.pm version 1.25
# ok 1
# ok 2 # skip no blib in core
# # Cwd: PROJECT_ROOT:[PERL-BLEAD.t._tmp.Simple]
# # @INC: (/PROJECT_ROOT/PERL-BLEAD/t/_tmp/Simple/blib/lib
/PROJECT_ROOT/PERL-BLEAD/t/_tmp/Simple/blib/arch
/PROJECT_ROOT/PERL-BLEAD/lib/Module/Build/t/lib
/PROJECT_ROOT/PERL-BLEAD/LIB /PROJECT_ROOT/PERL-BLEAD/lib /P
ROJECT_ROOT/PERL-BLEAD/T [.lib.Module.Build.t. /bundled
perl_root:[lib.VMS_AXP.5_9_4] perl_root:[lib]
perl_root:[lib.site_perl.VMS_AXP] perl_root:[lib.site_perl]
/perl_root/lib/site_perl .)
# Done.
# ok
# 1/2 skipped: no blib in core
# All tests successful, 1 subtest skipped.
# Files=1, Tests=2, 4 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)
# ^^^^^^^^^^^^^^^^^^^^^ Simple/test.pl output ^^^^^^^^^^^^^^^^^^^^^
not ok 22
# Failed test in [-.lib.module.build.t]runthrough.t at line 163.
Use of uninitialized value $fh in <HANDLE> at
[-.lib.module.build.t]runthrough.t line 166.
readline() on unopened filehandle at [-.lib.module.build.t]runthrough.t
line 166.
lib/Module/Build/t/tilde...............FAILED at test 1
Ok, what do you want VMS to do with the "~" character in a file
specification?
Right now it either ignores it, or treats it as SYS$LOGIN: as a somewhat
undocumented optional UNIX compatibility feature.
lib/Module/Build/t/xs..................FAILED at test 2
not ok 2
# Failed test in [-.lib.module.build.t]xs.t at line 39.
# got: 'Global symbol "$args" requires explicit package name at
/PROJECT_ROOT/PERL-BLEAD/LIB/ExtUtils/CBuilder/Platform/VMS.pm line 24.
Things go downhill for me from there.
-John
[EMAIL PROTECTED]
Personal Opinion Only