Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1610fcc

Browse files
committed
Some marginal tweaks to make 'make installcheck' mostly work when
building contrib with USE_PGXS. To make it work all the way, thepg_regress script would need to be included in the installation tree.
1 parent4fc935a commit1610fcc

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

‎contrib/contrib-global.mk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# $PostgreSQL: pgsql/contrib/contrib-global.mk,v 1.9 2005/05/17 18:26:22 tgl Exp $
1+
# $PostgreSQL: pgsql/contrib/contrib-global.mk,v 1.10 2005/09/27 17:43:31 tgl Exp $
22

33
NO_PGXS = 1
4-
REGRESS_OPTS = --dbname=$(CONTRIB_TESTDB)
54
include$(top_srcdir)/src/makefiles/pgxs.mk

‎src/makefiles/pgxs.mk

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PGXS: PostgreSQL extensions makefile
22

3-
# $PostgreSQL: pgsql/src/makefiles/pgxs.mk,v 1.5 2005/08/12 21:02:25 momjian Exp $
3+
# $PostgreSQL: pgsql/src/makefiles/pgxs.mk,v 1.6 2005/09/27 17:43:31 tgl Exp $
44

55
# This file contains generic rules to build many kinds of simple
66
# extension modules. You only need to set a few variables and include
@@ -205,6 +205,11 @@ distclean maintainer-clean: clean
205205

206206
ifdefREGRESS
207207

208+
# Calling makefile can set REGRESS_OPTS, but this is the default:
209+
ifndefREGRESS_OPTS
210+
REGRESS_OPTS = --dbname=$(CONTRIB_TESTDB)
211+
endif
212+
208213
# When doing a VPATH build, must copy over the test .sql and .out
209214
# files so that the driver script can find them. We have to use an
210215
# absolute path for the targets, because otherwise make will try to
@@ -224,7 +229,9 @@ endif # VPATH
224229

225230
.PHONY: submake
226231
submake:
232+
ifndefPGXS
227233
$(MAKE) -C $(top_builddir)/src/test/regress pg_regress
234+
endif
228235

229236
# against installed postmaster
230237
installcheck: submake

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp