regtests@9.1: pg9.1 ignores --dbname in REGRESS_OPTS
authorMarko Kreen <markokr@gmail.com>
Wed, 14 Sep 2011 10:03:04 +0000 (13:03 +0300)
committerMarko Kreen <markokr@gmail.com>
Wed, 14 Sep 2011 10:15:41 +0000 (13:15 +0300)
Also it needs 'override' to change CONTRIB_TESTDB

Makefile

index bbd7e2a0cfebc75aeeae810198c0fed8f0e63e6d..850b626f549e29b8c3bea933c4ec26ee02c7de31 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -48,8 +48,12 @@ REGRESS += plproxy_sqlmed
 PLPROXY_SQL += plproxy_fdw.sql
 endif
 
+
 REGRESS_OPTS = --dbname=regression
 
+# pg9.1 ignores --dbname
+override CONTRIB_TESTDB := regression
+
 # load PGXS makefile
 PGXS = $(shell $(PG_CONFIG) --pgxs)
 include $(PGXS)