forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0f7c0fb
committed
Make test portlock logic work with meson
Previously the portlock logic, added in9b4eafc, didn't actually workproperly when the tests were run via meson.9b4eafc used theMESON_BUILD_ROOT environment variable to determine the directory for the portlock directory, but that's never set for running the tests. That meant thateach test used its own portlock dir, unless the PG_TEST_PORT_DIR environmentvariable was set.Fix the problem by setting top_builddir for the environment. That's also usedfor 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: 161 parent310907a commit0f7c0fb
2 files changed
+3
-3
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3375 | 3375 |
| |
3376 | 3376 |
| |
3377 | 3377 |
| |
| 3378 | + | |
| 3379 | + | |
3378 | 3380 |
| |
3379 | 3381 |
| |
3380 | 3382 |
| |
|
Lines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
167 | 167 |
| |
168 | 168 |
| |
169 | 169 |
| |
170 |
| - | |
171 |
| - | |
172 |
| - | |
| 170 | + | |
173 | 171 |
| |
174 | 172 |
| |
175 | 173 |
| |
|
0 commit comments
Comments
(0)