Re: make check For Extensions - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: make check For Extensions
Date
Msg-id 51758708-C300-40D9-ABE3-A31FCFF72751@justatheory.com
Whole thread Raw
In response to Re: make check For Extensions  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: make check For Extensions
List pgsql-hackers
On Jun 12, 2014, at 11:28 AM, Fabien COELHO <coelho@cri.ensmp.fr> wrote:

> My 0.02€: It is expected to work, more or less, see the end of
>
> http://www.postgresql.org/docs/9.3/static/extend-pgxs.html

That says:

“The scripts listed in the REGRESS variable are used for regression testing of your module, which can be invoked by
makeinstallcheck after doing make install. For this to work you must have a running PostgreSQL server.” 

That does not mean that it starts a new cluster on a port. It means it will test it against an existing cluster after
youhave installed into that cluster. 

> It invokes "psql" which is expected to work directly. Note that there is no temporary installation, it is tested
againstthe installed and running postgres. Maybe having the ability to create a temporary installation, as you suggest,
wouldbe a nice extension. 

Yes, that’s what I would like, so I could test *before* installing.

Best,

David


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: lo_create(oid, bytea) breaks every extant release of libpq
Next
From: Gurjeet Singh
Date:
Subject: Re: /proc/self/oom_adj is deprecated in newer Linux kernels