develooper Front page | perl.perl5.porters | Postings from August 2013

Re: test.pl runperl() exit oddity

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
August 23, 2013 07:58
Subject:
Re: test.pl runperl() exit oddity
Message ID:
20130823075828.GK66035@plum.flirble.org
On Wed, Aug 07, 2013 at 01:04:47PM -0500, Craig A. Berry wrote:
> On Wed, Aug 7, 2013 at 12:18 PM, Nicholas Clark <nick@ccl4.org> wrote:
> 
> > 2) Why does runperl() in t/test.pl abort on VMS if exit status is wrong?
> >    (or is it vmspipe.com aborting?)
> 
> When you run vms/test.com, it's running t/TEST by default. Isn't
> bailing out early the normal behavior for TEST (as opposed to
> harness)?  The abort messages are just the usual result of
> transmogrifying a generic unixy failure exit to a generic VMS failure
> exit:
> 
> $ perl -e "exit 1;"
> %SYSTEM-F-ABORT, abort

Yes, it is. I've got spoiled by t/harness, which doesn't, and failed to
realise that t/TEST behaves differently.

Nicholas Clark

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About