Re: Inadequate traces in TAP tests

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>
Cc: Craig Ringer <craig(dot)ringer(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Inadequate traces in TAP tests
Date: 2017-03-20 21:52:59
Message-ID: 20170320215259.GE9812@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew,

* Andrew Dunstan (andrew(dot)dunstan(at)2ndquadrant(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Steele 2017-03-20 22:15:40 Re: Removing binaries
Previous Message Andrew Dunstan 2017-03-20 21:49:11 Re: Inadequate traces in TAP tests