]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix handling of expecteddir in pg_regress
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Fri, 15 Mar 2024 16:02:07 +0000 (17:02 +0100)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Fri, 15 Mar 2024 16:02:07 +0000 (17:02 +0100)
commit56432629999736b5cdd6fa8e56545d8ac5da281f
tree57f943b1cb2c523c55343d941a6f1e5906bdc8de
parent4e1ff2aadefbfbf798a4d318514ac85b2fbdc5aa
Fix handling of expecteddir in pg_regress

Commit c855872074b introduced a new parameter to pg_regress to set
the directory where to look for expected files, but accidentally
only implemented it for when compiling pg_regress for ECPG tests.
Fix by adding support for the parameter to the main regression test
compilation of pg_regress as well.

Backpatch to v16 where --expecteddir was introduced.

Author: Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>
Discussion: https://postgr.es/m/CAO6_Xqq5yKJHcJsq__LPcKwSY0XHRqVERNWGxx5ttNXXj7+W=A@mail.gmail.com
Backpatch-through: 16
src/test/regress/pg_regress_main.c