Re: pgsql: Require version 0.98 of Test::More for TAP tests

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Noah Misch <noah(at)leadboat(dot)com>, pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Require version 0.98 of Test::More for TAP tests
Date: 2021-11-22 15:12:34
Message-ID: f4f5624e-4c91-9368-42fe-20f22ac710d5@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers


On 11/21/21 12:46, Tom Lane wrote:
>
> However, the only way I could get that to happen was to redirect
> prove's stderr to config.log (&AS_MESSAGE_LOG_FD), which is not great
> because it means that in the failure case the only place where any useful
> info appears is config.log. I tried printing the version reports to
> STDOUT instead of using diag(), but that seems to get redirected to
> /dev/null somewhere. Anybody know how to get prove to not do that?
>
>

No, but I think you can get what you want with the attached.

cheers

andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com

Attachment Content-Type Size
test-module-versions-under-prove-v2.patch text/x-patch 6.7 KB

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-11-22 15:32:11 Re: pgsql: Require version 0.98 of Test::More for TAP tests
Previous Message Peter Eisentraut 2021-11-22 07:10:46 pgsql: Add ABI extra field to fmgr magic block