Click here to get back home

test fails

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
test fails George Weinberg 05-10-2008
  ---> Re: test fails George Weinberg05-11-2008
      |--> Re: test fails George Weinberg05-12-2008
      `--> Re: test fails Ilya Zakharevic...05-17-2008
Posted by Ilya Zakharevich on May 17, 2008, 8:27 am
Please log in for more thread options
[A complimentary Cc of this posting was sent to
sisyphus
> wrote:
> > 8c73295c9...@w4g2000prd.googlegroups.com:
> =2E
> =2E
> > # Looks like your test died just after 29.
>
> However, I was expecting to see a segfault or at least an error
> message (as usually happens when there's a problem with the cleanup).
> Not too sure what to make of that.

Global cleanup (or END) may have (explicitly) set $?, or called
exit(). Either from Perl code, or from XS.

Catching a call to exit() from Perl is easy, via overwriting
CORE::GLOBAL::exit(). Catching $? - I do not know, but one could put

END {warn "Value of $? is $?" if $?}

at the start of the test script. And/or at least

END {warn "Last call to END{} reached..."}

And if it prints this, this happens during global destruction...

Hope this helps,
Ilya

Similar ThreadsPosted
make test fails for XML::PARSER August 25, 2005, 11:48 am
DBD::ODBC make test fails in HPUX11.11 July 21, 2004, 5:58 am
Net-DHCPClient; example fails; tap.al January 26, 2005, 10:07 pm
Archive::Tar fails tests on AIX August 17, 2004, 6:30 pm
Perl/Tk build fails on HP-UX February 27, 2006, 4:58 pm
System call fails in webserver February 11, 2006, 11:04 am
fails to parse the soap request April 28, 2006, 7:35 pm
Config::Any fails tests on install February 24, 2007, 2:49 pm
WriteExcel->sheets() fails in getting worksheets May 5, 2008, 7:38 pm
Term-Size make fails on debian September 6, 2005, 4:28 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap