Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
3024b0aa
Commit
3024b0aa
authored
Mar 23, 2007
by
Magnus Hagander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support for running contribcheck on msvc
parent
e69f7f45
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
3 deletions
+30
-3
doc/src/sgml/install-win32.sgml
doc/src/sgml/install-win32.sgml
+4
-1
src/tools/msvc/vcregress.bat
src/tools/msvc/vcregress.bat
+26
-2
No files found.
doc/src/sgml/install-win32.sgml
View file @
3024b0aa
<!-- $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.3
5 2007/03/21 19:22:52
mha Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.3
6 2007/03/23 09:57:55
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
...
...
src/tools/msvc/vcregress.bat
View file @
3024b0aa
@echo
off
REM $PostgreSQL: pgsql/src/tools/msvc/vcregress.bat,v 1.
5 2007/03/21 16:21:40
mha Exp $
REM $PostgreSQL: pgsql/src/tools/msvc/vcregress.bat,v 1.
6 2007/03/23 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%
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment