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
3024b0aa
Commit
3024b0aa
authored
18 years ago
by
Magnus Hagander
Browse files
Options
Downloads
Patches
Plain Diff
Support for running contribcheck on msvc
parent
e69f7f45
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/src/sgml/install-win32.sgml
+4
-1
4 additions, 1 deletion
doc/src/sgml/install-win32.sgml
src/tools/msvc/vcregress.bat
+26
-2
26 additions, 2 deletions
src/tools/msvc/vcregress.bat
with
30 additions
and
3 deletions
doc/src/sgml/install-win32.sgml
+
4
−
1
View file @
3024b0aa
<!-- $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.3
5
2007/03/2
1 19:22
:5
2
mha Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.3
6
2007/03/2
3 09:57
:5
5
mha Exp $ -->
<chapter id="install-win32">
<title>Installation on <productname>Windows</productname></title>
...
...
@@ -269,6 +269,9 @@
<userinput>
vcregress plcheck
</userinput>
<userinput>
vcregress contribcheck
</userinput>
</screen>
To change the schedule used (default is the parallel), append it to the
...
...
This diff is collapsed.
Click to expand it.
src/tools/msvc/vcregress.bat
+
26
−
2
View file @
3024b0aa
@echo
off
REM $PostgreSQL: pgsql/src/tools/msvc/vcregress.bat,v 1.
5
2007/03/2
1 16:21:40
mha Exp $
REM $PostgreSQL: pgsql/src/tools/msvc/vcregress.bat,v 1.
6
2007/03/2
3 09:57:55
mha Exp $
SETLOCAL
SET
STARTDIR
=
%CD%
...
...
@@ -10,6 +10,7 @@ set what=
if
/I
"
%
1"
==
"check"
SET
what
=
CHECK
if
/I
"
%
1"
==
"installcheck"
SET
what
=
INSTALLCHECK
if
/I
"
%
1"
==
"plcheck"
SET
what
=
PLCHECK
if
/I
"
%
1"
==
"contribcheck"
SET
what
=
CONTRIBCHECK
if
"
%what%
"
==
""
goto
usage
SET
CONFIG
=
Debug
...
...
@@ -19,7 +20,7 @@ copy %CONFIG%\refint\refint.dll contrib\spi\
copy
%CONFIG%
\autoinc\autoinc.dll
contrib
\spi\
copy
%CONFIG%
\regress\regress.dll
src
\test\regress\
SET
PATH
=
..\..\..\
%CONFIG%
\libpq
;
%PATH%
SET
PATH
=
..\..\..\
%CONFIG%
\libpq
;
..\..\
%CONFIG%
\libpq
;
%PATH%
SET
TOPDIR
=
%CD%
cd
src
\test\regress
...
...
@@ -32,6 +33,7 @@ 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%
"
==
"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%
"
==
"PLCHECK"
call
:plcheck
if
"
%what%
"
==
"CONTRIBCHECK"
call
:contribcheck
SET
E
=
%ERRORLEVEL%
cd
%STARTDIR%
...
...
@@ -69,3 +71,25 @@ del regress.tmp.bat
set
E
=
%ERRORLEVEL%
cd
..
exit
/b
%E%
REM Check contrib modules
:contribcheck
cd
..\..\..\contrib
for
/d
%%d
IN
(*)
do
if
exist
%%d
\sql
if
exist
%%d
\expected
(
call
:onecontribcheck
%%d
if
errorlevel
1
exit
/b
1
)
goto
:eof
REM Check a single contrib module
:onecontribcheck
cd
%
1
perl
../../src/tools/msvc/getregress.pl
>
regress
.tmp.bat
call
regress
.tmp.bat
del
regress
.tmp.bat
..\..\
%CONFIG%
\pg_regress\pg_regress
--psqldir
=
..\..\
%CONFIG%
\psql
--no-locale --dbname
=
contrib_regression
%TESTS%
set
E
=
%ERRORLEVEL%
cd
..
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