Skip to content

Commit df20667

Browse files
committed
When calling unsupported "make check" with a pgxs module, return a nonzero
exit code.
1 parent e01d732 commit df20667

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/makefiles/pgxs.mk

Lines changed: 2 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.15 2008/10/03 08:00:16 petere Exp $
3+
# $PostgreSQL: pgsql/src/makefiles/pgxs.mk,v 1.16 2009/07/08 13:47:29 petere 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
@@ -266,6 +266,7 @@ installcheck: submake
266266
check:
267267
@echo "'make check' is not supported."
268268
@echo "Do 'make install', then 'make installcheck' instead."
269+
@exit 1
269270
endif # REGRESS
270271

271272

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy