]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Consider a failed process as a failed test in pg_regress
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Thu, 23 Feb 2023 08:25:47 +0000 (09:25 +0100)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Thu, 23 Feb 2023 08:25:47 +0000 (09:25 +0100)
commit337903a16fb0980950a98a17c388b28da8642446
treeb849fd893b381bf01d2aa630fc8a71fa44036f38
parent78be04e4c672a3ffb9c92dbb172dbd16edce8941
Consider a failed process as a failed test in pg_regress

Commit 55de145d1cf added reporting of child process failures, but the
test suite is still allowed to pass even if the process failed. Since
regress tests are higher level tests, a false positive is more likely
in this case so report failed test processes as failed tests.

Reported-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/82C46B5E-1821-4039-82C2-56BCA5992989@yesql.se
Discussion: https://postgr.es/m/20221122235636.4frx7hjterq6bmls@awork3.anarazel.de
src/test/regress/pg_regress.c