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
123123all-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
131136check : 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
136139installcheck : 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
141142installcheck-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
150149runtest : installcheck
151150runtest-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