[postgis-tickets] [PostGIS] #3314: Regression tests fail on big endian architectures

PostGIS trac at osgeo.org
Sun Oct 4 09:42:54 PDT 2015


#3314: Regression tests fail on big endian architectures
------------------------------------+---------------------------
  Reporter:  sebastic               |      Owner:  strk
      Type:  defect                 |     Status:  new
  Priority:  medium                 |  Milestone:  PostGIS 2.2.0
 Component:  build/upgrade/install  |    Version:  trunk
Resolution:                         |   Keywords:
------------------------------------+---------------------------

Comment (by sebastic):

 The tests now fail on little endian architectures too due to case
 mismatch:
 {{{
  ### /tmp/pgis_reg/test_116_diff ###
 --- sfcgal/regress_expected     2013-05-09 19:38:17.000000000 +0000
 +++ /tmp/pgis_reg/test_116_out  2015-10-04 16:28:51.890175268 +0000
 @@ -154,7 +154,7 @@
  148|LINESTRING(0 0,5 0,10 0)
  149|GEOMETRYCOLLECTION EMPTY
  150|SRID=6;GEOMETRYCOLLECTION(POLYGON((0 0,1 0,1 1,0 1,0 0)))
 -151|0103000020E61000000100000005000000000000000000000000000000000000000000000000000000000000000000F03F000000000000F03F000000000000F03F000000000000F03F000000000000000000000000000000000000000000000000
 +151|0103000020e61000000100000005000000000000000000000000000000000000000000000000000000000000000000f03f000000000000f03f000000000000f03f000000000000f03f000000000000000000000000000000000000000000000000
  152|4326
  152.1|t
  152.2|4326
 @@ -167,7 +167,7 @@
  159|MULTIPOLYGON EMPTY
  160|MULTIPOINT(1 1)
  161|MULTILINESTRING((0 0,1 1),(2 2,3 3))
 -162|010200000003000000F771D98DE33826C00000000000004440F771D98DE33826C000000000008051400000000000805140F771D98DE33826C0
 +162|010200000003000000f771d98de33826c00000000000004440f771d98de33826c000000000008051400000000000805140f771d98de33826c0
  163|POLYGON((0 0 0,1 0 0,1 1 0,0 1 0,0 0 0))
  164|POLYGON((0 0 0,1 0 0,1 1 0,0 1 0,0 0 1))
  ERROR:  geometry contains non-closed rings
  ### /tmp/pgis_reg/test_117_diff ###
 --- sfcgal/tickets_expected     2015-06-25 20:45:35.000000000 +0000
 +++ /tmp/pgis_reg/test_117_out  2015-10-04 16:28:52.250173418 +0000
 @@ -114,7 +114,7 @@
  #687|f
  #689|f
  #690
 -010200000003000000F771D98DE33826C00000000000004440F771D98DE33826C000000000008051400000000000805140F771D98DE33826C0
 +010200000003000000f771d98de33826c00000000000004440f771d98de33826c000000000008051400000000000805140f771d98de33826c0
  #693a|POLYGON M ((-71.1319 42.2503 1,-71.132 42.2502 3,-71.1323 42.2504
 -2,-71.1322 42.2505 1,-71.1319 42.2503 0))
  #693b|POLYGON M ((-71.1319 42.2512 0,-71.1318 42.2511 20,-71.1317 42.2511
 -20,-71.1317 42.251 5,-71.1317 42.2509 4,-71.132 42.2511 6,-71.1319
 42.2512 30))
  #694
  ### end of log dumps ###
 }}}

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3314#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list