Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd3c7498

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 membercurrawong's current results suggest that it's been broken since 9.1, sobackpatch this to that branch.This only supports Python 2 - I will handle Python 3 separately, butthis is a fairly simple fix.
1 parentbac05d6 commitd3c7498

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp