On Fri, 20 Apr 2001, Graham Barr wrote:

> It should not matter if you have not built the XS. The .pm files contain
> pure perl fallbacks for that case, so they should still be tested.
> 
> Graham.

It does matter in that the .pm files have not been copied from the
ext/List directory into the lib/ directory and are unavailable for any
C<use;> at all.  `make test` will report these tests as failures
on VMS at this time, I am not sure about a Unix that has specifically
requested the List/Util be removed from the extensions variable in
config.sh...wait a moment OK if I explicitly remove List/Util from
dynamic_ext and extensions in my config.sh on Tru 64 Unix 4.0D I now
see during `make test`:

lib/timelocal.........ok
lib/trig..............ok
lib/u-blessed.........Can't locate Scalar/Util.pm in @INC (@INC contains:
../lib) at lib.
BEGIN failed--compilation aborted at lib/u-blessed.t line 6.
FAILED at test 0
lib/u-dualvar.........Can't locate Scalar/Util.pm in @INC (@INC contains:
../lib) at lib.
BEGIN failed--compilation aborted at lib/u-dualvar.t line 13.
FAILED at test 0
lib/u-first...........Can't locate List/Util.pm in @INC (@INC contains:
../lib) at lib/u.
BEGIN failed--compilation aborted at lib/u-first.t line 6.
FAILED at test 0
lib/u-max.............Can't locate List/Util.pm in @INC (@INC contains:
../lib) at lib/u.
BEGIN failed--compilation aborted at lib/u-max.t line 6.
FAILED at test 0
lib/u-maxstr..........Can't locate List/Util.pm in @INC (@INC contains:
../lib) at lib/u.
BEGIN failed--compilation aborted at lib/u-maxstr.t line 6.
FAILED at test 0
lib/u-min.............Can't locate List/Util.pm in @INC (@INC contains:
../lib) at lib/u.
BEGIN failed--compilation aborted at lib/u-min.t line 6.
FAILED at test 0
lib/u-minstr..........Can't locate List/Util.pm in @INC (@INC contains:
../lib) at lib/u.
BEGIN failed--compilation aborted at lib/u-minstr.t line 6.
FAILED at test 0
lib/u-readonly........Can't locate Scalar/Util.pm in @INC (@INC contains:
../lib) at lib.
BEGIN failed--compilation aborted at lib/u-readonly.t line 6.
FAILED at test 0
lib/u-reduce..........Can't locate List/Util.pm in @INC (@INC contains:
../lib) at lib/u.
BEGIN failed--compilation aborted at lib/u-reduce.t line 6.
FAILED at test 0
lib/u-reftype.........Can't locate Scalar/Util.pm in @INC (@INC contains:
../lib) at lib.
BEGIN failed--compilation aborted at lib/u-reftype.t line 6.
FAILED at test 0
lib/u-sum.............Can't locate List/Util.pm in @INC (@INC contains:
../lib) at lib/u.
BEGIN failed--compilation aborted at lib/u-sum.t line 6.
FAILED at test 0
lib/u-tainted.........Can't locate Scalar/Util.pm in @INC (@INC contains:
blib/lib blib/.
BEGIN failed--compilation aborted at lib/u-tainted.t line 9.
FAILED at test 0
lib/u-weak............Can't locate Scalar/Util.pm in @INC (@INC contains:
../lib) at lib.
BEGIN failed--compilation aborted at lib/u-weak.t line 22.
FAILED at test 0
lib/xs-typemap........ok

This was BTW on a machine that can run `make test` with the 9742 kit
without any error as well as with my proposed patch applied.

I am sorry if the patch introduces an incompatability between the core
version of List::Util and your separate package.  But it is not as if
other recently incorported modules' tests had to undergo the same
treatment.  For an example look at the head of lib/xs-typemap.t.

Peter Prymmer


Reply via email to