mirror of
https://github.com/postgres/postgres.git
synced 2025-06-25 01:02:05 +03:00
When calling unsupported "make check" with a pgxs module, return a nonzero
exit code.
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
# PGXS: PostgreSQL extensions makefile
|
# PGXS: PostgreSQL extensions makefile
|
||||||
|
|
||||||
# $PostgreSQL: pgsql/src/makefiles/pgxs.mk,v 1.15 2008/10/03 08:00:16 petere Exp $
|
# $PostgreSQL: pgsql/src/makefiles/pgxs.mk,v 1.16 2009/07/08 13:47:29 petere Exp $
|
||||||
|
|
||||||
# This file contains generic rules to build many kinds of simple
|
# This file contains generic rules to build many kinds of simple
|
||||||
# extension modules. You only need to set a few variables and include
|
# extension modules. You only need to set a few variables and include
|
||||||
@ -266,6 +266,7 @@ installcheck: submake
|
|||||||
check:
|
check:
|
||||||
@echo "'make check' is not supported."
|
@echo "'make check' is not supported."
|
||||||
@echo "Do 'make install', then 'make installcheck' instead."
|
@echo "Do 'make install', then 'make installcheck' instead."
|
||||||
|
@exit 1
|
||||||
endif # REGRESS
|
endif # REGRESS
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user