提交 8e469b4f 编写于 作者: B Bruce Momjian

Beos regression patch.

上级 43d402e3
...@@ -56,6 +56,7 @@ PGAC_ARG_REQ(with, template, [], ...@@ -56,6 +56,7 @@ PGAC_ARG_REQ(with, template, [],
case $host_os in case $host_os in
aix*) template=aix ;; aix*) template=aix ;;
beos*) template=beos ;;
bsdi*) template=bsdi ;; bsdi*) template=bsdi ;;
cygwin*) template=win ;; cygwin*) template=win ;;
dgux*) template=dgux ;; dgux*) template=dgux ;;
......
#! /bin/sh #! /bin/sh
# $Header: /cvsroot/pgsql/src/test/regress/Attic/pg_regress.sh,v 1.5 2000/10/03 19:37:39 petere Exp $ # $Header: /cvsroot/pgsql/src/test/regress/Attic/pg_regress.sh,v 1.6 2000/10/07 14:55:16 momjian Exp $
me=`basename $0` me=`basename $0`
: ${TMPDIR=/tmp} : ${TMPDIR=/tmp}
...@@ -147,11 +147,11 @@ done ...@@ -147,11 +147,11 @@ done
# ---------- # ----------
# When on Windows or QNX, don't use Unix sockets. # When on Windows, QNX or BeOS, don't use Unix sockets.
# ---------- # ----------
case $host_platform in case $host_platform in
*-*-cygwin* | *-*-qnx*) *-*-cygwin* | *-*-qnx* | *beos*)
unix_sockets=no;; unix_sockets=no;;
*) *)
unix_sockets=yes;; unix_sockets=yes;;
...@@ -169,6 +169,17 @@ case $host_platform in ...@@ -169,6 +169,17 @@ case $host_platform in
DIFFFLAGS=-w;; DIFFFLAGS=-w;;
esac esac
# ----------
# Set up the GMAKE variable correctly.
# ----------
case $host_platform in
*beos*)
GMAKE=make;;
*)
GMAKE=gmake;;
esac
# ---------- # ----------
# Set backend timezone and datestyle explicitly # Set backend timezone and datestyle explicitly
...@@ -286,7 +297,7 @@ then ...@@ -286,7 +297,7 @@ then
message "creating temporary installation" message "creating temporary installation"
mkdir -p "$LOGDIR" || { (exit 2); exit; } mkdir -p "$LOGDIR" || { (exit 2); exit; }
${MAKE:-gmake} -C "$top_builddir" DESTDIR="$temp_install" install >"$LOGDIR/install.log" 2>&1 ${MAKE:-$GMAKE} -C "$top_builddir" DESTDIR="$temp_install" install >"$LOGDIR/install.log" 2>&1
if [ $? -ne 0 ] if [ $? -ne 0 ]
then then
......
#!/bin/sh #!/bin/sh
# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.54 2000/10/07 14:39:20 momjian Exp $ # $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.55 2000/10/07 14:55:16 momjian Exp $
# #
if [ $# -eq 0 ]; then if [ $# -eq 0 ]; then
echo "Syntax: $0 <hostname> [extra-tests]" echo "Syntax: $0 <hostname> [extra-tests]"
...@@ -11,7 +11,7 @@ shift ...@@ -11,7 +11,7 @@ shift
extratests="$*" extratests="$*"
case $hostname in case $hostname in
i*86-pc-cygwin* | i386-*-qnx* | beos) i*86-pc-cygwin* | i386-*-qnx* | *beos*)
HOSTLOC="-h localhost" HOSTLOC="-h localhost"
;; ;;
*) *)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册