mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Install pg_isolation_regress and isolationtester
We already install assorted tools for testing extensions, but these two were missing. Having them installed, and after ISOLATION support was added to PGXS's makefiles byd3c09b9b13
, helps third-party modules usefully include isolation tests. Comparec3a0818460
. Author: Craig Ringer <craig.ringer@enterprisedb.com> Reviewed-by: Álvaro Herrera <alvherre@alvh.no-ip.org> Discussion: https://postgr.es/m/CAMsr+YFsCMH3B4uOPFE+2qWM6k=o=hf9LGiPNCfwqKdUPz_BsQ@mail.gmail.com
This commit is contained in:
@ -18,12 +18,16 @@ OBJS = \
|
|||||||
|
|
||||||
all: isolationtester$(X) pg_isolation_regress$(X)
|
all: isolationtester$(X) pg_isolation_regress$(X)
|
||||||
|
|
||||||
# Though we don't install these binaries, build them during installation
|
install: all installdirs
|
||||||
# (including temp-install). Otherwise, "make -j check-world" and "make -j
|
$(INSTALL_PROGRAM) pg_isolation_regress$(X) '$(DESTDIR)$(pgxsdir)/$(subdir)/pg_isolation_regress$(X)'
|
||||||
# installcheck-world" would spawn multiple, concurrent builds in this
|
$(INSTALL_PROGRAM) isolationtester$(X) '$(DESTDIR)$(pgxsdir)/$(subdir)/isolationtester$(X)'
|
||||||
# directory. Later builds would overwrite files while earlier builds are
|
|
||||||
# reading them, causing occasional failures.
|
installdirs:
|
||||||
install: | all
|
$(MKDIR_P) '$(DESTDIR)$(pgxsdir)/$(subdir)'
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -f '$(DESTDIR)$(pgxsdir)/$(subdir)/pg_isolation_regress$(X)'
|
||||||
|
rm -f '$(DESTDIR)$(pgxsdir)/$(subdir)/isolationtester$(X)'
|
||||||
|
|
||||||
submake-regress:
|
submake-regress:
|
||||||
$(MAKE) -C $(top_builddir)/src/test/regress pg_regress.o
|
$(MAKE) -C $(top_builddir)/src/test/regress pg_regress.o
|
||||||
|
Reference in New Issue
Block a user