Subject: | Win32::GuiTest install tests fail some calculator items with "Digit Grouping" active |
Date: | Mon, 28 Mar 2011 09:14:39 -0400 |
To: | <bug-Win32-GuiTest [...] rt.cpan.org> |
From: | "David Hoke" <dhoke [...] east-shore.com> |
Windows XP SP2, strawberry perl bundled with Padre install 0.41
Start calculator, calculator in scientific view, on the "view" menu be sure the "Digit Grouping" item is checked.
Close calculator application.
From an open cmd prompt, execute <installedroot>\strawberry\perl\bin\cpan.bat
from the cpan prompt, execute "install Win32::GuiTest"
The install attempt fails for me. If calculator does not have "Digit Grouping" selected, the tests pass and the install succeeds.
Following is the output from a failed run:
***************************************************************************************
Show quoted text
cpan> install Win32::GuiTest
Running install for module 'Win32::GuiTest'
Running make for K/KA/KARASIK/Win32-GuiTest-1.58.tar.gz
Checksum for C:\strawberry\cpan\sources\authors\id\K\KA\KARASIK\Win32-GuiTest-1
58.tar.gz ok
Scanning cache C:\strawberry\cpan\build for sizes
............................................................................DON
CPAN.pm: Going to build K/KA/KARASIK/Win32-GuiTest-1.58.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::GuiTest
cp lib/Win32/GuiTest/GuiTest.pc blib\lib\Win32\GuiTest\GuiTest.pc
cp lib/Win32/GuiTest/Examples.pm blib\lib\Win32\GuiTest\Examples.pm
cp lib/Win32/GuiTest.pm blib\lib\Win32\GuiTest.pm
cp lib/Win32/GuiTest/Cmd.pm blib\lib\Win32\GuiTest\Cmd.pm
C:\strawberry\perl\bin\perl.exe -IC:\strawberry\perl\lib -IC:\strawberry\perl\l
b C:\strawberry\perl\lib\ExtUtils\xsubpp -typemap C:\strawberry\perl\lib\ExtUt
ls\typemap -typemap perlobject.map -typemap typemap GuiTest.xs >xstmp.c && C:\s
rawberry\perl\bin\perl.exe -MExtUtils::Command -e "mv" -- xstmp.c GuiTest.cpp
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL
IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"1
58\" -DXS_VERSION=\"1.58\" "-IC:\strawberry\perl\lib\CORE" GuiTest.cpp
GuiTest.xs: In function `void XS_Win32__GuiTest_SelComboString(PerlInterpreter*
CV*)':
GuiTest.xs:1467: warning: converting of negative value `-0x000000001' to `DWORD
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL
IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"1
58\" -DXS_VERSION=\"1.58\" "-IC:\strawberry\perl\lib\CORE" DibSect.cpp
Running Mkbootstrap for Win32::GuiTest ()
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 GuiTest.b
C:\strawberry\perl\bin\perl.exe -MExtUtils::Mksymlists \
-e "Mksymlists('NAME'=>\"Win32::GuiTest\", 'DLBASE' => 'GuiTest', 'DL_FUNC
' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
dlltool --def GuiTest.def --output-exp dll.exp
g++ -o blib\arch\auto\Win32\GuiTest\GuiTest.dll -Wl,--base-file -Wl,dll.base -m
ll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" GuiTest.o DibSect
o -Wl,--image-base,0x22060000 C:\strawberry\perl\lib\CORE\libperl510.a -lmsvcr
-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshel
32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc
2 -lodbccp32 dll.exp
dlltool --def GuiTest.def --base-file dll.base --output-exp dll.exp
g++ -o blib\arch\auto\Win32\GuiTest\GuiTest.dll -mdll -s -L"C:\strawberry\perl\
ib\CORE" -L"C:\strawberry\c\lib" GuiTest.o DibSect.o -Wl,--image-base,0x2206000
C:\strawberry\perl\lib\CORE\libperl510.a -lmsvcrt -lmoldname -lkernel32 -luse
32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lneta
i32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 dll.exp
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 755 blib\arch
auto\Win32\GuiTest\GuiTest.dll
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "cp" -- GuiTest.bs blib\
rch\auto\Win32\GuiTest\GuiTest.bs
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 blib\arch
auto\Win32\GuiTest\GuiTest.bs
KARASIK/Win32-GuiTest-1.58.tar.gz
C:\strawberry\c\bin\dmake.EXE -- OK
Running make test
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib\lib', 'blib\arch')" t/*.t
t/01_basic.t ......... ok
t/02_calc.t .......... 2/?
# Failed test '1969 found'
# at t/02_calc.t line 59.
t/02_calc.t .......... 14/?
t/02_calc.t .......... 15/? # Failed test '1969 found'
# at t/02_calc.t line 111.
t/02_calc.t .......... 17/?
# Failed test '1969 in oct found'
t/02_calc.t .......... 19/? # at t/02_calc.t line 119.
# got: '3 661 '
# expected: '3661 '
# Failed test '1969 in bin found'
t/02_calc.t .......... 21/? # at t/02_calc.t line 123.
# got: '111 1011 0001 '
# expected: '11110110001 '
# Looks like you failed 4 tests of 24.
t/02_calc.t .......... Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/24 subtests
t/03_cpl.t ........... ok
t/04_std.t ........... ok
t/05_which.t ......... ok
t/06_sendkeys.t ...... ok
t/98_pod.t ........... ok
t/99_pod_coverage.t .. ok
Test Summary Report
-------------------
t/02_calc.t (Wstat: 1024 Tests: 24 Failed: 4)
Failed tests: 4, 15, 19, 21
Non-zero exit status: 4
Files=8, Tests=102, 20 wallclock secs ( 0.17 usr + 0.11 sys = 0.28 CPU)
Result: FAIL
Failed 1/8 test programs. 4/102 subtests failed.
dmake.EXE: Error code 255, while making 'test_dynamic'
KARASIK/Win32-GuiTest-1.58.tar.gz
C:\strawberry\c\bin\dmake.EXE test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports KARASIK/Win32-GuiTest-1.58.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
KARASIK/Win32-GuiTest-1.58.tar.gz : make_test NO
*********************************************************************************