Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit14a5330

Browse files
committed
this patch makes sure that:
* correct platform specific regression files are used under ming * pwd prints out a usable win32 pathnameClaudio Natoli
1 parent3363b84 commit14a5330

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

‎src/test/regress/pg_regress.sh

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/sh
2-
# $PostgreSQL: pgsql/src/test/regress/pg_regress.sh,v 1.38 2004/01/08 20:04:41 neilc Exp $
2+
# $PostgreSQL: pgsql/src/test/regress/pg_regress.sh,v 1.39 2004/05/0204:27:37 momjian Exp $
33

44
me=`basename$0`
55
:${TMPDIR=/tmp}
@@ -207,6 +207,18 @@ case $host_platform in
207207
esac
208208

209209

210+
# ----------
211+
# Set up pwd to give a win32 happy pathname
212+
# ----------
213+
214+
case$host_platformin
215+
*-*-mingw32*)
216+
PWDFLAGS=-W;;
217+
*)
218+
PWDFLAGS=;;
219+
esac
220+
221+
210222
# ----------
211223
# Set backend timezone and datestyle explicitly
212224
#
@@ -294,7 +306,7 @@ LOGDIR=$outputdir/log
294306
if [ x"$temp_install"!= x"" ]
295307
then
296308
ifecho x"$temp_install"| grep -v'^x/'>/dev/null2>&1;then
297-
temp_install="`pwd`/$temp_install"
309+
temp_install="`pwd$PWDFLAGS`/$temp_install"
298310
fi
299311

300312
bindir=$temp_install/install/$bindir

‎src/test/regress/resultmap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ abstime/sparc-sun-solaris=abstime-solaris-1947
77
abstime/.*-sco=abstime-solaris-1947
88
abstime/.*-sysv5=abstime-solaris-1947
99
float4/.*-qnx=float4-exp-three-digits
10-
float4/win32=float4-exp-three-digits
10+
float4/i.86-pc-mingw32=float4-exp-three-digits
1111
float8/i.86-.*-freebsd[234]=float8-small-is-zero
1212
float8/i.86-.*-openbsd=float8-small-is-zero
1313
float8/i.86-.*-netbsd=float8-small-is-zero
1414
float8/.*-qnx=float8-exp-three-digits
15-
float8/win32=float8-exp-three-digits-win32
15+
float8/i.86-pc-mingw32=float8-exp-three-digits-win32
1616
float8/i.86-pc-cygwin=float8-small-is-zero
1717
horology/.*-aix4=horology-solaris-1947
1818
horology/.*-aix5=horology-solaris-1947
@@ -26,7 +26,7 @@ horology/sparc-sun-sunos4.*=horology-no-DST-before-1970
2626
horology/.*-sysv5=horology-solaris-1947
2727
horology/.*-sco=horology-solaris-1947
2828
int8/.*-qnx=int8-exp-three-digits
29-
int8/win32=int8-exp-three-digits-win32
29+
int8/i.86-pc-mingw32=int8-exp-three-digits-win32
3030
tinterval/.*-aix4=tinterval-solaris-1947
3131
tinterval/.*-aix5=tinterval-solaris-1947
3232
tinterval/alpha.*-dec-osf=tinterval-solaris-1947

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp