Re: Another usability issue with our TAP tests - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Another usability issue with our TAP tests
Date
Msg-id 23266.1531854152@sss.pgh.pa.us
Whole thread Raw
In response to Re: Another usability issue with our TAP tests  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: Another usability issue with our TAP tests  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> How about something like this:

> -PG_PROVE_FLAGS = -I $(top_srcdir)/src/test/perl/ -I $(srcdir)
> +PG_PROVE_FLAGS = -I $(top_srcdir)/src/test/perl/ -I $(srcdir) --state=save

Cute idea, but it seems not to work with older versions of prove:

$ which prove
/usr/local/perl5.8.3/bin/prove
$ prove --state=save
Unknown option: s

We could just do a "touch .prove_running" beforehand and an "rm" after,
perhaps (I think Michael suggested something like that already).

            regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: untrusted PLs should be GRANTable
Next
From: Peter Eisentraut
Date:
Subject: Re: patch to allow disable of WAL recycling