Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c431f8f

Browse files
committed
Fixed installcheck in Makefile
1 parent 284e3a5 commit c431f8f

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

Makefile

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
# contrib/pg_query_state/Makefile
23

34
MODULE_big = pg_query_state
@@ -22,16 +23,16 @@ include $(top_builddir)/src/Makefile.global
2223
include $(top_srcdir)/contrib/contrib-global.mk
2324
endif
2425

25-
EXTRA_REGRESS_OPTS=--temp-config=$(top_srcdir)/$(subdir)/test.conf
26-
2726
$(EXTENSION)--$(EXTVERSION).sql: init.sql
2827
cat $^ > $@
2928

30-
ISOLATIONCHECKS=corner_cases
29+
ISOLATIONCHECKS = corner_cases
3130

3231
check: isolationcheck
3332

34-
installcheck: isolationcheck-install-force
33+
installcheck: submake-isolation
34+
$(pg_isolation_regress_installcheck) \
35+
$(ISOLATIONCHECKS)
3536

3637
isolationcheck: | submake-isolation temp-install
3738
$(MKDIR_P) isolation_output
@@ -40,14 +41,7 @@ isolationcheck: | submake-isolation temp-install
4041
--outputdir=isolation_output \
4142
$(ISOLATIONCHECKS)
4243

43-
isolationcheck-install-force: all | submake-isolation submake-pg_query_state temp-install
44-
$(pg_isolation_regress_installcheck) \
45-
$(ISOLATIONCHECKS)
46-
4744
submake-isolation:
4845
$(MAKE) -C $(top_builddir)/src/test/isolation all
4946

50-
submake-pg_query_state:
51-
$(MAKE) -C $(top_builddir)/contrib/pg_query_state
52-
5347
temp-install: EXTRA_INSTALL=contrib/pg_query_state

0 commit comments

Comments
 (0)