Re: Re: [COMMITTERS] pgsql: Allow pg_regress to be run outside the build tree. - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Re: [COMMITTERS] pgsql: Allow pg_regress to be run outside the build tree.
Date
Msg-id 48E4CA79.6050907@gmx.net
Whole thread Raw
In response to Re: Re: [COMMITTERS] pgsql: Allow pg_regress to be run outside the build tree.  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Re: [COMMITTERS] pgsql: Allow pg_regress to be run outside the build tree.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
>> vpath build should be fixed now.  MSVC will need to update the 
>> pg_regress call sites, but I'll leave that to those maintaining that 
>> build system.  In particular, the --dlpath option needs to be added.
> 
> contrib is still pretty broken.  One part of it is needing a --srcdir
> option in pgxs.mk, which I fixed.  But some of the modules still
> fail --- it looks like the problem is with the ones having data/
> subdirectories.  You seem to have taken out the copying of the data
> files into the vpath build tree, but I think you might have to
> put it back.

I think the right fix would be to convert those .sql files to 
input/*.source files and have pg_regress substitute the absolute 
directory names in them, like it is done for the backend.


pgsql-hackers by date:

Previous
From: "Jonah H. Harris"
Date:
Subject: Re: Block-level CRC checks
Next
From: Tom Lane
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Allow pg_regress to be run outside the build tree.