Use expecteddir option in _run_pg_regress()

pull/7582/head
Karina Litskevich 2024-04-15 16:34:36 +03:00
parent 110b4192b2
commit e32ba70340
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)