Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7317d8d

Browse files
committed
Use separate output dirs for test_decoding's two runs.
contrib/test_decoding's "make check" runs two sets of tests. Unless wespecify separate output directories for each set the isolation testswill overwrite the output from the normal regression set. Doing thiswill help the buildfarm collect complete logs.
1 parent9d66116 commit7317d8d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎contrib/test_decoding/Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ OBJS = test_decoding.o
55

66
# Note: because we don't tell the Makefile there are any regression tests,
77
# we have to clean those result files explicitly
8-
EXTRA_CLEAN =-r$(pg_regress_clean_files)
8+
EXTRA_CLEAN =$(pg_regress_clean_files) ./regression_output ./isolation_output
99

1010
ifdefUSE_PGXS
1111
PG_CONFIG = pg_config
@@ -40,10 +40,12 @@ submake-test_decoding:
4040
REGRESSCHECKS=ddl rewrite toast permissions decoding_in_xact binary
4141

4242
regresscheck: all | submake-regress submake-test_decoding
43+
$(MKDIR_P) regression_output
4344
$(pg_regress_check)\
4445
--temp-config$(top_srcdir)/contrib/test_decoding/logical.conf\
4546
--temp-install=./tmp_check\
4647
--extra-install=contrib/test_decoding\
48+
--outputdir=./regression_output\
4749
$(REGRESSCHECKS)
4850

4951
regresscheck-install-force: | submake-regress submake-test_decoding
@@ -54,9 +56,11 @@ regresscheck-install-force: | submake-regress submake-test_decoding
5456
ISOLATIONCHECKS=mxact delayed_startup concurrent_ddl_dml
5557

5658
isolationcheck: all | submake-isolation submake-test_decoding
59+
$(MKDIR_P) isolation_output
5760
$(pg_isolation_regress_check)\
5861
--temp-config$(top_srcdir)/contrib/test_decoding/logical.conf\
5962
--extra-install=contrib/test_decoding\
63+
--outputdir=./isolation_output\
6064
$(ISOLATIONCHECKS)
6165

6266
isolationcheck-install-force: all | submake-isolation submake-test_decoding

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp