mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
Provide for testing on python3 modules when under MSVC
This should have been done some years ago as promised in commit
c4dcdd0c2
. However, better late than never.
Along the way do a little housekeeping, including using a simpler test
for the python version being tested, and removing a redundant subroutine
parameter. These changes only apply back to release 9.5.
Backpatch to all live releases.
This commit is contained in:
@ -461,16 +461,12 @@ sub CopyContribFiles
|
||||
opendir($D, $subdir) || croak "Could not opendir on $subdir!\n";
|
||||
while (my $d = readdir($D))
|
||||
{
|
||||
|
||||
# These configuration-based exclusions must match vcregress.pl
|
||||
next if ($d eq "uuid-ossp" && !defined($config->{uuid}));
|
||||
next if ($d eq "sslinfo" && !defined($config->{openssl}));
|
||||
next if ($d eq "xml2" && !defined($config->{xml}));
|
||||
next if ($d eq "hstore_plperl" && !defined($config->{perl}));
|
||||
next if ($d eq "jsonb_plperl" && !defined($config->{perl}));
|
||||
next if ($d eq "hstore_plpython" && !defined($config->{python}));
|
||||
next if ($d eq "jsonb_plpython" && !defined($config->{python}));
|
||||
next if ($d eq "ltree_plpython" && !defined($config->{python}));
|
||||
next if ($d =~ /_plperl$/ && !defined($config->{perl}));
|
||||
next if ($d =~ /_plpython$/ && !defined($config->{python}));
|
||||
next if ($d eq "sepgsql");
|
||||
|
||||
CopySubdirFiles($subdir, $d, $config, $target);
|
||||
|
Reference in New Issue
Block a user