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

Commit9d2f300

Browse files
committed
To create a temporary installation, the regression test driver should use
the make program that was used to build itself. This seems more correctthan guessing around for some gmake.
1 parent969e28d commit9d2f300

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

‎src/test/regress/GNUmakefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/test/regress/GNUmakefile,v 1.25 2000/10/02 06:07:25 tgl Exp $
10+
# $Header: /cvsroot/pgsql/src/test/regress/GNUmakefile,v 1.26 2000/10/07 20:23:03 petere Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -36,6 +36,7 @@ pg_regress: pg_regress.sh GNUmakefile
3636
-e's,@datadir@,$(datadir),g'\
3737
-e's/@VERSION@/$(VERSION)/g'\
3838
-e's/@host_tuple@/$(host_tuple)/g'\
39+
-e's,@GMAKE@,$(MAKE),g'\
3940
$<>$@
4041
chmod a+x$@
4142

‎src/test/regress/pg_regress.sh

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/sh
2-
# $Header: /cvsroot/pgsql/src/test/regress/Attic/pg_regress.sh,v 1.6 2000/10/0714:55:16 momjian Exp $
2+
# $Header: /cvsroot/pgsql/src/test/regress/Attic/pg_regress.sh,v 1.7 2000/10/0720:23:03 petere Exp $
33

44
me=`basename$0`
55
:${TMPDIR=/tmp}
@@ -87,6 +87,8 @@ export PGPORT
8787
dbname=regression
8888
hostname=`hostname`|| hostname=localhost
8989

90+
:${GMAKE='@GMAKE@'}
91+
9092

9193
# ----------
9294
# Parse command line options
@@ -169,17 +171,6 @@ case $host_platform in
169171
DIFFFLAGS=-w;;
170172
esac
171173

172-
# ----------
173-
# Set up the GMAKE variable correctly.
174-
# ----------
175-
176-
case$host_platformin
177-
*beos*)
178-
GMAKE=make;;
179-
*)
180-
GMAKE=gmake;;
181-
esac
182-
183174

184175
# ----------
185176
# Set backend timezone and datestyle explicitly
@@ -297,7 +288,7 @@ then
297288

298289
message"creating temporary installation"
299290
mkdir -p"$LOGDIR"|| { (exit 2);exit; }
300-
${MAKE:-$GMAKE} -C"$top_builddir" DESTDIR="$temp_install" install>"$LOGDIR/install.log"2>&1
291+
$GMAKE -C"$top_builddir" DESTDIR="$temp_install" install>"$LOGDIR/install.log"2>&1
301292

302293
if [$?-ne 0 ]
303294
then

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp