On 04/25/2017 11:13 AM, Tom Lane wrote:
>
>> I'm in the process of moving all the buildfarm tests to use check
>> instead of installcheck, but in such a way that it doesn't constantly
>> generate redundant installs.
> But is that something only of interest to the buildfarm, or should we
> do something in the Makefile infrastructure to make it more generally
> available?
It already is. If you have a temp_install with all the required pieces
do "make NO_TEMP_INSTALL=1 check"
The logic I am adding to the buildfarm is essentially to install contrib
and test_modules in the temp install directory as part of their install
steps and to check that that's been done before using NO_TEMP_INSTALL.
cheers
andrew
--
Andrew Dunstan https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services