forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf4ce6c4
committed
Add module build directory to the PATH for TAP tests
For non-MSVC builds this is make's $(CURDIR), while for MSVC builds itis $topdir/$Config/$module. The directory is added as the second elementin the PATH, so that the install location takes precedence, but theadded PATH element takes precedence over the rest of the PATH.The reason for this is to allow tests to find built products that arenot installed, such as the libpq_pipeline test driver.The libpq_pipeline test is adjusted to take advantage of this.Based on a suggestion from Andres Freund.Backpatch to release 14.Discussion:https://postgr.es/m/4941f5a5-2d50-1a0e-6701-14c5fefe92d6@dunslane.net1 parentb1ce6c2 commitf4ce6c4
File tree
3 files changed
+11
-9
lines changed- src
- test/modules/libpq_pipeline/t
- tools/msvc
3 files changed
+11
-9
lines changedLines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
438 | 438 |
| |
439 | 439 |
| |
440 | 440 |
| |
441 |
| - | |
| 441 | + | |
442 | 442 |
| |
443 | 443 |
| |
444 | 444 |
| |
| |||
449 | 449 |
| |
450 | 450 |
| |
451 | 451 |
| |
452 |
| - | |
453 |
| - | |
| 452 | + | |
| 453 | + | |
454 | 454 |
| |
455 | 455 |
| |
456 | 456 |
| |
| |||
459 | 459 |
| |
460 | 460 |
| |
461 | 461 |
| |
462 |
| - | |
463 |
| - | |
| 462 | + | |
| 463 | + | |
464 | 464 |
| |
465 | 465 |
| |
466 | 466 |
| |
|
Lines changed: 3 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
18 | 17 |
| |
19 |
| - | |
| 18 | + | |
20 | 19 |
| |
21 | 20 |
| |
22 | 21 |
| |
| |||
39 | 38 |
| |
40 | 39 |
| |
41 | 40 |
| |
42 |
| - | |
43 |
| - | |
| 41 | + | |
| 42 | + | |
44 | 43 |
| |
45 | 44 |
| |
46 | 45 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
248 | 248 |
| |
249 | 249 |
| |
250 | 250 |
| |
| 251 | + | |
| 252 | + | |
| 253 | + | |
251 | 254 |
| |
252 | 255 |
| |
253 | 256 |
| |
|
0 commit comments
Comments
(0)