[postgis-devel] 1.1.0 closed - Release on 21 - call for tests

strk at refractions.net strk at refractions.net
Mon Dec 19 13:10:41 PST 2005


On Mon, Dec 19, 2005 at 09:06:38AM -0700, Michael Fuhr wrote:
> On Mon, Dec 19, 2005 at 11:40:11AM +0100, strk at refractions.net wrote:
> > 	1. added 1.#INF => inf translation 
> > 	2. made use of a process-specific temporary file.
> > 	3. used a consistent construct for out_and_err redirect
> > 	4. added rule to make [eE][-+]0+[0-9]+ become e[-+][1-9]+
> > 	   (required update of regress_expected as well)
> > 
> > Tests (on Solaris particularly) welcome.
> 
> Regression tests fail on FreeBSD 6.0 and Solaris 9, both on the
> following test:
> 
>  48c48
>  < 48|MULTIPOINT(-1 -2 -3,5.4 6.6 7.77,-5.4 -6.6 -7.77,1000000 1e-6 -1000000,-1.3e-6 -1.4e-5 0)
>  ---
>  > 48|MULTIPOINT(-1 -2 -3,5.4 6.6 7.77,-5.4 -6.6 -7.77,1000000 1e-06 -1000000,-1.3e-06 -1.4e-05 0)

Mmm... this means the sed line acts differently on Solaris
then on Linux and MingW, acc!
Can you find a way for this ?

	sed 's/[eE]\([+-]\)0\+\([0-9]\+\)/e\1\2/g' 

(basically normalizing scientific notation so to collapse leading zeroes
and lowercase the E).

> 
> Also, loader/Makefile installs shp2pgsql and pgsql2shp in the wrong
> directory: the Makefile isn't picking up $(DESTDIR) so it's installing
> into /bin.

Fixed, thanks (it was exec_prefix failing).

--strk;



More information about the postgis-devel mailing list