mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-23 06:20:40 +02:00
Include contrib modules in the temp installation even without REGRESS.
Now that we have TAP tests, a contrib module may have something useful to do in "make check" even if it has no pg_regress-style regression scripts, and hence no REGRESS setting. But the TAP tests will fail, or else test the wrong installed files, unless we install the contrib module into the temp installation. So move the bit about adding to EXTRA_INSTALL so that it applies regardless. We might want this in back branches in future, but for the moment I only risked adding it to v11. Discussion: https://postgr.es/m/12438.1535488750@sss.pgh.pa.us
This commit is contained in:
parent
8bc6a301b2
commit
8ede2691d6
@ -359,11 +359,13 @@ check:
|
|||||||
else
|
else
|
||||||
check: submake $(REGRESS_PREP)
|
check: submake $(REGRESS_PREP)
|
||||||
$(pg_regress_check) $(REGRESS_OPTS) $(REGRESS)
|
$(pg_regress_check) $(REGRESS_OPTS) $(REGRESS)
|
||||||
|
|
||||||
temp-install: EXTRA_INSTALL+=$(subdir)
|
|
||||||
endif
|
endif
|
||||||
endif # REGRESS
|
endif # REGRESS
|
||||||
|
|
||||||
|
ifndef NO_TEMP_INSTALL
|
||||||
|
temp-install: EXTRA_INSTALL+=$(subdir)
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
# STANDARD RULES
|
# STANDARD RULES
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user