Perl /Tk Test errors on Solaris 10 with perl-5.8.8

Peter Edwards peter at dragonstaff.com
Mon Nov 12 11:27:33 PST 2007


Did you manage to isolate it down to a simple test case, Tony?
Maybe the child exit code is being munged somehow or you're left with a
zombie process?
I wouldn't expect the exit code/higher order exit byte status to break like
this.
It may be a forking issue on the particular Solaris/perl combination you
have.

Regards, Peter
Dragonstaff Limited  http://www.dragonstaff.com   Business IT Consultancy


-----Original Message-----
From: miltonkeynes-pm-bounces+peter=dragonstaff.com at pm.org
[mailto:miltonkeynes-pm-bounces+peter=dragonstaff.com at pm.org] On Behalf Of
Edwardson, Tony
Sent: 08 November 2007 13:54
To: miltonkeynes-pm at pm.org
Subject: Perl /Tk Test errors on Solaris 10 with perl-5.8.8

When trying to install Tk-8004.027 on Solaris 10 using the installed Sun
Compiler, I am getting a load of errors in make test
Here's the summary :-
Failed Test                 Stat Wstat Total Fail  List of Failed
----------------------------------------------------------------------------
---
t/browseentry-subclassing.t    0   139     2    0  ??
t/browseentry.t                0   139    15   16  8-15
t/create.t                     0   139   528 1036  11-528
t/cursor.t                     0   139     7   14  1-7
t/dialogbox.t                  0   139     8   12  3-8
t/entry.t                      0   139   336  668  3-336
t/fork.t                       0   139     1    2  1
t/geomgr.t                     0   139    19   36  2-19
t/listbox.t                    0   139   437  874  1-437
t/mega.t                       0   139     8   14  2-8
t/photo.t                      0   139   100  198  2-100
t/trace1.t                     0   139    17   30  3-17
t/wm-time.t                    0   139     6   12  1-6
t/wm.t                         0   139     1    2  1
t/zzHList.t                    0   139    23   38  5-23
t/zzScrolled.t                 0   139    94  180  5-94
t/zzText.t                     0   139    22   28  9-22

t/zzTixGrid.t                  0   139    33   54  7-33

All these are failing with a wstat 139 with Stat always Zero

Running prove -v on the first test to fail is browseentry-subclassing.t
produces :-

t/browseentry-subclassing....1..2
# Running under perl version 5.008008 for solaris
# Current time local: Wed Nov  7 09:13:28 2007
# Current time GMT:   Wed Nov  7 08:13:28 2007
# Using Test.pm version 1.25
ok 1
ok 2
dubious
        Test returned status 0 (wstat 139, 0x8b)
        after all the subtests completed successfully
Failed Test                 Stat Wstat Total Fail  List of Failed
----------------------------------------------------------------------------
---
t/browseentry-subclassing.t    0   139     2    0  ??
Failed 1/1 test scripts. 0/2 subtests failed.
Files=1, Tests=2,  4 wallclock secs ( 0.24 cusr +  0.19 csys =  0.43 CPU)
Failed 1/1 test programs. 0/2 subtests failed.

i.e. the two scheduled tests both pass but then I get "dubious" because the
wstat is non-zero.
According to the documentation (of Test::Harness), wstat refers to the "wait
status of the test" - presumably this means it is doing the tests in the
background and the child process is not finishing correctly.

According to the change log for Tk-8004.027, it has been tested on Solaris
10 (but not on perl-5.8.8 with Solaris 10)

Anyone any ideas what is going on here or can suggest anything I can do to
discover what is going on here ?

Cheers
Tony




********************************************************************** 
This is a commercial communication from Commerzbank AG.




More information about the MiltonKeynes-pm mailing list