Skip to content

Commit c4dcdd0

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 31a469c commit c4dcdd0

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
@@ -169,8 +169,15 @@ sub plcheck
169169
{
170170
next unless -d "$pl/sql" && -d "$pl/expected";
171171
my $lang = $pl eq 'tcl' ? 'pltcl' : $pl;
172-
next unless -d "../../$Config/$lang";
173-
$lang = 'plpythonu' if $lang eq 'plpython';
172+
if ($lang eq 'plpython')
173+
{
174+
next unless -d "../../$Config/plpython2";
175+
$lang = 'plpythonu';
176+
}
177+
else
178+
{
179+
next unless -d "../../$Config/$lang";
180+
}
174181
my @lang_args = ("--load-extension=$lang");
175182
chdir $pl;
176183
my @tests = fetchTests();

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy