forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitff34ae3
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 parent4d8de28 commitff34ae3
1 file changed
+6
-5
lines changedLines changed: 6 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3270 | 3270 |
| |
3271 | 3271 |
| |
3272 | 3272 |
| |
3273 |
| - | |
| 3273 | + | |
| 3274 | + | |
3274 | 3275 |
| |
3275 | 3276 |
| |
3276 | 3277 |
| |
3277 | 3278 |
| |
3278 | 3279 |
| |
3279 | 3280 |
| |
3280 |
| - | |
3281 |
| - | |
| 3281 | + | |
| 3282 | + | |
| 3283 | + | |
3282 | 3284 |
| |
3283 | 3285 |
| |
3284 | 3286 |
| |
| |||
3315 | 3317 |
| |
3316 | 3318 |
| |
3317 | 3319 |
| |
3318 |
| - | |
3319 | 3320 |
| |
3320 | 3321 |
| |
3321 | 3322 |
| |
| |||
3330 | 3331 |
| |
3331 | 3332 |
| |
3332 | 3333 |
| |
3333 |
| - | |
| 3334 | + | |
3334 | 3335 |
| |
3335 | 3336 |
| |
3336 | 3337 |
| |
|
0 commit comments
Comments
(0)