[postgis-tickets] [PostGIS] #5157: basic_test failure on i386
PostGIS
trac at osgeo.org
Sat Jul 23 14:02:03 PDT 2022
#5157: basic_test failure on i386
-----------------------------+---------------------------
Reporter: Bas Couwenberg | Owner: strk
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 3.3.0
Component: liblwgeom | Version: master
Resolution: | Keywords:
-----------------------------+---------------------------
Comment (by robe):
Replying to [comment:10 Bas Couwenberg]:
> 3.2.2 does not have this issue.
Dependencies are all the same? I didn't think any of that code has
changed.
Anyrate I was able to replicate the issue using your beta2 package and
dpkg_buildpackage.
I put in a debug line to see the difference:
{{{
char *msg1 = "mbc_test failed (got %.12f expected %.12f) \n";
if ( d > result->radius){
printf(msg1, d, result->radius);
}
}}}
output was:
{{{
Suite: minimum_bounding_circle
Test: basic_test ...mbc_test failed (got 247.436045591407 expected
247.436045591404)
FAILED
1. cu_minimum_bounding_circle.c:38 - CU_ASSERT_TRUE(d <=
result->radius)
}}}
So I think maybe I should just change the test, cause the difference is so
insignificant not to be a concern.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5157#comment:11>
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