Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#283 closed defect (fixed)

regress_lrs regression test fails

Reported by: mloskot Owned by: pramsey
Priority: medium Milestone: PostGIS 1.5.0
Component: postgis Version: master
Keywords: Cc:

Description

Running regression tests against PostGIS from current trunk (r4749) gives failure for the regress_lrs test:

...
 lwgeom_regress. ok
 regress_lrs. failed (diff expected obtained: /tmp/pgis_reg_4725/test_17_diff)
 removepoint. ok
...

and the log is:

$ cat /tmp/pgis_reg_4725/test_17_diff
*** regress_lrs_expected	2009-11-05 10:14:41.000000000 +0000
--- /tmp/pgis_reg_4725/test_17_out	2009-11-05 11:46:52.000000000 +0000
***************
*** 1,5 ****
! 2d|
! 3dz|
  PNTM_1|GEOMETRYCOLLECTIONM EMPTY
  PNTM_2|POINTM(1 2 3)
  PNTM_3|POINTM(1 2 3)
--- 1,5 ----
! ERROR:  Geometry argument does not have an 'M' ordinate
! ERROR:  Geometry argument does not have an 'M' ordinate
  PNTM_1|GEOMETRYCOLLECTIONM EMPTY
  PNTM_2|POINTM(1 2 3)
  PNTM_3|POINTM(1 2 3)
***************
*** 41,48 ****
  line_substring|POINT(0.5 0.5 7.5)
  line_interpolate_point|POINT(0 0)
  line_interpolate_point|POINT(0.5 0.5 7.5)
! 2d|
! 3dz|
  PNTM_1|GEOMETRYCOLLECTIONM EMPTY
  PNTM_2|POINTM(1 2 3)
  PNTM_3|POINTM(1 2 3)
--- 41,48 ----
  line_substring|POINT(0.5 0.5 7.5)
  line_interpolate_point|POINT(0 0)
  line_interpolate_point|POINT(0.5 0.5 7.5)
! ERROR:  Geometry argument does not have an 'M' ordinate
! ERROR:  Geometry argument does not have an 'M' ordinate
  PNTM_1|GEOMETRYCOLLECTIONM EMPTY
  PNTM_2|POINTM(1 2 3)
  PNTM_3|POINTM(1 2 3)

Environment:

  • Linux 64-bit (Ubuntu 9.10 Karmic Koala)
  • GCC 4.4.1
  • GEOS (version 3.2.0 from SVN trunk 2710)
  • PostgreSQL 8.4.1
  • libxml2 2.7.5

Change History (3)

comment:1 by pramsey, 14 years ago

Arg, this is because of the change committed in #113! Regina, since you wanted that change, any chance you'll update the regression tests :) ?

comment:2 by pramsey, 14 years ago

Resolution: fixed
Status: newclosed

Fixed at r4751

comment:3 by mloskot, 14 years ago

I confirm the fix works. Thanks Paul!

Note: See TracTickets for help on using tickets.