Re: Another usability issue with our TAP tests
От | Peter Eisentraut |
---|---|
Тема | Re: Another usability issue with our TAP tests |
Дата | |
Msg-id | 97478f64-bfd4-de14-e89e-45a52e1d29a9@2ndquadrant.com обсуждение исходный текст |
Ответ на | Another usability issue with our TAP tests (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Another usability issue with our TAP tests
|
Список | pgsql-hackers |
On 16.07.18 19:13, Tom Lane wrote: > But a TAP test failure leaves nothing behind that git will consider > unusual. I've repeatedly had to run check-world with no parallelism > (wasting many minutes) in order to locate which test actually failed. How about something like this: diff --git a/src/Makefile.global.in b/src/Makefile.global.in index 95d090e72d..12114d8427 100644 --- a/src/Makefile.global.in +++ b/src/Makefile.global.in @@ -396,7 +396,7 @@ endif PROVE = @PROVE@ # There are common routines in src/test/perl, and some test suites have # extra perl modules in their own directory. -PG_PROVE_FLAGS = -I $(top_srcdir)/src/test/perl/ -I $(srcdir) +PG_PROVE_FLAGS = -I $(top_srcdir)/src/test/perl/ -I $(srcdir) --state=save # User-supplied prove flags such as --verbose can be provided in PROVE_FLAGS. PROVE_FLAGS = @@ -420,12 +420,14 @@ define prove_installcheck rm -rf '$(CURDIR)'/tmp_check $(MKDIR_P) '$(CURDIR)'/tmp_check cd $(srcdir) && TESTDIR='$(CURDIR)' PATH="$(bindir):$$PATH" PGPORT='6$(DEF_PGPORT)' top_builddir='$(CURDIR)/$(top_builddir)'PG_REGRESS='$(CURDIR)/$(top_builddir)/src/test/regress/pg_regress' $(PROVE) $(PG_PROVE_FLAGS)$(PROVE_FLAGS) $(if $(PROVE_TESTS),$(PROVE_TESTS),t/*.pl) +@rm -f .prove endef define prove_check rm -rf '$(CURDIR)'/tmp_check $(MKDIR_P) '$(CURDIR)'/tmp_check cd $(srcdir) && TESTDIR='$(CURDIR)' $(with_temp_install) PGPORT='6$(DEF_PGPORT)' PG_REGRESS='$(CURDIR)/$(top_builddir)/src/test/regress/pg_regress'$(PROVE) $(PG_PROVE_FLAGS) $(PROVE_FLAGS) $(if $(PROVE_TESTS),$(PROVE_TESTS),t/*.pl) +@rm -f .prove endef else -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: