mirror of https://github.com/postgres/postgres
Previously the portlock logic, added inpull/200/head9b4eafcaf4
, didn't actually work properly when the tests were run via meson.9b4eafcaf4
used the MESON_BUILD_ROOT environment variable to determine the directory for the port lock directory, but that's never set for running the tests. That meant that each test used its own portlock dir, unless the PG_TEST_PORT_DIR environment variable was set. Fix the problem by setting top_builddir for the environment. That's also used for the autoconf/make build. Backpatch back to 16, where meson support was added. Reported-by: Zharkov Roman <r.zharkov@postgrespro.ru> Reviewed-by: Andrew Dunstan <andrew@dunslane.net> Backpatch-through: 16
parent
665cafe8a4
commit
32ce58e9e9
Loading…
Reference in new issue