]> granicus.if.org Git - postgresql/commitdiff
Add new make targets check-tests and installcheck-tests.
authorAndrew Dunstan <andrew@dunslane.net>
Tue, 28 Jan 2014 23:10:00 +0000 (18:10 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Tue, 28 Jan 2014 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"

GNUmakefile.in
src/test/regress/GNUmakefile

index 80116a1fbf93356579f780947cebf79a04c6e504..40ab2804f70cffb38c248dfd5eae06409d8ac358 100644 (file)
@@ -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)
index 94762d5077811edbacbb448a08125bdfe49127ce..b084e0a831eb82168d1c4599974ed4520feb6c33 100644 (file)
@@ -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