[patch] Adding EXTRA_REGRESS_OPTS to all pg_regress invocations - Mailing list pgsql-hackers

From Christoph Berg
Subject [patch] Adding EXTRA_REGRESS_OPTS to all pg_regress invocations
Date
Msg-id 20130507065146.GG5150@msgid.df7cb.de
Whole thread Raw
Responses Re: [patch] Adding EXTRA_REGRESS_OPTS to all pg_regress invocations  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
"make check" supports EXTRA_REGRESS_OPTS to pass extra options to
pg_regress, but all the other places where pg_regress is used do not
allow this. The attached patch adds EXTRA_REGRESS_OPTS to
Makefile.global.in (for contrib modules) and two more special
Makefiles (isolation and pg_upgrade).

The use case here is that Debian needs to be able to redirect the unix
socket directory used to /tmp, because /var/run/postgresql isn't
writable for the buildd user. The matching part for this inside
pg_regress is still in discussion here, but the addition of
EXTRA_REGRESS_OPTS is an independent step that is also useful for
others, so I'd like to propose it for inclusion.

Christoph
--
cb@df7cb.de | http://www.df7cb.de/

Attachment

pgsql-hackers by date:

Previous
From: Christoph Berg
Date:
Subject: [patch] PSQLDIR not passed to pg_regress in contrib/pg_upgrade/test.sh
Next
From: Stefan Kaltenbrunner
Date:
Subject: Re: spoonbill vs. -HEAD