Jos I. Boumans wrote:
On Sep 3, 2007, at 12:23 AM, John E. Malmberg wrote:

While there are still some CPANPLUS tests that are not working on VMS, these patches improve things.


I'll review these patches shortly, thanks for sending them john.

With the patch that I just submitted, I am now down to 3 issues for CPANPLUS in blead on VMS.

00_CPANPLUS-Internals-Utils.t

not ok 4 -    Cwd() is 'foo'
#   Failed test '   Cwd() is 'foo''
#   at [-.lib.cpanplus.t]00_cpanplus-internals-utils.t line 37.
#          got: 'PROJECT_ROOT:[PERL-BLEAD.lib.CPANPLUS.t.FOO]'
#     expected: 'PROJECT_ROOT:[PERL-BLEAD.LIB.CPANPLUS.T.foo]'

This test needs to follow File::Spec->case_tolerant, and I have not yet figured out the best way to do that.


08_CPANPLUS-Backend.t

not ok 230 - Found list of installed modules
#   Failed test 'Found list of installed modules'
#   at [-.lib.cpanplus.t]08_cpanplus-backend.t line 213.

I am not sure what this test is looking for, so I do not know if it is failing to find an existing file, or if some files did not get created.

It did expose a VMS 8.3 C library bug that I will be testing a workaround for, but that does not seem related to the CPANPLUS test failure.

stat() is failing for '/project_root/perl-blead/t', '/project_root/perl-blead/t.dir' '/project_root/perl-blead/t/', and 'project_root:[perl-blead.t]' with a no such file. It is working for 'project_root:[perl-blead]t.dir'. lstat() is working correctly on all of the above pathnames. creating a 'project_root:[perl-blead.a.b]' and then trying the same variants on it all worked for stat(), and I have not been able to figure out what is different about t.dir.

Finally, each test run for CPANPLUS is appending a path on to $ENV{PATH} AND $ENV{PERL5LIB}. As near as I can tell, it intends to clean these up, but that is not working on VMS. I have not figured out why yet. It does not take too many runs, and the PERL5LIB path gets so long that VMS arbitrarily breaks it into two elements, neither of which is a valid path on VMS.

So far it also appears that neither of these are used for the CPANPLUS tests on VMS. Normally VMS does not use $ENV{PATH}, except with the GNV subsystem.

Regards,
-John
[EMAIL PROTECTED]
Personal Opinion Only

Reply via email to