mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Add pg_upgrade test suite
It runs the regression tests, runs pg_upgrade on the populated database, and compares the before and after dumps. While not actually a cross-version upgrade, this does detect omissions and bugs in the involved tools from time to time. It's also possible to do a cross-version upgrade by manually supplying parameters.
This commit is contained in:
@ -207,7 +207,7 @@ ifdef OBJS
|
||||
rm -f $(OBJS)
|
||||
endif
|
||||
ifdef EXTRA_CLEAN
|
||||
rm -f $(EXTRA_CLEAN)
|
||||
rm -rf $(EXTRA_CLEAN)
|
||||
endif
|
||||
ifdef REGRESS
|
||||
# things created by various check targets
|
||||
|
@ -132,7 +132,7 @@ tablespace-setup:
|
||||
## Run tests
|
||||
##
|
||||
|
||||
REGRESS_OPTS = --dlpath=.
|
||||
REGRESS_OPTS = --dlpath=. $(EXTRA_REGRESS_OPTS)
|
||||
|
||||
check: all tablespace-setup
|
||||
$(pg_regress_check) $(REGRESS_OPTS) --schedule=$(srcdir)/parallel_schedule $(MAXCONNOPT) $(TEMP_CONF) $(EXTRA_TESTS)
|
||||
|
Reference in New Issue
Block a user