Edit report at http://bugs.php.net/bug.php?id=54719&edit=1
ID: 54719 Updated by: dani...@php.net Reported by: mats dot lindh at gmail dot com Summary: Serialization tests fail to set serialize_precision -Status: Open +Status: Closed Type: Bug Package: Unknown/Other Function Operating System: Linux PHP Version: trunk-SVN-2011-05-12 (SVN) -Assigned To: +Assigned To: tyrael Block user comment: N Private report: N New Comment: Patch applied by tyrael on 2011-05-16. Previous Comments: ------------------------------------------------------------------------ [2011-05-12 13:23:06] mats dot lindh at gmail dot com Description: ------------ The tests for the serialization module fails to set the INI value for serialize_precision before running the tests, resulting in failed tests if the default precision is used (if the tests are run before make install and no php.ini file is available). Test script: --------------- make test TESTS=ext/standard/tests/serialize Expected result: ---------------- Number of tests : 51 50 Tests skipped : 1 ( 2.0%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 0 ( 0.0%) ( 0.0%) Expected fail : 0 ( 0.0%) ( 0.0%) Tests passed : 50 ( 98.0%) (100.0%) Actual result: -------------- Number of tests : 51 50 Tests skipped : 1 ( 2.0%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 5 ( 9.8%) ( 10.0%) Expected fail : 0 ( 0.0%) ( 0.0%) Tests passed : 45 ( 88.2%) ( 90.0%) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=54719&edit=1