Prevent passing gmake's environment variables down through pg_regress.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 1 Dec 2012 22:23:49 +0000 (17:23 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 1 Dec 2012 22:23:49 +0000 (17:23 -0500)
commitc35fea102628fedf9e62c6a440073257676a873b
treed8aa0a32cb7710bfe96151f8371d56497409f83b
parentb1346822f3048ede254647f3a46186e4c0ec68d6
Prevent passing gmake's environment variables down through pg_regress.

When we do "make install" to create a temp installation, we don't want
that instance of make to try to communicate with any instance of make
that might be calling us.  This is known to cause problems if the
upper make has a -jN flag, and in principle could cause problems even
without that.  Unset the relevant environment variables to prevent such
issues.

Andres Freund
src/test/regress/pg_regress.c