Regression (semi)fix for netbsd-mac68k

From: Rémi Zara <remi_zara(at)mac(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Regression (semi)fix for netbsd-mac68k
Date: 2004-12-22 22:46:02
Message-ID: 41A4B672-546B-11D9-99CE-003065B81B34@mac.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

One of the regression failure on NetBSD mac68k is float8 (see
http://www.pgbuildfarm.org/cgi-bin/show_history.pl?nm=osprey&br=HEAD).
The failure is due to the fact the strtod does not underflow for
+-10e-400.
I see in src/test/regress/resultmap that NetBSD ix86 does not overflow
either, and that that seems to be OK since there is a special result
file for this platform so that the test passes.

So a "fix" for NetBSD mac68k would be to special case it too...

Patch:
It should be possible to have one regexp for netbsd, but I did not
figure how to write it....

--- src/test/regress/resultmap.orig 2004-10-04 16:42:47.000000000
+0200
+++ src/test/regress/resultmap 2004-12-22 23:27:51.000000000 +0100
@@ -3,6 +3,7 @@
float8/i.86-.*-freebsd[234]=float8-small-is-zero
float8/i.86-.*-openbsd=float8-small-is-zero
float8/i.86-.*-netbsd=float8-small-is-zero
+float8/m68k-.*-netbsd=float8-small-is-zero
float8/.*-qnx=float8-exp-three-digits
float8/i.86-pc-mingw32=float8-exp-three-digits-win32
float8/i.86-pc-cygwin=float8-small-is-zero

Regards,

Rémi Zara

--
Rémi Zara
http://www.remi-zara.net/

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-12-22 23:26:32 Re: Regression (semi)fix for netbsd-mac68k
Previous Message Rémi Zara 2004-12-22 22:33:48 Re: Port report: NetBSD 2.0 mac68k