forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commiteb6765d
committed
Support absolute bindir/libdir in regression tests with meson
Passing an absolute bindir/libdir will install the binaries andlibraries to <build>/tmp_install/<bindir> and<build>/tmp_install/<libdir> respectively.This path is correctly passed to the regression test suite viaconfigure/make, but not via meson, yet. This is because the "/"operator in the following expression throws away the whole left sidewhen the right side is an absolute path: test_install_location / get_option('libdir')This was already correctly handled for dir_prefix, which is likelyabsolute as well. This patch handles both bindir and libdir in thesame way - prefixing absolute paths with the tmp_install pathcorrectly.Author: Wolfgang WaltherReviewed-by: Nazir Bilal Yavuz, Alvaro Herrera, Peter EisentrautReviewed-by: Tristan PartinDiscussion:https://www.postgresql.org/message-id/ca8f37e1-a2c3-40e2-91f6-59c3d3652ad4@technowledgy.deBackpatch: 16-, where meson support was added1 parenta32ffee commiteb6765d
1 file changed
+6
-5
lines changedLines changed: 6 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3268 | 3268 |
| |
3269 | 3269 |
| |
3270 | 3270 |
| |
3271 |
| - | |
| 3271 | + | |
| 3272 | + | |
3272 | 3273 |
| |
3273 | 3274 |
| |
3274 | 3275 |
| |
3275 | 3276 |
| |
3276 | 3277 |
| |
3277 | 3278 |
| |
3278 |
| - | |
3279 |
| - | |
| 3279 | + | |
| 3280 | + | |
| 3281 | + | |
3280 | 3282 |
| |
3281 | 3283 |
| |
3282 | 3284 |
| |
| |||
3313 | 3315 |
| |
3314 | 3316 |
| |
3315 | 3317 |
| |
3316 |
| - | |
3317 | 3318 |
| |
3318 | 3319 |
| |
3319 | 3320 |
| |
| |||
3328 | 3329 |
| |
3329 | 3330 |
| |
3330 | 3331 |
| |
3331 |
| - | |
| 3332 | + | |
3332 | 3333 |
| |
3333 | 3334 |
| |
3334 | 3335 |
| |
|
0 commit comments
Comments
(0)