postgres.git / summary / log / commit / refs
commit 7a8b468fc1f8413c2d7e9db7cbc2fa4b2e9c150d
Author: Andrew Dunstan <andrew@dunslane.net>
Date: Tue Mar 02 18:15:53 2010 +0000
First released in: 9.0.0, 8.3.10, 8.4.3
Do not run regression tests for contrib/xml2 on MSVC unless building with XML
src/tools/msvc/vcregress.pl | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/tools/msvc/vcregress.pl b/src/tools/msvc/vcregress.pl
index 32e2548e976..6191855cffa 100644
--- a/src/tools/msvc/vcregress.pl
+++ b/src/tools/msvc/vcregress.pl
@@ -1,7 +1,7 @@
# -*-perl-*- hey - emacs - this is a perl file
-# $PostgreSQL: pgsql/src/tools/msvc/vcregress.pl,v 1.6 2007/11/13 22:49:47 tgl Exp $
+# $PostgreSQL: pgsql/src/tools/msvc/vcregress.pl,v 1.6.2.1 2010/03/02 18:15:53 adunstan Exp $
use strict;
@@ -14,6 +14,8 @@ my $startdir = getcwd();
chdir "../../.." if (-d "../../../src/tools/msvc");
+require 'src/tools/msvc/config.pl';
+
# buildenv.pl is for specifying the build environment settings
# it should contian lines like:
# $ENV{PATH} = "c:/path/to/bison/bin;$ENV{PATH}";
@@ -188,6 +190,7 @@ sub contribcheck
my $mstat = 0;
foreach my $module (glob("*"))
{
+ next if ($module eq 'xml2' && ! $config->{xml});
next unless -d "$module/sql" &&
-d "$module/expected" &&
(-f "$module/Makefile" || -f "$module/GNUmakefile");
[parent: deb5f53b6cf2]