forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7f61882
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 parent23be520 commit7f61882
1 file changed
+7
-5
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3138 | 3138 |
| |
3139 | 3139 |
| |
3140 | 3140 |
| |
3141 |
| - | |
| 3141 | + | |
| 3142 | + | |
3142 | 3143 |
| |
3143 | 3144 |
| |
3144 | 3145 |
| |
3145 | 3146 |
| |
3146 | 3147 |
| |
3147 | 3148 |
| |
3148 |
| - | |
3149 |
| - | |
| 3149 | + | |
| 3150 | + | |
| 3151 | + | |
3150 | 3152 |
| |
3151 | 3153 |
| |
3152 | 3154 |
| |
| |||
3183 | 3185 |
| |
3184 | 3186 |
| |
3185 | 3187 |
| |
3186 |
| - | |
| 3188 | + | |
3187 | 3189 |
| |
3188 | 3190 |
| |
3189 | 3191 |
| |
| |||
3196 | 3198 |
| |
3197 | 3199 |
| |
3198 | 3200 |
| |
3199 |
| - | |
| 3201 | + | |
3200 | 3202 |
| |
3201 | 3203 |
| |
3202 | 3204 |
| |
|
0 commit comments
Comments
(0)