Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
d1eaa42f
Commit
d1eaa42f
authored
18 years ago
by
Magnus Hagander
Browse files
Options
Downloads
Patches
Plain Diff
Add extra checks for buildfarm to pick up errors when running
on XP or earlier versions of Windows. Andrew Dunstan
parent
a03e8ad2
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/tools/msvc/build.bat
+3
-1
3 additions, 1 deletion
src/tools/msvc/build.bat
src/tools/msvc/install.bat
+5
-1
5 additions, 1 deletion
src/tools/msvc/install.bat
src/tools/msvc/vcregress.bat
+14
-1
14 additions, 1 deletion
src/tools/msvc/vcregress.bat
with
22 additions
and
3 deletions
src/tools/msvc/build.bat
+
3
−
1
View file @
d1eaa42f
@echo
off
REM $PostgreSQL: pgsql/src/tools/msvc/build.bat,v 1.
8
2007/0
4/18 10:14:0
6 mha Exp $
REM $PostgreSQL: pgsql/src/tools/msvc/build.bat,v 1.
9
2007/0
6/26 11:43:5
6 mha Exp $
SETLOCAL
SET
STARTDIR
=
%CD%
...
...
@@ -32,4 +32,6 @@ SET E=%ERRORLEVEL%
cd
%STARTDIR%
REM exit fix for pre-2003 shell especially if used on buildfarm
if
"
%XP_EXIT_FIX%
"
==
"yes"
exit
%E%
exit
/b
%E%
This diff is collapsed.
Click to expand it.
src/tools/msvc/install.bat
+
5
−
1
View file @
d1eaa42f
@echo
off
REM $PostgreSQL: pgsql/src/tools/msvc/install.bat,v 1.
1
2007/0
5/01 20:11:14
mha Exp $
REM $PostgreSQL: pgsql/src/tools/msvc/install.bat,v 1.
2
2007/0
6/26 11:43:56
mha Exp $
if
NOT
"
%
1"
==
""
GOTO
RUN_INSTALL
echo
Invalid
command
line
options
.
echo
Usage
:
"install.bat <path>"
echo
.
REM exit fix for pre-2003 shell especially if used on buildfarm
if
"
%XP_EXIT_FIX%
"
==
"yes"
exit
1
exit
/b
1
:RUN
_INSTALL
...
...
@@ -15,4 +17,6 @@ if exist buildenv.bat call buildenv.bat
perl
install
.pl
"
%
1"
REM exit fix for pre-2003 shell especially if used on buildfarm
if
"
%XP_EXIT_FIX%
"
==
"yes"
exit
%ERRORLEVEL%
exit
/b
%ERRORLEVEL%
This diff is collapsed.
Click to expand it.
src/tools/msvc/vcregress.bat
+
14
−
1
View file @
d1eaa42f
@echo
off
REM $PostgreSQL: pgsql/src/tools/msvc/vcregress.bat,v 1.1
2
2007/06/
1
2 11:
07:34
mha Exp $
REM $PostgreSQL: pgsql/src/tools/msvc/vcregress.bat,v 1.1
3
2007/06/2
6
11:
43:56
mha Exp $
SETLOCAL
SET
STARTDIR
=
%CD%
...
...
@@ -32,6 +32,8 @@ IF NOT "%2"=="" SET SCHEDULE=%2
IF
"
%what%
"
==
"ECPGCHECK"
(
cd
"
%STARTDIR%
"
msbuild
ecpg_regression
.proj
/p
:config
=
%CONFIG%
REM exit fix for pre-2003 shell especially if used on buildfarm
if
"
%XP_EXIT_FIX%
"
==
"yes"
if
errorlevel
1
exit
1
if
errorlevel
1
exit
/b
1
cd
"
%TOPDIR%
"
cd
src
\interfaces\ecpg\test
...
...
@@ -48,6 +50,8 @@ if "%what%"=="CONTRIBCHECK" call :contribcheck
SET
E
=
%ERRORLEVEL%
cd
"
%STARTDIR%
"
REM exit fix for pre-2003 shell especially if used on buildfarm
if
"
%XP_EXIT_FIX%
"
==
"yes"
exit
%E%
exit
/b
%E%
:usage
...
...
@@ -61,8 +65,11 @@ REM Some workarounds due to inconsistently named directories
cd
..\..\PL
FOR
/D
%%d
IN
(*)
do
if
exist
%%d
\sql
if
exist
%%d
\expected
(
if
exist
..\..\
%CONFIG%
\
%%d
call
:oneplcheck
%%d
REM exit fix for pre-2003 shell especially if used on buildfarm
if
"
%XP_EXIT_FIX%
"
==
"yes"
if
errorlevel
1
exit
1
if
errorlevel
1
exit
/b
1
if
exist
..\..\
%CONFIG%
\pl
%%d
call
:oneplcheck
%%d
if
"
%XP_EXIT_FIX%
"
==
"yes"
if
errorlevel
1
exit
1
if
errorlevel
1
exit
/b
1
)
goto
:eof
...
...
@@ -83,6 +90,8 @@ del regress.tmp.bat
..\..\..\
%CONFIG%
\pg_regress\pg_regress
--psqldir
=
..\..\..\
%CONFIG%
\psql
--no-locale --load-language
=
%PL%
%TESTS%
set
E
=
%ERRORLEVEL%
cd
..
REM exit fix for pre-2003 shell especially if used on buildfarm
if
"
%XP_EXIT_FIX%
"
==
"yes"
exit
%E%
exit
/b
%E%
...
...
@@ -94,6 +103,8 @@ for /d %%d IN (*) do if exist %%d\sql if exist %%d\expected if exist %%d\Makefil
call
:onecontribcheck
%%d
if
errorlevel
1
set
CONTRIBERROR
=
1
)
REM exit fix for pre-2003 shell especially if used on buildfarm
if
"
%XP_EXIT_FIX%
"
==
"yes"
if
%CONTRIBERROR%
==
1
exit
1
if
%CONTRIBERROR%
==
1
exit
/b
1
goto
:eof
...
...
@@ -110,4 +121,6 @@ del regress.tmp.bat
..\..\
%CONFIG%
\pg_regress\pg_regress
--psqldir
=
..\..\
%CONFIG%
\psql
--no-locale --dbname
=
contrib_regression
%TESTS%
set
E
=
%ERRORLEVEL%
cd
..
REM exit fix for pre-2003 shell especially if used on buildfarm
if
"
%XP_EXIT_FIX%
"
==
"yes"
exit
%E%
exit
/b
%E%
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment