Beos regression patch.

This commit is contained in:
Bruce Momjian 2000-10-07 14:55:16 +00:00
parent 43d402e320
commit 8e469b4ffc
3 changed files with 18 additions and 6 deletions

View File

@ -56,6 +56,7 @@ PGAC_ARG_REQ(with, template, [],
case $host_os in
aix*) template=aix ;;
beos*) template=beos ;;
bsdi*) template=bsdi ;;
cygwin*) template=win ;;
dgux*) template=dgux ;;

View File

@ -1,5 +1,5 @@
#! /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`
: ${TMPDIR=/tmp}
@ -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
*-*-cygwin* | *-*-qnx*)
*-*-cygwin* | *-*-qnx* | *beos*)
unix_sockets=no;;
*)
unix_sockets=yes;;
@ -169,6 +169,17 @@ case $host_platform in
DIFFFLAGS=-w;;
esac
# ----------
# Set up the GMAKE variable correctly.
# ----------
case $host_platform in
*beos*)
GMAKE=make;;
*)
GMAKE=gmake;;
esac
# ----------
# Set backend timezone and datestyle explicitly
@ -286,7 +297,7 @@ then
message "creating temporary installation"
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 ]
then

View File

@ -1,5 +1,5 @@
#!/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
echo "Syntax: $0 <hostname> [extra-tests]"
@ -11,7 +11,7 @@ shift
extratests="$*"
case $hostname in
i*86-pc-cygwin* | i386-*-qnx* | beos)
i*86-pc-cygwin* | i386-*-qnx* | *beos*)
HOSTLOC="-h localhost"
;;
*)