Commit 4ab911da authored by Andrew Dunstan's avatar Andrew Dunstan

Do not run regression tests for contrib/xml2 on MSVC unless building with XML

parent e664969f
# -*-perl-*- hey - emacs - this is a perl file # -*-perl-*- hey - emacs - this is a perl file
# $PostgreSQL: pgsql/src/tools/msvc/vcregress.pl,v 1.13 2010/01/09 15:25:41 adunstan Exp $ # $PostgreSQL: pgsql/src/tools/msvc/vcregress.pl,v 1.14 2010/03/02 17:06:51 adunstan Exp $
use strict; use strict;
...@@ -14,6 +14,8 @@ my $startdir = getcwd(); ...@@ -14,6 +14,8 @@ my $startdir = getcwd();
chdir "../../.." if (-d "../../../src/tools/msvc"); chdir "../../.." if (-d "../../../src/tools/msvc");
require 'src/tools/msvc/config.pl';
# buildenv.pl is for specifying the build environment settings # buildenv.pl is for specifying the build environment settings
# it should contian lines like: # it should contian lines like:
# $ENV{PATH} = "c:/path/to/bison/bin;$ENV{PATH}"; # $ENV{PATH} = "c:/path/to/bison/bin;$ENV{PATH}";
...@@ -190,6 +192,7 @@ sub contribcheck ...@@ -190,6 +192,7 @@ sub contribcheck
my $mstat = 0; my $mstat = 0;
foreach my $module (glob("*")) foreach my $module (glob("*"))
{ {
next if ($module eq 'xml2' && ! $config->{xml});
next unless -d "$module/sql" && next unless -d "$module/sql" &&
-d "$module/expected" && -d "$module/expected" &&
(-f "$module/GNUmakefile" || -f "$module/Makefile"); (-f "$module/GNUmakefile" || -f "$module/Makefile");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment