Regression (semi)fix for netbsd-mac68k - Mailing list pgsql-hackers

From Rémi Zara
Subject Regression (semi)fix for netbsd-mac68k
Date
Msg-id 41A4B672-546B-11D9-99CE-003065B81B34@mac.com
Whole thread Raw
Responses Re: Regression (semi)fix for netbsd-mac68k
List 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-win32float8/i.86-pc-cygwin=float8-small-is-zero 

Regards,

Rémi Zara

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

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Bgwriter behavior
Next
From: Tom Lane
Date:
Subject: Re: Regression (semi)fix for netbsd-mac68k