git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1056399)
Add new make targets check-tests and installcheck-tests.
2014年1月28日 23:10:00 +0000 (18:10 -0500)
2014年1月28日 23:10:00 +0000 (18:10 -0500)
These do not run any specific schedule of tests, but only those
specified as part of the invocation, e.g.:

make check-tests TESTS="json jsonb"


diff --git a/GNUmakefile.in b/GNUmakefile.in
index 80116a1fbf93356579f780947cebf79a04c6e504..40ab2804f70cffb38c248dfd5eae06409d8ac358 100644 (file)
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -61,9 +61,9 @@ distclean maintainer-clean:
# Garbage from autoconf:
@rm -rf autom4te.cache/
-check: all
+check check-tests: all
-check installcheck installcheck-parallel:
+check check-tests installcheck installcheck-parallel installcheck-tests:
$(MAKE) -C src/test/regress $@
$(call recurse,check-world,src/test src/pl src/interfaces/ecpg contrib,check)
diff --git a/src/test/regress/GNUmakefile b/src/test/regress/GNUmakefile
index 94762d5077811edbacbb448a08125bdfe49127ce..b084e0a831eb82168d1c4599974ed4520feb6c33 100644 (file)
--- a/src/test/regress/GNUmakefile
+++ b/src/test/regress/GNUmakefile
@@ -142,12 +142,18 @@ REGRESS_OPTS = --dlpath=. $(EXTRA_REGRESS_OPTS)
check: all tablespace-setup
$(pg_regress_check) $(REGRESS_OPTS) --schedule=$(srcdir)/parallel_schedule $(MAXCONNOPT) $(TEMP_CONF) $(EXTRA_TESTS)
+check-tests: all tablespace-setup
+ $(pg_regress_check) $(REGRESS_OPTS) $(MAXCONNOPT) $(TEMP_CONF) $(TESTS) $(EXTRA_TESTS)
+
installcheck: all tablespace-setup
$(pg_regress_installcheck) $(REGRESS_OPTS) --schedule=$(srcdir)/serial_schedule $(EXTRA_TESTS)
installcheck-parallel: all tablespace-setup
$(pg_regress_installcheck) $(REGRESS_OPTS) --schedule=$(srcdir)/parallel_schedule $(MAXCONNOPT) $(EXTRA_TESTS)
+installcheck-tests: all tablespace-setup
+ $(pg_regress_installcheck) $(REGRESS_OPTS) $(TESTS) $(EXTRA_TESTS)
+
standbycheck: all
$(pg_regress_installcheck) $(REGRESS_OPTS) --schedule=$(srcdir)/standby_schedule --use-existing
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /