- Notifications
You must be signed in to change notification settings - Fork5
Commitb2e3bea
committed
PL/Python: Improve Python 3 regression test setup
Currently, we are making mangled copies of plpython/{expected,sql} toplpython/python3/{expected,sql}, and run the tests inplpython/python3. This has the disadvantage that the regression.diffsfile, if any, ends up in plpython/python3, which is not the normallocation. If we instead make the mangled copies inplpython/{expected,sql}/python3/, we can run the tests from the normaldirectory, regression.diffs ends up the normal place, and thepg_regress invocation also becomes a lot simpler. It's also moreobvious at run time what's going on, because the tests end up beingnamed "python3/something" in the test output.1 parent3b8968f commitb2e3bea
2 files changed
+24
-13
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
3 | 4 |
| |
4 | 5 |
| |
| 6 | + | |
5 | 7 |
|
Lines changed: 22 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
103 | 103 |
| |
104 | 104 |
| |
105 | 105 |
| |
| 106 | + | |
| 107 | + | |
106 | 108 |
| |
107 | 109 |
| |
108 | 110 |
| |
| |||
129 | 131 |
| |
130 | 132 |
| |
131 | 133 |
| |
132 |
| - | |
133 |
| - | |
134 |
| - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
135 | 148 |
| |
136 | 149 |
| |
137 | 150 |
| |
| |||
143 | 156 |
| |
144 | 157 |
| |
145 | 158 |
| |
146 |
| - | |
| 159 | + | |
147 | 160 |
| |
148 | 161 |
| |
149 |
| - | |
150 |
| - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
151 | 165 |
| |
152 |
| - | |
153 |
| - | |
| 166 | + | |
154 | 167 |
| |
155 |
| - | |
156 |
| - | |
157 | 168 |
| |
158 |
| - | |
159 |
| - | |
160 | 169 |
| |
161 | 170 |
| |
162 | 171 |
| |
163 | 172 |
| |
164 | 173 |
| |
165 |
| - | |
| 174 | + | |
166 | 175 |
| |
167 | 176 |
| |
168 | 177 |
| |
|
0 commit comments
Comments
(0)