HughP / libkml

Automatically exported from code.google.com/p/libkml
0 stars 0 forks source link

Check failure in feature_view_test #166

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Building 1.3.0 (current svn r863) there is a failure when checking on current 
Debian sid, with gcc 4.5.2:

Running main() from gtest_main.cc
[==========] Running 3 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 3 tests from FeatureViewTest
[ RUN      ] FeatureViewTest.TestComputeFeatureLookAt
[       OK ] FeatureViewTest.TestComputeFeatureLookAt
[ RUN      ] FeatureViewTest.TestComputeFeatureLookAtFolder
[       OK ] FeatureViewTest.TestComputeFeatureLookAtFolder
[ RUN      ] FeatureViewTest.TestComputeBboxLookAt
/tmp/buildd/libkml-1.3.0~r863/./src/kml/engine/feature_view_test.cc:147: Failure
Value of: lookat->get_range()
  Actual: 712928.68603440106
Expected: 712928.68603440293
[  FAILED  ] FeatureViewTest.TestComputeBboxLookAt
[----------] Global test environment tear-down
[==========] 3 tests from 1 test case ran.
[  PASSED  ] 2 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] FeatureViewTest.TestComputeBboxLookAt

 1 FAILED TEST
FAIL: feature_view_test

gcc -v:

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i486-linux-gnu/4.5.2/lto-wrapper
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.5.2-7' 
--with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs 
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.5 --enable-shared --enable-multiarch 
--enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib 
--without-included-gettext --enable-threads=posix 
--with-gxx-include-dir=/usr/include/c++/4.5 --libdir=/usr/lib --enable-nls 
--enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes 
--enable-plugin --enable-gold --enable-ld=default --with-plugin-ld=ld.gold 
--enable-objc-gc --enable-targets=all --with-arch-32=i586 --with-tune=generic 
--enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu 
--target=i486-linux-gnu
Thread model: posix
gcc version 4.5.2 (Debian 4.5.2-7) 

Original issue reported on code.google.com by f.loverg...@gmail.com on 29 Mar 2011 at 3:43