Skip to content
Snippets Groups Projects
Commit 3c5d5f07 authored by Magnus Hagander's avatar Magnus Hagander
Browse files

Properly return exitcode when regression tests fails.

parent 18d82d03
No related branches found
No related tags found
No related merge requests found
@echo off @echo off
REM $PostgreSQL: pgsql/src/tools/msvc/vcregress.bat,v 1.3 2007/03/17 14:01:01 mha Exp $ REM $PostgreSQL: pgsql/src/tools/msvc/vcregress.bat,v 1.4 2007/03/21 15:39:03 mha Exp $
SETLOCAL SETLOCAL
SET STARTDIR=%CD% SET STARTDIR=%CD%
...@@ -30,9 +30,10 @@ SET PERL5LIB=..\..\tools\msvc ...@@ -30,9 +30,10 @@ SET PERL5LIB=..\..\tools\msvc
if "%what%"=="INSTALLCHECK" ..\..\..\%CONFIG%\pg_regress\pg_regress --psqldir=..\..\..\%CONFIG%\psql --schedule=%SCHEDULE%_schedule --multibyte=SQL_ASCII --load-language=plpgsql --no-locale if "%what%"=="INSTALLCHECK" ..\..\..\%CONFIG%\pg_regress\pg_regress --psqldir=..\..\..\%CONFIG%\psql --schedule=%SCHEDULE%_schedule --multibyte=SQL_ASCII --load-language=plpgsql --no-locale
if "%what%"=="CHECK" ..\..\..\%CONFIG%\pg_regress\pg_regress --psqldir=..\..\..\%CONFIG%\psql --schedule=%SCHEDULE%_schedule --multibyte=SQL_ASCII --load-language=plpgsql --no-locale --temp-install=./tmp_check --top-builddir=%TOPDIR% --temp-port=%TEMPPORT% if "%what%"=="CHECK" ..\..\..\%CONFIG%\pg_regress\pg_regress --psqldir=..\..\..\%CONFIG%\psql --schedule=%SCHEDULE%_schedule --multibyte=SQL_ASCII --load-language=plpgsql --no-locale --temp-install=./tmp_check --top-builddir=%TOPDIR% --temp-port=%TEMPPORT%
SET E=%ERRORLEVEL%
cd %STARTDIR% cd %STARTDIR%
goto :eof exit /b %E%
:usage :usage
echo "Usage: vcregress <check|installcheck> [schedule]" echo "Usage: vcregress <check|installcheck> [schedule]"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment