Re: [Module-build-general] Module::Build 0.18_02 FAIL on Windows nmake
Status: Beta
Brought to you by:
kwilliams
|
From: <ajs...@ya...> - 2003-06-11 08:59:29
|
> I've committed this change to CVS. Can you access that? I've just
> written a bunch of tests in t/compat.t to exercise this stuff
> automatically, it would be great if you could run the tests and see
> what happens.
Just curious, I notice you are using, for example:
G:\Perl\bin\perl.exe .\Build realclean
Why not use:
G:\Perl\bin\perl.exe Build realclean
i.e. Under what circumstances will 'perl ./Build' work and
'perl Build' fail? The latter seems preferable to me because
some systems (unlike Unix and Windows) may have no understanding
that '.' means current working directory.
Anyway, I downloaded Base.pm/Compat.pm/basic.t/compat.t from CVS
and copied on top of M::B v0.18_02.
All tests then passed except test 21 of t/compat.t.
Detailed result of compat.t follow:
t/compat........1..23
ok 1
Checking whether your kit is complete...
Looks good
ok 2
G:\Perl\bin\perl.exe Makefile.PL
G:\Perl\bin\perl.exe Build.PL
Checking whether your kit is complete...
Looks good
Creating new 'Build' script for 'Sample' version '0.01'
ok 3
ok 4
nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
G:\Perl\bin\perl.exe .\Build
lib/Sample.pm -> blib\lib/Sample.pm
script -> blib\script\script
G:\Perl\bin\pl2bat.bat < blib\script\script > blib\script\script.bat
ok 5
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
ok 6
ok 7
nmake realclean
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
G:\Perl\bin\perl.exe .\Build realclean
Deleting blib
Deleting _build
Deleting Build
G:\Perl\bin\perl.exe -e unlink -e shift Makefile
ok 8
Deleting Makefile.PL
ok 9
G:\Perl\bin\perl.exe Makefile.PL
G:\Perl\bin\perl.exe Build.PL
Checking whether your kit is complete...
Looks good
Creating new 'Build' script for 'Sample' version '0.01'
ok 10
ok 11
nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
G:\Perl\bin\perl.exe .\Build
lib/Sample.pm -> blib\lib/Sample.pm
script -> blib\script\script
G:\Perl\bin\pl2bat.bat < blib\script\script > blib\script\script.bat
ok 12
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
ok 13
ok 14
nmake realclean
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
G:\Perl\bin\perl.exe .\Build realclean
Deleting blib
Deleting _build
Deleting Build
G:\Perl\bin\perl.exe -e unlink -e shift Makefile
ok 15
Deleting Makefile.PL
ok 16
G:\Perl\bin\perl.exe Makefile.PL
Checking if your kit is complete...
Looks good
Warning: Guessing NAME [Sample] from current directory name.
Writing Makefile for Sample
ok 17
ok 18
nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cp lib/Sample.pm blib\lib\Sample.pm
ok 19
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
# Test 21 got: 'NMAKE TEST
G:\PERL\BIN\PERL.EXE "-IBLIB\LIB" "-IBLIB\ARCH" TEST.PL
1..2
OK 1
$INC{'MODULE/BUILD.PM'}:
G:\TMP\MODULE-BUILD-0.18_02\BLIB\LIB/MODULE/BUILD.PM
OK 2
' (t/compat.t at line 40 fail #3)
# Expected: qr{(?-xism:DONE\.|SUCCESS)}
ok 20
not ok 21
nmake realclean
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
G:\Perl\bin\perl.exe -MExtUtils::Command -e rm_rf ./blib
Makefile.aperl blib\arch\auto\Sample/extralibs.all perlmain.c tmon.out
mon.out so_locations pm_to_blib *.obj *.lib perl.exe perl perl.exe
Sample.bso Sample.def libSample.def Sample.exp Sample.x core
core.*perl.*.? *perl.core core.[0-9] core.[0-9][0-9]
core.[0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9]
core.[0-9][0-9][0-9][0-9][0-9]
G:\Perl\bin\perl.exe -MExtUtils::Command -e mv Makefile Makefile.old >
NUL
G:\Perl\bin\perl.exe -MExtUtils::Command -e rm_f *.pdb
G:\Perl\bin\perl.exe -MExtUtils::Command -e rm_rf blib\lib\auto\Sample
blib\arch\auto\Sample
G:\Perl\bin\perl.exe -MExtUtils::Command -e rm_rf Sample-0.01
G:\Perl\bin\perl.exe -MExtUtils::Command -e rm_f Makefile.old
Makefile
ok 22
Deleting Makefile.PL
ok 23
FAILED test 21
Failed 1/23 tests, 95.65% okay
http://mobile.yahoo.com.au - Yahoo! Mobile
- Check & compose your email via SMS on your Telstra or Vodafone mobile.
|