Skip Menu |

This queue is for tickets about the Tk-Splash CPAN distribution.

Report information
The Basics
Id: 71123
Status: resolved
Priority: 0/
Queue: Tk-Splash

People
Owner: Nobody in particular
Requestors: Kristofer.Wempa [...] sig.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.14
Fixed in: (no value)



Subject: Unit Test Failures when attempting to call Tk::getEncoding()
I'm attempting to build/install Tk::Splash on a 64-bit Windows 7 PC. I currently have the Tk module version 804.029 installed. When I run "nmake test" on Tk::Splash, I get the 3 test failures shown below. I'm not sure whether this is an issue with Tk::Splash or with Tk. However, I verified that Tk passed all unit tests and that the Tk.dll file is installed in the correct Perl folder. ========== TEST OUTPUT ========== C:\DEV\Perl-mods\Tk-Splash-0.14>nmake test Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. K:\Toolchains\Windows7\X64\sig1\perl-5.14.1\bin\perl.exe "- MExtUtils::Co mmand::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/00splash.t ...... ok t/01fastsplash.t .. 1/3 Can't locate object method "getEncoding" via package "Tk " at K:/Toolchains/Windows7/X64/sig1/perl-5.14.1/lib/DynaLoader.pm line 213. t/01fastsplash.t .. ok t/02fastsplash.t .. 1/3 Can't locate object method "getEncoding" via package "Tk " at K:/Toolchains/Windows7/X64/sig1/perl-5.14.1/lib/DynaLoader.pm line 213. t/02fastsplash.t .. ok t/03progress.t .... 1/3 Can't locate object method "getEncoding" via package "Tk " at K:/Toolchains/Windows7/X64/sig1/perl-5.14.1/lib/DynaLoader.pm line 213. Usage $widget->frame(...) Tk::FastSplash=HASH(0x54d048) is not a Tk object at C:\DEV\Perl-mods\Tk- Splash-0 .14\blib\lib/Tk/ProgressSplash.pm line 50. BEGIN failed--compilation aborted at t/03progress.t line 39. t/03progress.t .... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/3 subtests Test Summary Report ------------------- t/03progress.t (Wstat: 512 Tests: 1 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 3 tests but ran 1. Files=4, Tests=10, 7 wallclock secs ( 0.12 usr + 0.25 sys = 0.37 CPU) Result: FAIL Failed 1/4 test programs. 0/10 subtests failed.
On 2011-09-21 13:46:32, kowrip wrote: Show quoted text
> I'm attempting to build/install Tk::Splash on a 64-bit Windows 7 PC. I > currently have the Tk module version 804.029 installed. When I run > "nmake test" on Tk::Splash, I get the 3 test failures shown below. I'm > not sure whether this is an issue with Tk::Splash or with Tk. However, > I verified that Tk passed all unit tests and that the Tk.dll file is > installed in the correct Perl folder. > > > ========== TEST OUTPUT ========== > > C:\DEV\Perl-mods\Tk-Splash-0.14>nmake test > > Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 > Copyright (C) Microsoft Corporation. All rights reserved. > > K:\Toolchains\Windows7\X64\sig1\perl-5.14.1\bin\perl.exe "- > MExtUtils::Co > mmand::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t > t/00splash.t ...... ok > t/01fastsplash.t .. 1/3 Can't locate object method "getEncoding" via > package "Tk > " at K:/Toolchains/Windows7/X64/sig1/perl-5.14.1/lib/DynaLoader.pm line > 213. > t/01fastsplash.t .. ok > t/02fastsplash.t .. 1/3 Can't locate object method "getEncoding" via > package "Tk > " at K:/Toolchains/Windows7/X64/sig1/perl-5.14.1/lib/DynaLoader.pm line > 213. > t/02fastsplash.t .. ok > t/03progress.t .... 1/3 Can't locate object method "getEncoding" via > package "Tk > " at K:/Toolchains/Windows7/X64/sig1/perl-5.14.1/lib/DynaLoader.pm line > 213. > Usage $widget->frame(...) > Tk::FastSplash=HASH(0x54d048) is not a Tk object at C:\DEV\Perl-mods\Tk- > Splash-0 > .14\blib\lib/Tk/ProgressSplash.pm line 50. > BEGIN failed--compilation aborted at t/03progress.t line 39. > t/03progress.t .... Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/3 subtests > > Test Summary Report > ------------------- > t/03progress.t (Wstat: 512 Tests: 1 Failed: 0) > Non-zero exit status: 2 > Parse errors: Bad plan. You planned 3 tests but ran 1. > Files=4, Tests=10, 7 wallclock secs ( 0.12 usr + 0.25 sys = 0.37 CPU) > Result: FAIL > Failed 1/4 test programs. 0/10 subtests failed.
I released Tk-Splash-0.16 which effectively disabled all the problematic Tk-FastSplash tests.