Skip Menu |

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

Report information
The Basics
Id: 5781
Status: resolved
Worked: 2 hours (120 min)
Priority: 0/
Queue: Tk-Wizard-Bases

People
Owner: LGODDARD [...] cpan.org
Requestors: slaven [...] rezic.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.06
Fixed in: (no value)



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).
[SREZIC - Wed Mar 24 06:05:24 2004]: Show quoted text
> 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.
Moreover, after installing the image is still not at the expected location. Regards, Slaven
Show quoted text
> Moreover, after installing the image is still not at the expected > location.
I only had Win32 available to test on at the time: I now have Debian, BSD, RedHat, and Solaris to test on, so I hope to fix this soon. Thanks Lee
[LGODDARD - Wed Nov 17 13:55:31 2004]: Show quoted text
>
> > Moreover, after installing the image is still not at the expected > > location.
> > I only had Win32 available to test on at the time: I now have Debian, > BSD, RedHat, and Solaris to test on, so I hope to fix this soon. >
With the latest Tk-Wizard-Bases-1.07.tar.gz distribution thinks look better on Linux: Running make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/bad_arg......ok 1/4Can't find -imagepath, defaulting (./Wizard/images/wizard_blue.gif). at /usr/local/dist/cpan/build/Tk-Wizard-Bases-1.07/blib/lib/Tk/Wizard.pm line 263. Can't find -topimagepath, defaulting (./Wizard/images/wizard_blue_top.gif). at /usr/local/dist/cpan/build/Tk-Wizard-Bases-1.07/blib/lib/Tk/Wizard.pm line 269. t/bad_arg......ok 3/4addPage requires one or more CODE references as arguments at (eval 8) line 1 t/bad_arg......ok t/Installer....ok 8/10Try ./cpan_index2.html Writing to ./cpan_index2.html... Try big.gif Writing to big.gif... Try __perlwizardtest/test2.txt read_uri: Error(1) reading http://localhost/test.txt: 404 Not Found at /usr/local/dist/cpan/build/Tk-Wizard-Bases-1.07/blib/lib/Tk/Wizard/Installer.pm line 711. Files left: 1 Not trying again. Failures: 1 http://localhost/test.txt t/Installer....ok t/pb...........ok 2/0Can't find -imagepath, defaulting (./Wizard/images/wizard_blue.gif). at /usr/local/dist/cpan/build/Tk-Wizard-Bases-1.07/blib/lib/Tk/Wizard.pm line 263. Can't find -topimagepath, defaulting (./Wizard/images/wizard_blue_top.gif). at /usr/local/dist/cpan/build/Tk-Wizard-Bases-1.07/blib/lib/Tk/Wizard.pm line 269. t/pb...........ok t/Win32........skipped all skipped: no reason given t/Wizard.......Can't locate Test/Warn.pm in @INC (@INC contains: /usr/local/dist/cpan/build/Tk-Wizard-Bases-1.07/blib/arch /usr/local/dist/cpan/build/Tk-Wizard-Bases-1.07/blib/lib /usr/local/lib/perl5/5.8.0/i686-linux /usr/local/lib/perl5/5.8.0 /usr/local/lib/perl5/site_perl/5.8.0/i686-linux /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl .) at t/Wizard.t line 5. BEGIN failed--compilation aborted at t/Wizard.t line 5. # Looks like your test died before it could output anything. t/Wizard.......dubious Test returned status 255 (wstat 65280, 0xff00) Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- t/Wizard.t 255 65280 ?? ?? % ?? 1 test skipped. So there's just one failure due to the non-installed Test::Warn module on this machine. I suggest to skip this test if Test::Warn is not installed. Regards, Slaven
Can't test this right now, since Tk fails to install on my RH boxes. Hope to get time to investigate in January.