- Notifications
You must be signed in to change notification settings - Fork16
Commit3f484de
Marina Polyakova
PGPRO-5983: fix Perl tests due to changes in PostgreSQL 15devel
The standard PostgreSQL Perl modules for testing have been moved and some havebeen renamed. Try to maintain both old and new modules by exporting theenviromental variable VERSION_NUM and conditionally loading the required modulesat compile time. We cannot load these modules at runtime because they can haveINIT blocks.Also use Perl's 'eval' function to call functions from these modules so we don'tget compilation errors due to conditionally loading modules.The enviromental variable PG_15_PERL_MUDULES is for running tests on Windowsusing MSVC because I'm not sure if it would be better to try to find and exportthe variable VERSION_NUM in vcregress.pl.. It also seems to be easier to justexport the variable VERSION_NUM in Makefile on Linux instead of creating aversion check using shell commands..1 parentb5d2c58 commit3f484de
2 files changed
+36
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | 9 | | |
12 | 10 | | |
13 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
14 | 25 | | |
15 | 26 | | |
16 | 27 | | |
17 | 28 | | |
18 | 29 | | |
19 | 30 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
28 | 48 | | |
29 | 49 | | |
30 | 50 | | |
| |||
0 commit comments
Comments
(0)