php-geospatial / geospatial

PHP Extension to handle common geospatial functions.
Other
61 stars 18 forks source link

make test errors #25

Closed mhf-ir closed 5 years ago

mhf-ir commented 6 years ago
 make test
/bin/bash /tmp/geospatial/libtool --mode=install cp ./geospatial.la /tmp/geospatial/modules
libtool: install: cp ./.libs/geospatial.so /tmp/geospatial/modules/geospatial.so
libtool: install: cp ./.libs/geospatial.lai /tmp/geospatial/modules/geospatial.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /tmp/geospatial/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /tmp/geospatial/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------

Build complete.
Don't forget to run 'make test'.

=====================================================================
PHP         : /usr/bin/php7.2 
PHP_SAPI    : cli
PHP_VERSION : 7.2.3-1ubuntu1
ZEND_VERSION: 3.2.0
PHP_OS      : Linux - Linux 746209f08f68 4.15.0-13-generic #14-Ubuntu SMP Sat Mar 17 13:44:27 UTC 2018 x86_64
INI actual  : /tmp/geospatial/tmp-php.ini
More .INIs  :   
---------------------------------------------------------------------
PHP         : /usr/bin/phpdbg7.2 
PHP_SAPI    : phpdbg
PHP_VERSION : 7.2.3-1ubuntu1
ZEND_VERSION: 3.2.0
PHP_OS      : Linux - Linux 746209f08f68 4.15.0-13-generic #14-Ubuntu SMP Sat Mar 17 13:44:27 UTC 2018 x86_64
INI actual  : /tmp/geospatial/tmp-php.ini
More .INIs  : 
---------------------------------------------------------------------
CWD         : /tmp/geospatial
Extra dirs  : 
VALGRIND    : Not used
=====================================================================
TIME START 2018-04-07 10:13:43
=====================================================================
PASS WGS84 to OSGB36 for Greenwich Observertory [tests/Greenwich.phpt] 
PASS WGS84 to OSGB36 [tests/JodrellBank.phpt] 
PASS OSGB36 to WGS84 [tests/OSGB36_to_WGS84.phpt] 
PASS WGS84 to OSGB36 [tests/WGS84_to_OSGB36.phpt] 
FAIL Test for issue #16: Segfault on rdp_simplify for GeoJSON [tests/bug0016.phpt] 
PASS Test cartesian to polar [tests/cartesian_to_polar.phpt] 
PASS degrees minutes seconds [tests/decimal_to_dms.phpt] 
PASS dms_to_decimal() [tests/dms_to_decimal.phpt] 
PASS Test for "fraction_along_gc_line" #1 [tests/fraction_along-001.phpt] 
PASS Test for "fraction_along_gc_line" #2 [tests/fraction_along-002.phpt] 
PASS Test for "fraction_along_gc_line" #3 [tests/fraction_along-003.phpt] 
PASS Test geohash_decode [tests/geohash_decode.phpt] 
PASS Test geohash_encode [tests/geohash_encode.phpt] 
PASS Check the haversine function returns the correct distance between London and Edinburgh. [tests/geospatial_haversine_london_edinburgh.phpt] 
PASS Check the haversine function returns the correct distance between the North and South poles, using a custom radius. [tests/geospatial_haversine_polar_distance.phpt] 
PASS haversine() function - basic test for haversine forumla [tests/haversine.phpt] 
PASS helmert() function - basic test for helmert formula [tests/helmert.phpt] 
PASS initial_bearing() function - basic test for initial_bearing forumla [tests/initial_bearing.phpt] 
PASS Test polar to cartesian [tests/polar_to_cartesian.phpt] 
PASS Test for "Vincenty" distance between FlindersPeak and Buninyong [tests/vincenty.phpt] 
=====================================================================
TIME END 2018-04-07 10:13:43

=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped    :    0
Exts tested     :   15
---------------------------------------------------------------------

Number of tests :   20                20
Tests skipped   :    0 (  0.0%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    1 (  5.0%) (  5.0%)
Expected fail   :    0 (  0.0%) (  0.0%)
Tests passed    :   19 ( 95.0%) ( 95.0%)
---------------------------------------------------------------------
Time taken      :    0 seconds
=====================================================================

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Test for issue #16: Segfault on rdp_simplify for GeoJSON [tests/bug0016.phpt]
=====================================================================
derickr commented 6 years ago

Can you show the contents of the file tests/bug0016.diff ?

derickr commented 5 years ago

No feedback was provided, so closing this issue.