Re: [HACKERS] Inadequate traces in TAP tests - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: [HACKERS] Inadequate traces in TAP tests
Date
Msg-id 20170320215259.GE9812@tamriel.snowman.net
Whole thread Raw
In response to Re: [HACKERS] Inadequate traces in TAP tests  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
List pgsql-hackers
Andrew,

* Andrew Dunstan (andrew.dunstan@2ndquadrant.com) wrote:
> On 03/20/2017 10:25 AM, Craig Ringer wrote:
> > I'd like to enable Carp's features to use confess for traces, and
> > switch all use of die to that. We could learn a lot about
> > unplanned-for test failures where a test script dies rather than
> > failing a test if we used carp effectively.
>
> Good idea. But there is no obvious call to die() or BAIL_OUT() that's
> causing the error I saw.

I'll look at adding that.  I should be able to get the psql output with
the ERROR in it and that's mainly what you'll want for this.

Thanks!

Stephen

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [HACKERS] Inadequate traces in TAP tests
Next
From: David Steele
Date:
Subject: Re: [HACKERS] Removing binaries