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

Commit67a1ae9

Browse files
author
Neil Conway
committed
Add missing Makefile dependencies for the "bigtest" and "bigcheck"
targets, and refactor the tablespace setup code into a separateMakefile target.
1 parent05ce7d6 commit67a1ae9

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

‎src/test/regress/GNUmakefile

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
77
# Portions Copyright (c) 1994, Regents of the University of California
88
#
9-
# $PostgreSQL: pgsql/src/test/regress/GNUmakefile,v 1.64 2007/01/19 16:42:24 alvherre Exp $
9+
# $PostgreSQL: pgsql/src/test/regress/GNUmakefile,v 1.65 2007/01/31 19:38:50 neilc Exp $
1010
#
1111
#-------------------------------------------------------------------------
1212

@@ -117,30 +117,29 @@ endif
117117

118118
# And finally some extra C modules...
119119

120-
all: all-spi
120+
all: all-spi tablespace-setup
121121

122122
.PHONY: all-spi
123123
all-spi:
124124
$(MAKE) -C$(contribdir)/spi refint$(DLSUFFIX) autoinc$(DLSUFFIX)
125125

126+
# Tablespace setup
127+
.PHONY: tablespace-setup
128+
tablespace-setup:
129+
-rm -rf ./testtablespace
130+
mkdir ./testtablespace
126131

127132
##
128133
## Run tests
129134
##
130135

131136
check: all
132-
-rm -rf ./testtablespace
133-
mkdir ./testtablespace
134137
./pg_regress --temp-install=./tmp_check --top-builddir=$(top_builddir) --srcdir=$(abs_srcdir) --temp-port=$(TEMP_PORT) --schedule=$(srcdir)/parallel_schedule --multibyte=$(MULTIBYTE) --load-language=plpgsql$(MAXCONNOPT)$(NOLOCALE)
135138

136139
installcheck: all
137-
-rm -rf ./testtablespace
138-
mkdir ./testtablespace
139140
./pg_regress --psqldir=$(PSQLDIR) --schedule=$(srcdir)/serial_schedule --srcdir=$(abs_srcdir) --multibyte=$(MULTIBYTE) --load-language=plpgsql$(NOLOCALE)
140141

141142
installcheck-parallel: all
142-
-rm -rf ./testtablespace
143-
mkdir ./testtablespace
144143
./pg_regress --psqldir=$(PSQLDIR) --schedule=$(srcdir)/parallel_schedule --srcdir=$(abs_srcdir) --multibyte=$(MULTIBYTE) --load-language=plpgsql$(MAXCONNOPT)$(NOLOCALE)
145144

146145

@@ -150,10 +149,10 @@ runcheck: check
150149
runtest: installcheck
151150
runtest-parallel: installcheck-parallel
152151

153-
bigtest:
152+
bigtest: all
154153
./pg_regress --psqldir=$(PSQLDIR) --schedule=$(srcdir)/serial_schedule --srcdir=$(abs_srcdir) --multibyte=$(MULTIBYTE) --load-language=plpgsql$(NOLOCALE) numeric_big
155154

156-
bigcheck:
155+
bigcheck: all
157156
./pg_regress --temp-install=./tmp_check --top-builddir=$(top_builddir) --srcdir=$(abs_srcdir) --temp-port=$(TEMP_PORT) --schedule=$(srcdir)/parallel_schedule --multibyte=$(MULTIBYTE) --load-language=plpgsql$(MAXCONNOPT)$(NOLOCALE) numeric_big
158157

159158

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp