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

strk at refractions.net strk at refractions.net
Mon Dec 19 02:40:11 PST 2005


Thank you. Committed.

Also:

	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.

--strk;

On Sun, Dec 18, 2005 at 05:13:41PM -0000, Mark Cave-Ayland wrote:
> Hi everyone,
> 
> OK having looked into this, it appears that MingW has some sort of buffering
> problem when the output from psql is piped into other programs. I seem to
> get random failures within the tests as it seems that sometimes the stdout
> and sterr become 'out of sync' causing the tests to only complete partially.
> 
> I've managed to get the regression tests going under MingW with the attached
> patch - by directly piping the output from psql into a file without feeding
> into grep/sed, the problem seems to go away. I've also added a "grep -v
> '^$'" which stops the Windows CR/LF pair causing two newlines to appear at
> the end of each line which again prevents the tests from succeeding. This
> patch now gives me the following results from MingW:
> 
> 
> $ make test
> make -C lwgeom 
> make[1]: Entering directory `/home/mca/postgis/postgis-cvs/lwgeom'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/mca/postgis/postgis-cvs/lwgeom'
> make -C regress test
> make[1]: Entering directory `/home/mca/postgis/postgis-cvs/regress'
> 
>  PostgreSQL 8.1.0 on i686-pc-mingw32, compiled by GCC gcc.exe (GCC) 3.4.2
> (mingw-special)
> 
>  Postgis 1.1.0
>  - 2005-12-18 10:29:48
> 
>    GEOS: 2.2.1-CAPI-1.0.1
> 
>    JTS: 
> 
>    PROJ: Rel. 4.4.9, 29 Oct 2004
> 
> 
> Running tests
> 
>            regress: Failed (diff /tmp/regress_regress_diff_3672)
>      regress_index: Ok.
>     lwgeom_regress: Ok.
>        regress_lrs: Ok.
>        removepoint: Ok.
>           setpoint: Ok.
>        regress_ogc: Failed (diff /tmp/regress_regress_ogc_diff_3672)
>     regress_bdpoly: Ok.
>       regress_proj: Ok.
> 
> Run tests: 9
> Successful: 7
> Failed: 2
> make[1]: Leaving directory `/home/mca/postgis/postgis-cvs/regress'
> 
> mca at IBM-SPARKS ~/postgis/postgis-cvs
> $ cat /tmp/regress_regress_diff_3672 
> 48c48
> < 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)
> ---
> > 48|MULTIPOINT(-1 -2 -3,5.4 6.6 7.77,-5.4 -6.6 -7.77,1000000 1e-006
> -1000000,-1.3e-006 -1.4e-005 0)
> 62,63c62,63
> < 62|POINT(inf 0)
> < 63|POINT(-inf 0)
> ---
> > 62|POINT(1.#INF 0)
> > 63|POINT(-1.#INF 0)
> 
> mca at IBM-SPARKS ~/postgis/postgis-cvs
> $ cat /tmp/regress_regress_ogc_diff_3672 
> 1c1
> < buffer|POLYGON((1 0,0.70710678120242 -0.70710678117067,4.49e-11
> -1,-0.70710678113893 -0.70710678123417,-1 -8.979e-11,-0.70710678126591
> 0.70710678110718,-1.3469e-10 1,0.70710678107543 0.70710678129766,1 0))
> ---
> > buffer|POLYGON((1 0,0.70710678120242 -0.70710678117067,4.49e-011
> -1,-0.70710678113893 -0.70710678123417,-1 -8.979e-011,-0.70710678126591
> 0.70710678110718,-1.3469e-010 1,0.70710678107543 0.70710678129766,1 0))
> 
> 
> Kind regards,
> 
> Mark.
> 
> ------------------------
> WebBased Ltd
> 17 Research Way
> Plymouth
> PL6 8BT
> 
> T: +44 (0)1752 797131
> F: +44 (0)1752 791023
> 
> http://www.webbased.co.uk   
> http://www.infomapper.com
> http://www.swtc.co.uk  
> 
> This email and any attachments are confidential to the intended recipient
> and may also be privileged. If you are not the intended recipient please
> delete it from your system and notify the sender. You should not copy it or
> use it for any purpose nor disclose or distribute its contents to any other
> person.


> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel


-- 

 /"\    ASCII Ribbon Campaign
 \ /    Respect for low technology.
  X     Keep e-mail messages readable by any computer system.
 / \    Keep it ASCII. 




More information about the postgis-devel mailing list