aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2007-04-05 12:31:36 +0000
committerMagnus Hagander <magnus@hagander.net>2007-04-05 12:31:36 +0000
commitab94cc92e4d694d90a7d75dcfe56874730ea5926 (patch)
tree0447613d05517ac5fb32b600f7839b98c2c10ad7 /src
parent4c4013029632a68e5552ef7391fa2ae0e01e2eb8 (diff)
downloadpostgresql-ab94cc92e4d694d90a7d75dcfe56874730ea5926.tar.gz
postgresql-ab94cc92e4d694d90a7d75dcfe56874730ea5926.zip
Continue running contrib regression tests if one fails, and exit
with errorlevel 1 is >= 1 checks failed.
Diffstat (limited to 'src')
-rw-r--r--src/tools/msvc/vcregress.bat6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tools/msvc/vcregress.bat b/src/tools/msvc/vcregress.bat
index febe7cfe69d..44fe4afd767 100644
--- a/src/tools/msvc/vcregress.bat
+++ b/src/tools/msvc/vcregress.bat
@@ -1,5 +1,5 @@
@echo off
-REM $PostgreSQL: pgsql/src/tools/msvc/vcregress.bat,v 1.8 2007/04/05 12:10:40 mha Exp $
+REM $PostgreSQL: pgsql/src/tools/msvc/vcregress.bat,v 1.9 2007/04/05 12:31:36 mha Exp $
SETLOCAL
SET STARTDIR=%CD%
@@ -78,10 +78,12 @@ exit /b %E%
REM Check contrib modules
:contribcheck
cd ..\..\..\contrib
+set CONTRIBERROR=0
for /d %%d IN (*) do if exist %%d\sql if exist %%d\expected (
call :onecontribcheck %%d
- if errorlevel 1 exit /b 1
+ if errorlevel 1 set CONTRIBERROR=1
)
+if %CONTRIBERROR%==1 exit /b 1
goto :eof
REM Check a single contrib module