Re: Regression tests

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: dreid(at)jetnet(dot)co(dot)uk
Cc: Patches for PGSQL <pgsql-patches(at)hub(dot)org>
Subject: Re: Regression tests
Date: 2000-10-07 14:55:07
Message-ID: 200010071455.KAA08693@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Applied.

[ Charset ISO-8859-1 unsupported, converting... ]
> These allow the regression tests to work on BeOS.
>
> Index: src/test/regress/regress.sh
> ===================================================================
> RCS file:
> /home/projects/pgsql/cvsroot/pgsql/src/test/regress/regress.sh,v
> retrieving revision 1.53
> diff -u -u -r1.53 regress.sh
> --- src/test/regress/regress.sh 2000/09/29 17:17:37 1.53
> +++ src/test/regress/regress.sh 2000/10/07 13:29:07
> @@ -11,7 +11,7 @@
> extratests="$*"
>
> case $hostname in
> - i*86-pc-cygwin* | i386-*-qnx*)
> + i*86-pc-cygwin* | i386-*-qnx* | *beos*)
> HOSTLOC="-h localhost"
> ;;
> *)
> Index: src/test/regress/pg_regress.sh
> ===================================================================
> RCS file:
> /home/projects/pgsql/cvsroot/pgsql/src/test/regress/pg_regress.sh,v
> retrieving revision 1.5
> diff -u -u -r1.5 pg_regress.sh
> --- src/test/regress/pg_regress.sh 2000/10/03 19:37:39 1.5
> +++ src/test/regress/pg_regress.sh 2000/10/07 13:29:08
> @@ -147,11 +147,11 @@
>
>
> # ----------
> -# 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 @@
> 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 @@
>
> 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
>
>
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2000-10-07 21:59:39 [PORTS] To the Beos folks
Previous Message Bruce Momjian 2000-10-07 14:50:58 Re: Unix sockets on BeOS