mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
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.
This commit is contained in:
parent
95cb917297
commit
ef158312e9
@ -170,8 +170,15 @@ sub plcheck
|
||||
{
|
||||
next unless -d "$pl/sql" && -d "$pl/expected";
|
||||
my $lang = $pl eq 'tcl' ? 'pltcl' : $pl;
|
||||
next unless -d "../../$Config/$lang";
|
||||
$lang = 'plpythonu' if $lang eq 'plpython';
|
||||
if ($lang eq 'plpython')
|
||||
{
|
||||
next unless -d "../../$Config/plpython2";
|
||||
$lang = 'plpythonu';
|
||||
}
|
||||
else
|
||||
{
|
||||
next unless -d "../../$Config/$lang";
|
||||
}
|
||||
my @lang_args = ("--load-extension=$lang");
|
||||
chdir $pl;
|
||||
my @tests = fetchTests();
|
||||
|
Loading…
Reference in New Issue
Block a user