Test results for 4.3.7RC1 [failed]

From: Date: Sat, 29 May 2004 00:49:37 +0000
Subject: Test results for 4.3.7RC1 [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-17766@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #24142 (round() problems) [ext/standard/tests/math/bug24142.phpt] Bug #25694 (round() and number_format() inconsistency) [ext/standard/tests/math/bug25694.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 68 Exts tested : 19 --------------------------------------------------------------------- Number of tests : 596 Tests skipped : 179 (30.0%) Tests warned : 0 ( 0.0%) Tests failed : 2 ( 0.3%) Tests passed : 415 (69.6%) --------------------------------------------------------------------- Time taken : 80 seconds ===================================================================== ================================================================================ /home/tom/php-4.3.7RC1/ext/standard/tests/math/bug24142.phpt ================================================================================ ---- EXPECTED OUTPUT round(0.005, 2) -> 0.01 round(0.015, 2) -> 0.02 round(0.025, 2) -> 0.03 round(0.035, 2) -> 0.04 round(0.045, 2) -> 0.05 round(0.055, 2) -> 0.06 round(0.065, 2) -> 0.07 round(0.075, 2) -> 0.08 round(0.085, 2) -> 0.09 ---- ACTUAL OUTPUT round(0.005, 2) -> 0.01 round(0.015, 2) -> 0.01 round(0.025, 2) -> 0.03 round(0.035, 2) -> 0.04 round(0.045, 2) -> 0.05 round(0.055, 2) -> 0.06 round(0.065, 2) -> 0.07 round(0.075, 2) -> 0.07 round(0.085, 2) -> 0.08 ---- FAILED ================================================================================ 002- round(0.015, 2) -> 0.02 002+ round(0.015, 2) -> 0.01 008- round(0.075, 2) -> 0.08 008+ round(0.075, 2) -> 0.07 009- round(0.085, 2) -> 0.09 009+ round(0.085, 2) -> 0.08 ================================================================================ ================================================================================ /home/tom/php-4.3.7RC1/ext/standard/tests/math/bug25694.phpt ================================================================================ ---- EXPECTED OUTPUT round 0.045 = 0.05 number format 0.045 = 0.05 round 0.055 = 0.06 number format 0.055 = 0.06 round 5.045 = 5.05 number format 5.045 = 5.05 round 5.055 = 5.06 number format 5.055 = 5.06 round 3.025 = 3.03 number format 3.025 = 3.03 round 4.025 = 4.03 number format 4.025 = 4.03 ---- ACTUAL OUTPUT round 0.045 = 0.04 number format 0.045 = 0.04 round 0.055 = 0.06 number format 0.055 = 0.06 round 5.045 = 5.04 number format 5.045 = 5.04 round 5.055 = 5.05 number format 5.055 = 5.05 round 3.025 = 3.02 number format 3.025 = 3.02 round 4.025 = 4.03 number format 4.025 = 4.03 ---- FAILED ================================================================================ 001- round 0.045 = 0.05 001+ round 0.045 = 0.04 002- number format 0.045 = 0.05 002+ number format 0.045 = 0.04 007- round 5.045 = 5.05 007+ round 5.045 = 5.04 008- number format 5.045 = 5.05 008+ number format 5.045 = 5.04 010- round 5.055 = 5.06 010+ round 5.055 = 5.05 011- number format 5.055 = 5.06 011+ number format 5.055 = 5.05 013- round 3.025 = 3.03 013+ round 3.025 = 3.02 014- number format 3.025 = 3.03 014+ number format 3.025 = 3.02 ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: Linux - Linux mama 2.4.20-8custom #3 Sun Jun 1 15:15:55 PDT 2003 i686 Automake: automake (GNU automake) 1.6.3 Written by Tom Tromey <tromey@redhat.com>. Copyright 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Autoconf: autoconf (GNU Autoconf) 2.57 Written by David J. MacKenzie and Akim Demaille. Copyright 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Libtool: ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54) Compiler: Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.0/specs Configured with: ../configure --prefix=/usr --enable-languages=c,c++ --enable-shared --with-threads=posix Thread model: posix gcc version 3.4.0 Bison: bison (GNU Bison) 1.35 Copyright 1984, 1986, 1989, 1992, 2000, 2001, 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Libraries: libcrypt.so.1 => /lib/libcrypt.so.1 (0x4001d000) libmysqlclient.so.12 => /usr/local/mysql/lib/mysql/libmysqlclient.so.12 (0x4004a000) libz.so.1 => /usr/lib/libz.so.1 (0x4006e000) libpng.so.3 => /usr/lib/libpng.so.3 (0x4007c000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x400ac000) libbz2.so.1 => /usr/lib/libbz2.so.1 (0x400cb000) libssl.so.0.9.7 => /usr/local/ssl/lib/libssl.so.0.9.7 (0x400da000) libcrypto.so.0.9.7 => /usr/local/ssl/lib/libcrypto.so.0.9.7 (0x40108000) libresolv.so.2 => /lib/libresolv.so.2 (0x401f6000) libm.so.6 => /lib/tls/libm.so.6 (0x40208000) libdl.so.2 => /lib/libdl.so.2 (0x4022a000) libnsl.so.1 => /lib/libnsl.so.1 (0x4022e000) libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40243000) libc.so.6 => /lib/tls/libc.so.6 (0x42000000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) User's E-mail: mysteryadmin at whatfantasiesmaycome dot com ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 4.3.7RC1 System => Linux mama 2.4.20-8custom #3 Sun Jun 1 15:15:55 PDT 2003 i686 Build Date => May 28 2004 17:43:46 Configure Command => './configure' '--prefix=/usr/local/php-4.3.7' '--with-apxs2=/usr/local/apache-2.0.49/bin/apxs' '--with-mysql=/usr/local/mysql' '--with-openssl' '--with-bz2' '--enable-calendar' '--enable-ftp' '--enable-mbstring' '--enable-sockets' '--with-gd' '--with-zlib-dir' '--with-jpeg-dir' '--with-png-dir' '--with-ttf' '--enable-gd-native-ttf' '--with-gettext' '--with-iconv' Server API => Command Line Interface Virtual Directory Support => enabled Configuration File (php.ini) Path => /usr/local/php-4.3.7/lib PHP API => 20020918 PHP Extension => 20020429 Zend Extension => 20021010 Debug Build => no Thread Safety => enabled Registered PHP Streams => php, http, ftp, https, ftps, compress.bzip2, compress.zlib This program makes use of the Zend Scripting Language Engine: Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies _______________________________________________________________________ Configuration PHP Core Directive => Local Value => Master Value allow_call_time_pass_reference => On => On allow_url_fopen => On => On always_populate_raw_post_data => Off => Off arg_separator.input => & => & arg_separator.output => & => & asp_tags => Off => Off auto_append_file => no value => no value auto_prepend_file => no value => no value browscap => no value => no value default_charset => no value => no value default_mimetype => text/html => text/html define_syslog_variables => Off => Off disable_classes => no value => no value disable_functions => no value => no value display_errors => On => On display_startup_errors => Off => Off doc_root => no value => no value docref_ext => no value => no value docref_root => no value => no value enable_dl => On => On error_append_string => no value => no value error_log => no value => no value error_prepend_string => no value => no value error_reporting => no value => no value expose_php => On => On extension_dir => /usr/local/php-4.3.7/lib/php/extensions/no-debug-zts-20020429 => /usr/local/php-4.3.7/lib/php/extensions/no-debug-zts-20020429 file_uploads => On => On gpc_order => GPC => GPC highlight.bg => #FFFFFF => #FFFFFF highlight.comment => #FF8000 => #FF8000 highlight.default => #0000BB => #0000BB highlight.html => #000000 => #000000 highlight.keyword => #007700 => #007700 highlight.string => #DD0000 => #DD0000 html_errors => Off => On ignore_repeated_errors => Off => Off ignore_repeated_source => Off => Off ignore_user_abort => Off => Off implicit_flush => On => Off include_path => .:/usr/local/php-4.3.7/lib/php => .:/usr/local/php-4.3.7/lib/php log_errors => Off => Off log_errors_max_len => 1024 => 1024 magic_quotes_gpc => On => On magic_quotes_runtime => Off => Off magic_quotes_sybase => Off => Off max_execution_time => 0 => 30 max_input_time => -1 => -1 open_basedir => no value => no value output_buffering => 0 => 0 output_handler => no value => no value post_max_size => 8M => 8M precision => 14 => 14 register_argc_argv => On => On register_globals => Off => Off report_memleaks => On => On safe_mode => Off => Off safe_mode_exec_dir => /usr/local/php/bin => /usr/local/php/bin safe_mode_gid => Off => Off safe_mode_include_dir => no value => no value sendmail_from => no value => no value sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i serialize_precision => 100 => 100 short_open_tag => On => On SMTP => localhost => localhost smtp_port => 25 => 25 sql.safe_mode => Off => Off track_errors => Off => Off unserialize_callback_func => no value => no value upload_max_filesize => 2M => 2M upload_tmp_dir => no value => no value user_dir => no value => no value variables_order => no value => no value xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off y2k_compliance => On => On bz2 BZip2 Support => Enabled BZip2 Version => 1.0.2, 30-Dec-2001 calendar Calendar support => enabled ctype ctype functions => enabled ftp FTP support => enabled gd GD Support => enabled GD Version => bundled (2.0.23 compatible) GIF Read Support => enabled JPG Support => enabled PNG Support => enabled WBMP Support => enabled XBM Support => enabled gettext GetText Support => enabled iconv iconv support => enabled iconv implementation => glibc iconv library version => 2.3.2 Directive => Local Value => Master Value iconv.input_encoding => ISO-8859-1 => ISO-8859-1 iconv.internal_encoding => ISO-8859-1 => ISO-8859-1 iconv.output_encoding => ISO-8859-1 => ISO-8859-1 mbstring Multibyte Support => enabled Japanese support => enabled Simplified chinese support => enabled Traditional chinese support => enabled Korean support => enabled Russian support => enabled Multibyte (japanese) regex support => enabled mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1. Directive => Local Value => Master Value mbstring.detect_order => no value => no value mbstring.encoding_translation => Off => Off mbstring.func_overload => 0 => 0 mbstring.http_input => pass => pass mbstring.http_output => pass => pass mbstring.internal_encoding => ISO-8859-1 => no value mbstring.language => neutral => neutral mbstring.substitute_character => no value => no value mysql MySQL Support => enabled Active Persistent Links => 0 Active Links => 0 Client API version => 4.0.17 MYSQL_MODULE_TYPE => external MYSQL_SOCKET => /tmp/mysql.sock MYSQL_INCLUDE => -I/usr/local/mysql/include/mysql MYSQL_LIBS => -L/usr/local/mysql/lib/mysql -lmysqlclient Directive => Local Value => Master Value mysql.allow_persistent => On => On mysql.connect_timeout => 60 => 60 mysql.default_host => no value => no value mysql.default_password => no value => no value mysql.default_port => no value => no value mysql.default_socket => no value => no value mysql.default_user => no value => no value mysql.max_links => Unlimited => Unlimited mysql.max_persistent => Unlimited => Unlimited mysql.trace_mode => Off => Off openssl OpenSSL support => enabled OpenSSL Version => OpenSSL 0.9.7b 10 Apr 2003 overload User-Space Object Overloading Support => enabled pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 4.5 01-December-2003 posix Revision => $Revision: 1.51.2.2 $ session Session Support => enabled Registered save handlers => files user Directive => Local Value => Master Value session.auto_start => Off => Off session.bug_compat_42 => On => On session.bug_compat_warn => On => On session.cache_expire => 180 => 180 session.cache_limiter => nocache => nocache session.cookie_domain => no value => no value session.cookie_lifetime => 0 => 0 session.cookie_path => / => / session.cookie_secure => Off => Off session.entropy_file => no value => no value session.entropy_length => 0 => 0 session.gc_divisor => 100 => 100 session.gc_maxlifetime => 1440 => 1440 session.gc_probability => 1 => 1 session.name => PHPSESSID => PHPSESSID session.referer_check => no value => no value session.save_handler => files => files session.save_path => /tmp => /tmp session.serialize_handler => php => php session.use_cookies => On => On session.use_only_cookies => Off => Off session.use_trans_sid => Off => Off sockets Sockets Support => enabled standard Regex Library => Bundled library enabled Dynamic Library Support => enabled Path to sendmail => /usr/sbin/sendmail -t -i Directive => Local Value => Master Value assert.active => 1 => 1 assert.bail => 0 => 0 assert.callback => no value => no value assert.quiet_eval => 0 => 0 assert.warning => 1 => 1 auto_detect_line_endings => 0 => 0 default_socket_timeout => 60 => 60 safe_mode_allowed_env_vars => PHP_ => PHP_ safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH url_rewriter.tags => a=href,area=href,frame=src,form=,fieldset= => a=href,area=href,frame=src,form=,fieldset= user_agent => no value => no value tokenizer Tokenizer Support => enabled xml XML Support => active XML Namespace Support => active EXPAT Version => 1.95.6 zlib ZLib Support => enabled Compiled Version => 1.1.4 Linked Version => 1.1.4 Directive => Local Value => Master Value zlib.output_compression => Off => Off zlib.output_compression_level => -1 => -1 zlib.output_handler => no value => no value Additional Modules Module Name Environment Variable => Value HOSTNAME => mama TEST_PHP_SRCDIR => /home/tom/php-4.3.7RC1 SHELL => /bin/sh TERM => Eterm MAKEFLAGS => HISTSIZE => 1000 SSH_CLIENT => 24.4.241.161 38858 22 OLDPWD => /home/tom/php-4.3.7RC1 SSH_TTY => /dev/pts/0 USER => tom LS_COLORS => SCRIPT_FILENAME => MAKELEVEL => 1 MFLAGS => PATH => /usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/home/tom/bin MAIL => /var/spool/mail/tom PWD => /home/tom/php-4.3.7RC1 INPUTRC => /etc/inputrc LANG => en_US TEST_PHP_EXECUTABLE => /home/tom/php-4.3.7RC1/sapi/cli/php REDIRECT_STATUS => PATH_TRANSLATED => HOME => /home/tom SHLVL => 3 CONTENT_LENGTH => LOGNAME => tom QUERY_STRING => SSH_CONNECTION => 24.4.241.161 38858 69.59.161.106 22 LESSOPEN => |/usr/bin/lesspipe.sh %s CONTENT_TYPE => CC => /home/tom/php-4.3.7RC1/meta_ccld REQUEST_METHOD => G_BROKEN_FILENAMES => 1 _ => /home/tom/php-4.3.7RC1/sapi/cli/php PHP Variables Variable => Value _SERVER["HOSTNAME"] => mama _SERVER["TEST_PHP_SRCDIR"] => /home/tom/php-4.3.7RC1 _SERVER["SHELL"] => /bin/sh _SERVER["TERM"] => Eterm _SERVER["MAKEFLAGS"] => _SERVER["HISTSIZE"] => 1000 _SERVER["SSH_CLIENT"] => 24.4.241.161 38858 22 _SERVER["OLDPWD"] => /home/tom/php-4.3.7RC1 _SERVER["SSH_TTY"] => /dev/pts/0 _SERVER["USER"] => tom _SERVER["LS_COLORS"] => _SERVER["SCRIPT_FILENAME"] => _SERVER["MAKELEVEL"] => 1 _SERVER["MFLAGS"] => _SERVER["PATH"] => /usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/home/tom/bin _SERVER["MAIL"] => /var/spool/mail/tom _SERVER["PWD"] => /home/tom/php-4.3.7RC1 _SERVER["INPUTRC"] => /etc/inputrc _SERVER["LANG"] => en_US _SERVER["TEST_PHP_EXECUTABLE"] => /home/tom/php-4.3.7RC1/sapi/cli/php _SERVER["REDIRECT_STATUS"] => _SERVER["PATH_TRANSLATED"] => _SERVER["HOME"] => /home/tom _SERVER["SHLVL"] => 3 _SERVER["CONTENT_LENGTH"] => _SERVER["LOGNAME"] => tom _SERVER["QUERY_STRING"] => _SERVER["SSH_CONNECTION"] => 24.4.241.161 38858 69.59.161.106 22 _SERVER["LESSOPEN"] => |/usr/bin/lesspipe.sh %s _SERVER["CONTENT_TYPE"] => _SERVER["CC"] => /home/tom/php-4.3.7RC1/meta_ccld _SERVER["REQUEST_METHOD"] => _SERVER["G_BROKEN_FILENAMES"] => 1 _SERVER["_"] => /home/tom/php-4.3.7RC1/sapi/cli/php _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 _ENV["HOSTNAME"] => mama _ENV["TEST_PHP_SRCDIR"] => /home/tom/php-4.3.7RC1 _ENV["SHELL"] => /bin/sh _ENV["TERM"] => Eterm _ENV["MAKEFLAGS"] => _ENV["HISTSIZE"] => 1000 _ENV["SSH_CLIENT"] => 24.4.241.161 38858 22 _ENV["OLDPWD"] => /home/tom/php-4.3.7RC1 _ENV["SSH_TTY"] => /dev/pts/0 _ENV["USER"] => tom _ENV["LS_COLORS"] => _ENV["SCRIPT_FILENAME"] => _ENV["MAKELEVEL"] => 1 _ENV["MFLAGS"] => _ENV["PATH"] => /usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/home/tom/bin _ENV["MAIL"] => /var/spool/mail/tom _ENV["PWD"] => /home/tom/php-4.3.7RC1 _ENV["INPUTRC"] => /etc/inputrc _ENV["LANG"] => en_US _ENV["TEST_PHP_EXECUTABLE"] => /home/tom/php-4.3.7RC1/sapi/cli/php _ENV["REDIRECT_STATUS"] => _ENV["PATH_TRANSLATED"] => _ENV["HOME"] => /home/tom _ENV["SHLVL"] => 3 _ENV["CONTENT_LENGTH"] => _ENV["LOGNAME"] => tom _ENV["QUERY_STRING"] => _ENV["SSH_CONNECTION"] => 24.4.241.161 38858 69.59.161.106 22 _ENV["LESSOPEN"] => |/usr/bin/lesspipe.sh %s _ENV["CONTENT_TYPE"] => _ENV["CC"] => /home/tom/php-4.3.7RC1/meta_ccld _ENV["REQUEST_METHOD"] => _ENV["G_BROKEN_FILENAMES"] => 1 _ENV["_"] => /home/tom/php-4.3.7RC1/sapi/cli/php PHP License This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.

« previous php.qa (#17766) next »