Subject: | Test failure with Tk::Wizard |
I get a couple of test failures with Tk::Widget:
$ make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harne
ss(0, 'blib/lib', 'blib/arch')" t/*.t
t/bad_arg......ok 3/4addPage requires one or more CODE references as arguments at (eval 7) line 1
t/bad_arg......ok
t/Installer....ok 1/10Bad installation! Missing default image /usr/local/lib/perl5/site_perl/5.8.0/i686-linux/Tk/Wizard/images/wizard_blue.gif at /usr/local/dist/cpan/build/Tk-Wizard-Bases-1.06/blib/lib/Tk/Wizard.pm line 258.
t/Installer....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 2-10
Failed 9/10 tests, 10.00% okay
t/pb...........ok 3/58133ef8 is not a hash at /usr/local/lib/perl5/site_perl/5.8
.0/i686-linux/Tk.pm line 347.
t/pb...........dubious
Test returned status 0 (wstat 134, 0x86)
test program seems to have generated a core
DIED. FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
t/Win32........skipped
all skipped: no reason given
t/Wizard.......ok 1/9Bad installation! Missing default image /usr/local/lib/perl5/site_perl/5.8.0/i686-linux/Tk/Wizard/images/wizard_blue.gif at /usr/local/dist/cpan/build/Tk-Wizard-Bases-1.06/blib/lib/Tk/Wizard.pm line 258.
t/Wizard.......dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 2-9
Failed 8/9 tests, 11.11% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/Installer.t 2 512 10 18 180.00% 2-10
t/Wizard.t 2 512 9 16 177.78% 2-9
t/pb.t 0 134 5 4 80.00% 4-5
1 test skipped.
Failed 3/5 test scripts, 40.00% okay. 19/28 subtests failed, 32.14% okay.
make: *** [test_dynamic] Error 2
Exit 2
Note: Tk::Wizard is not yet installed on my system, hence some of the failures.
The "missing default image" could surely be circumvented by using something like Tk->findINC(...) or even $mw->Getimage(...) to get the image (both
would look in all Tk subdirectories in the current @INC).