Thread: pgsql: Print information about type of test and subdirectory before run
Print information about type of test and subdirectory before running tests. When testing check-world it's hard to know what the test the test failure output belongs to. The tap test output is especially problematic, partially due to our practice of reusing test names like 001_basic.pl. This isn't a real issue on the buildfarm, which invokes tests separately, but locally and for CI it's quite annoying. To fix, the test target provisos in Makefile.global.in now output echo "+++ (regress|isolation|tap) [install-]check in $(subdir) +++" before running the tests. Discussion: https://postgr.es/m/20220330165039.3zseuiraxfjkksf5@alap3.anarazel.de Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/28bdfa2adfc6afe4121614b500bfcb27b7c6b94c Modified Files -------------- src/Makefile.global.in | 7 +++++++ 1 file changed, 7 insertions(+)
Re: pgsql: Print information about type of test and subdirectory before run
From
Peter Eisentraut
Date:
On 31.03.22 20:21, Andres Freund wrote: > To fix, the test target provisos in Makefile.global.in now output > echo "+++ (regress|isolation|tap) [install-]check in $(subdir) +++" > before running the tests. For external extension modules (PGXS), subdir is usually not set, so this output looks a bit silly then. Perhaps this should be conditional on subdir being set, something like $(if $(subdir),echo ...)