Fix installcheck target

This commit is contained in:
Raul Marin 2019-10-29 12:34:29 +01:00
parent 1375894e99
commit 427ad94235

View File

@ -214,12 +214,12 @@ legacy_tests: legacy_regress $(EXTENSION)--unpackaged--$(EXTVERSION).sql
PGREGRESS := $(shell dirname `$(PG_CONFIG) --pgxs`)/../../src/test/regress/pg_regress PGREGRESS := $(shell dirname `$(PG_CONFIG) --pgxs`)/../../src/test/regress/pg_regress
PGBINDIR := $(shell $(PG_CONFIG) --bindir) PGBINDIR := $(shell $(PG_CONFIG) --bindir)
PGDATABASE = 'contrib_regression' PGREGRESSDATABASE = 'contrib_regression'
regress: legacy_tests regress: legacy_tests
PGUSER=$(PGUSER) \ PGUSER=$(PGUSER) \
PGPORT=$(PGPORT) \ PGPORT=$(PGPORT) \
$(PGREGRESS) --inputdir=./ --bindir='$(PGBINDIR)' --dbname=$(PGDATABASE) $(REGRESS) $(PGREGRESS) --inputdir=./ --bindir='$(PGBINDIR)' --dbname=$(PGREGRESSDATABASE) $(REGRESS)
installcheck: test_extension_new test_organization installcheck: test_extension_new test_organization regress
$(MAKE) -C regress $(MAKE) -f ... -C regress