Content-Length: 278160 | pFad | http://github.com/postgrespro/postgres/commit/ef158312e96960bfbc802ceda58f432f6fd845eb

D9 Attempt to get plpython regression tests working again for MSVC builds. · postgrespro/postgres@ef15831 · GitHub
Skip to content

Commit ef15831

Browse files
committed
Attempt to get plpython regression tests working again for MSVC builds.
This has probably been broken for quite a long time. Buildfarm member currawong's current results suggest that it's been broken since 9.1, so backpatch this to that branch. This only supports Python 2 - I will handle Python 3 separately, but this is a fairly simple fix.
1 parent 95cb917 commit ef15831

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/tools/msvc/vcregress.pl

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,15 @@ sub plcheck
170170
{
171171
next unless -d "$pl/sql" && -d "$pl/expected";
172172
my $lang = $pl eq 'tcl' ? 'pltcl' : $pl;
173-
next unless -d "../../$Config/$lang";
174-
$lang = 'plpythonu' if $lang eq 'plpython';
173+
if ($lang eq 'plpython')
174+
{
175+
next unless -d "../../$Config/plpython2";
176+
$lang = 'plpythonu';
177+
}
178+
else
179+
{
180+
next unless -d "../../$Config/$lang";
181+
}
175182
my @lang_args = ("--load-extension=$lang");
176183
chdir $pl;
177184
my @tests = fetchTests();

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/ef158312e96960bfbc802ceda58f432f6fd845eb

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy