Use expecteddir option in _run_pg_regress() (#7582)

Fix check-arbitrary-configs tests failure with current REL_16_STABLE.
This is the same problem as described in #7573. I missed pg_regress call
in _run_pg_regress() in that PR.

Co-authored-by: Karina Litskevich <litskevichkarina@gmail.com>
pull/7570/head^2
Karina 2024-04-16 11:44:47 +03:00 committed by GitHub
parent a263ac6f5f
commit 41e2af8ff5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -294,6 +294,9 @@ def _run_pg_regress(
output_dir, output_dir,
"--use-existing", "--use-existing",
] ]
if PG_MAJOR_VERSION >= 16:
command.append("--expecteddir")
command.append(output_dir)
if extra_tests != "": if extra_tests != "":
command.append(extra_tests) command.append(extra_tests)