mirror of
https://github.com/postgres/postgres.git
synced 2025-05-09 18:21:05 +03:00
Point runtest and runcheck targets at new regression test driver.
This commit is contained in:
parent
287fd7a995
commit
cf4ad01d36
@ -7,7 +7,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/test/regress/GNUmakefile,v 1.31 2000/11/21 23:40:28 petere Exp $
|
# $Header: /cvsroot/pgsql/src/test/regress/GNUmakefile,v 1.32 2000/11/22 13:16:24 petere Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -115,79 +115,19 @@ installcheck: all
|
|||||||
|
|
||||||
# old interfaces follow...
|
# old interfaces follow...
|
||||||
|
|
||||||
#
|
runcheck: check
|
||||||
# huge extra tests run in target bigtest
|
runtest: installcheck
|
||||||
#
|
|
||||||
EXTRA_TESTS = numeric_big
|
|
||||||
|
|
||||||
#
|
bigtest:
|
||||||
# run the tests
|
$(SHELL) ./pg_regress --schedule=$(srcdir)/serial_schedule --multibyte=$(MULTIBYTE) numeric_big
|
||||||
#
|
|
||||||
runtest: all
|
|
||||||
ifneq ($(PORTNAME), win)
|
|
||||||
MULTIBYTE=$(MULTIBYTE);export MULTIBYTE; \
|
|
||||||
$(SHELL) ./regress.sh $(host_tuple) 2>&1 | tee regress.out
|
|
||||||
else
|
|
||||||
MULTIBYTE=$(MULTIBYTE);export MULTIBYTE; \
|
|
||||||
./regress.sh $(host_tuple) 2>&1 | tee regress.out
|
|
||||||
endif
|
|
||||||
@echo "ACTUAL RESULTS OF REGRESSION TEST ARE NOW IN FILE regress.out"
|
|
||||||
@echo ""
|
|
||||||
@echo "To run the optional big test(s) too, type 'make bigtest'"
|
|
||||||
@echo "These big tests can take over an hour to complete"
|
|
||||||
@echo "These actually are: $(EXTRA_TESTS)"
|
|
||||||
|
|
||||||
#
|
bigcheck:
|
||||||
# run the test including the huge extra tests
|
$(SHELL) ./pg_regress --temp-install --top-builddir=$(top_builddir) --schedule=$(srcdir)/parallel_schedule --multibyte=$(MULTIBYTE) numeric_big
|
||||||
#
|
|
||||||
bigtest: all
|
|
||||||
ifneq ($(PORTNAME), win)
|
|
||||||
MULTIBYTE=$(MULTIBYTE);export MULTIBYTE; \
|
|
||||||
$(SHELL) ./regress.sh $(host_tuple) $(EXTRA_TESTS) 2>&1 | tee regress.out
|
|
||||||
else
|
|
||||||
MULTIBYTE=$(MULTIBYTE);export MULTIBYTE; \
|
|
||||||
./regress.sh $(host_tuple) $(EXTRA_TESTS) 2>&1 | tee regress.out
|
|
||||||
endif
|
|
||||||
@echo "ACTUAL RESULTS OF REGRESSION TEST ARE NOW IN FILE regress.out"
|
|
||||||
|
|
||||||
#
|
|
||||||
# run the parallel test suite
|
|
||||||
#
|
|
||||||
runcheck: all
|
|
||||||
ifneq ($(PORTNAME), win)
|
|
||||||
MULTIBYTE=$(MULTIBYTE);export MULTIBYTE; \
|
|
||||||
MAKE=$(MAKE);export MAKE; \
|
|
||||||
$(SHELL) ./run_check.sh $(host_tuple)
|
|
||||||
else
|
|
||||||
MULTIBYTE=$(MULTIBYTE);export MULTIBYTE; \
|
|
||||||
MAKE=$(MAKE);export MAKE; \
|
|
||||||
./run_check.sh $(host_tuple)
|
|
||||||
endif
|
|
||||||
@echo "ACTUAL RESULTS OF REGRESSION TEST ARE NOW IN FILES run_check.out"
|
|
||||||
@echo "AND regress.out"
|
|
||||||
@echo ""
|
|
||||||
@echo "To run the optional big test(s) too, type 'make bigcheck'"
|
|
||||||
@echo "These big tests can take over an hour to complete"
|
|
||||||
@echo "These actually are: $(EXTRA_TESTS)"
|
|
||||||
|
|
||||||
#
|
|
||||||
# run the test including the huge extra tests
|
|
||||||
#
|
|
||||||
bigcheck: all
|
|
||||||
ifneq ($(PORTNAME), win)
|
|
||||||
MULTIBYTE=$(MULTIBYTE);export MULTIBYTE; \
|
|
||||||
MAKE=$(MAKE);export MAKE; \
|
|
||||||
$(SHELL) ./run_check.sh $(host_tuple) $(EXTRA_TESTS)
|
|
||||||
else
|
|
||||||
MULTIBYTE=$(MULTIBYTE);export MULTIBYTE; \
|
|
||||||
MAKE=$(MAKE);export MAKE; \
|
|
||||||
./run_check.sh $(host_tuple) $(EXTRA_TESTS)
|
|
||||||
endif
|
|
||||||
@echo "ACTUAL RESULTS OF REGRESSION TEST ARE NOW IN FILES run_check.out"
|
|
||||||
@echo "AND regress.out"
|
|
||||||
|
|
||||||
|
|
||||||
# clean up
|
##
|
||||||
|
## Clean up
|
||||||
|
##
|
||||||
|
|
||||||
clean distclean maintainer-clean:
|
clean distclean maintainer-clean:
|
||||||
# things built by `all' target
|
# things built by `all' target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user