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

Commitcf4ad01

Browse files
committed
Point runtest and runcheck targets at new regression test driver.
1 parent287fd7a commitcf4ad01

File tree

1 file changed

+10
-70
lines changed

1 file changed

+10
-70
lines changed

‎src/test/regress/GNUmakefile

Lines changed: 10 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/test/regress/GNUmakefile,v 1.31 2000/11/21 23:40:28 petere Exp $
10+
# $Header: /cvsroot/pgsql/src/test/regress/GNUmakefile,v 1.32 2000/11/22 13:16:24 petere Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -115,79 +115,19 @@ installcheck: all
115115

116116
# old interfaces follow...
117117

118-
#
119-
# huge extra tests run in target bigtest
120-
#
121-
EXTRA_TESTS= numeric_big
122-
123-
#
124-
# run the tests
125-
#
126-
runtest: all
127-
ifneq ($(PORTNAME), win)
128-
MULTIBYTE=$(MULTIBYTE);export MULTIBYTE; \
129-
$(SHELL) ./regress.sh $(host_tuple) 2>&1 | tee regress.out
130-
else
131-
MULTIBYTE=$(MULTIBYTE);export MULTIBYTE; \
132-
./regress.sh $(host_tuple) 2>&1 | tee regress.out
133-
endif
134-
@echo "ACTUAL RESULTS OF REGRESSION TEST ARE NOW IN FILE regress.out"
135-
@echo ""
136-
@echo "To run the optional big test(s) too, type 'make bigtest'"
137-
@echo "These big tests can take over an hour to complete"
138-
@echo "These actually are: $(EXTRA_TESTS)"
139-
140-
#
141-
# run the test including the huge extra tests
142-
#
143-
bigtest: all
144-
ifneq ($(PORTNAME), win)
145-
MULTIBYTE=$(MULTIBYTE);export MULTIBYTE; \
146-
$(SHELL) ./regress.sh $(host_tuple) $(EXTRA_TESTS) 2>&1 | tee regress.out
147-
else
148-
MULTIBYTE=$(MULTIBYTE);export MULTIBYTE; \
149-
./regress.sh $(host_tuple) $(EXTRA_TESTS) 2>&1 | tee regress.out
150-
endif
151-
@echo "ACTUAL RESULTS OF REGRESSION TEST ARE NOW IN FILE regress.out"
118+
runcheck: check
119+
runtest: installcheck
152120

153-
#
154-
# run the parallel test suite
155-
#
156-
runcheck: all
157-
ifneq ($(PORTNAME), win)
158-
MULTIBYTE=$(MULTIBYTE);export MULTIBYTE; \
159-
MAKE=$(MAKE);export MAKE; \
160-
$(SHELL) ./run_check.sh $(host_tuple)
161-
else
162-
MULTIBYTE=$(MULTIBYTE);export MULTIBYTE; \
163-
MAKE=$(MAKE);export MAKE; \
164-
./run_check.sh $(host_tuple)
165-
endif
166-
@echo "ACTUAL RESULTS OF REGRESSION TEST ARE NOW IN FILES run_check.out"
167-
@echo "AND regress.out"
168-
@echo ""
169-
@echo "To run the optional big test(s) too, type 'make bigcheck'"
170-
@echo "These big tests can take over an hour to complete"
171-
@echo "These actually are: $(EXTRA_TESTS)"
121+
bigtest:
122+
$(SHELL) ./pg_regress --schedule=$(srcdir)/serial_schedule --multibyte=$(MULTIBYTE) numeric_big
172123

173-
#
174-
# run the test including the huge extra tests
175-
#
176-
bigcheck: all
177-
ifneq ($(PORTNAME), win)
178-
MULTIBYTE=$(MULTIBYTE);export MULTIBYTE; \
179-
MAKE=$(MAKE);export MAKE; \
180-
$(SHELL) ./run_check.sh $(host_tuple) $(EXTRA_TESTS)
181-
else
182-
MULTIBYTE=$(MULTIBYTE);export MULTIBYTE; \
183-
MAKE=$(MAKE);export MAKE; \
184-
./run_check.sh $(host_tuple) $(EXTRA_TESTS)
185-
endif
186-
@echo "ACTUAL RESULTS OF REGRESSION TEST ARE NOW IN FILES run_check.out"
187-
@echo "AND regress.out"
124+
bigcheck:
125+
$(SHELL) ./pg_regress --temp-install --top-builddir=$(top_builddir) --schedule=$(srcdir)/parallel_schedule --multibyte=$(MULTIBYTE) numeric_big
188126

189127

190-
# clean up
128+
##
129+
## Clean up
130+
##
191131

192132
cleandistcleanmaintainer-clean:
193133
# things built by `all' target

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp