PHP Test results

From: Date: Thu, 21 Mar 2002 09:32:08 +0000
Subject: PHP Test results
Groups: php.qa 
Request: Send a blank email to php-qa+get-4573@lists.php.net to get a copy of this message
array ( 'user_name' => 'Joerg Behrens', 'email' => 'joerg@php.net', 'package' => '4.2.0-RC1', 'testcase' => '0', 'status' => 'Minor Problems', 'os' => 'Irix', 'sapi' => 'Apache 1.3.x DSO', 'automake' => '14', 'autoconf' => '213', 'libtool' => '140', 'bison' => '128', 'bcmath' => 'on', 'calendar' => 'on', 'dbase' => 'on', 'dbx' => 'on', 'domxml' => 'on', 'exif' => 'on', 'ftp' => 'on', 'gd' => 'on', 'mailparse' => 'on', 'mbstring' => 'on', 'mhash' => 'on', 'ming' => 'on', 'mnogosearch' => 'on', 'mysql' => 'on', 'pcre' => 'on', 'pdf' => 'on', 'shmop' => 'on', 'sysvsem' => 'on', 'sysvshm' => 'on', 'tokenizer' => 'on', 'wddx' => 'on', 'xslt' => 'on', 'zlib' => 'on', 'test' => '[Running tests in /usr3/GCC/php-4.2.0RC1//ext/dbx/tests ====================================================== Check for dbx presence ... passed DBX_CONSTANTS ... passed [dbx_connect (003.phpt) ... failed [dbx_close (004.phpt) ... failed [dbx_query (005.phpt) ... failed [dbx_error (006.phpt) ... failed [dbx_sort (007.phpt) ... failed [dbx_compare (008.phpt) ... failed [Running tests in /usr3/GCC/php-4.2.0RC1//ext/dio/tests ====================================================== Check for dio presence ... passed [Running tests in /usr3/GCC/php-4.2.0RC1//ext/xml/tests ====================================================== XML parser test, function callbacks ... passed XML parser test, object tuple callbacks ... passed XML parser test, xml_set_object callbacks ... passed XML parser case folding test ... passed UTF-8<->ISO Latin 1 encoding/decoding test ... passed xml_parse_into_struct/umlauts in tags ... passed [Running tests in /usr3/GCC/php-4.2.0RC1//ext/exif/tests ======================================================= [Check for exif_read_data (001.phpt) ... failed [Check for exif_thumbnail (002.phpt) ... failed [Running tests in /usr3/GCC/php-4.2.0RC1//ext/zlib/tests ======================================================= gzdeflate()/gzinflate() ... passed gzcompress()/gzuncompress() ... passed gzencode()/base64_encode() ... passed [Running tests in /usr3/GCC/php-4.2.0RC1//ext/session/tests ========================================================== [Session Object Serialization (001.phpt) ... failed session_unset() without any session ... passed [Session Object Deserialization (003.phpt) ... failed [session_set_save_handler test (004.phpt) ... failed [Custom save handler, multiple session_start()s, complex data structu ... failed [References between variables in sessions (006.phpt) ... failed [Running tests in /usr3/GCC/php-4.2.0RC1//ext/ctype/tests ======================================================== ctype on integers ... passed ctype on strings ... passed [Running tests in /usr3/GCC/php-4.2.0RC1//ext/mbstring/tests =========================================================== Simple multi-byte print test (EUC-JP) ... passed mb_internal_encoding() test ... passed [mb_http_input() (003.phpt) ... failed mb_http_output() ... passed mb_detect_order() ... passed mb_substitute_character() ... passed mb_output_handler() (EUC-JP) ... passed mb_preferred_mime_name() ... passed mb_strlen() ... passed mb_strpos() ... passed mb_strrpos() ... passed mb_substr() ... passed mb_strcut() ... passed mb_strimwidth() ... passed mb_convert_variables() ... passed mb_convert_encoding() ... passed mb_detect_encoding() ... passed mb_strwidth() ... passed strlen() ... passed [Running tests in /usr3/GCC/php-4.2.0RC1//ext/mailparse/tests ============================================================ Check for mailparse presence ... passed Check stream encoding ... passed [Running tests in /usr3/GCC/php-4.2.0RC1//ext/standard/tests/reg =============================================================== RegReplace test 1 ... passed RegReplace test 2 ... passed ereg_replace single-quote test ... passed simple ereg test ... passed Test Regular expression register support in ereg ... passed Test ereg_replace of start-of-line ... passed Test empty result buffer in reg_replace ... passed Test back-references in regular expressions ... passed Test split() ... passed Long back references ... passed \\0 back reference ... passed nonexisting back reference ... passed escapes in replace string ... passed backreferences not replaced recursively ... passed replace empty matches ... passed test backslash handling in regular expressions ... passed [Running tests in /usr3/GCC/php-4.2.0RC1//ext/standard/tests/file ================================================================ File type functions ... passed [Running tests in /usr3/GCC/php-4.2.0RC1//ext/standard/tests/math ================================================================ Simple math tests ... passed [Tests for floor en ceil (floorceil.phpt) ... failed Various pow() tests ... passed Simple math tests ... passed [Running tests in /usr3/GCC/php-4.2.0RC1//ext/standard/tests/time ================================================================ microtime() function ... passed [strtotime() function (002.phpt) ... failed [Running tests in /usr3/GCC/php-4.2.0RC1//ext/standard/tests/array ================================================================= [Test array_walk, arsort, asort, krsort, ksort, rsort and sort (001.p ... failed search_array and in_array (including bug 13567) ... passed count ... passed [Running tests in /usr3/GCC/php-4.2.0RC1//ext/standard/tests/strings =================================================================== strtr() function ... passed trim() function ... passed wordwrap() function ... passed [Running tests in /usr3/GCC/php-4.2.0RC1//ext/standard/tests/assert ================================================================== assert() ... passed [Running tests in /usr3/GCC/php-4.2.0RC1//ext/standard/tests/serialize ===================================================================== serialize()/unserialize()/var_dump() ... passed serialize() (Bug #14293) ... passed [Running tests in /usr3/GCC/php-4.2.0RC1//ext/standard/tests/general_functions ============================================================================= sprintf() function ... passed quoted_printable_decode() function test ... passed levenshtein() function test ... passed fgetcsv() with tab delimited fields (BUG #8258) ... passed is_scalar() function test ... passed [Running tests in /usr3/GCC/php-4.2.0RC1//ext/standard/tests/versioning ====================================================================== version_compare test ... passed [Running tests in /usr3/GCC/php-4.2.0RC1//ext/standard/tests/aggregation ======================================================================= aggregating everything ... passed aggregating all methods ... passed aggregating methods specified in the list ... passed aggregating methods matching regular expression ... passed aggregating all default properties ... passed aggregating default properties specified in the list ... passed aggregating default properties matching regular expression ... passed retrieving aggregation info ... passed deaggreating ... passed [Running tests in /usr3/GCC/php-4.2.0RC1//pear/DB/tests ====================================================== [DB configurable error handler test (db_error2.phpt) ... failed [Running tests in /usr3/GCC/php-4.2.0RC1//pear/DB/tests/driver ============================================================= [DB_driver::connect test (01connect.phpt) ... failed [DB_driver::fetch test (02fetch.phpt) ... failed [DB_driver::simpleQuery test (03simplequery.phpt) ... failed [DB_driver::numCols test (04numcols.phpt) ... failed [DB_driver::sequences (05sequences.phpt) ... failed [DB_driver::prepare/execute test (06prepexec.phpt) ... failed [DB_driver::affectedRows test (08affectedrows.phpt) ... failed [DB_driver::numRows test (09numrows.phpt) ... failed [DB_driver::error mapping (10errormap.phpt) ... failed [DB_driver::row limit (13limit.phpt) ... failed [DB_driver::fetchmode object (14fetchmode_object.phpt) ... failed [DB_driver::escape data test (15quote.phpt) ... failed [Running tests in /usr3/GCC/php-4.2.0RC1//pear/XML/tests ======================================================= [XML Parser: parse simple string (001.phpt) ... failed [XML Parser: parse from file (002.phpt) ... failed [XML Parser: parse from file resource (003.phpt) ... failed [XML Parser: error class (004.phpt) ... failed [XML Parser: mixing character encodings (005.phpt) ... failed [Running tests in /usr3/GCC/php-4.2.0RC1//pear/tests =================================================== [PEAR constructor/destructor test (pear1.phpt) ... failed [PEAR_Autoloader (pear_autoloader.phpt) ... failed [PEAR_Config (pear_config.phpt) ... failed [PEAR_Error: basic test (pear_error.phpt) ... failed PEAR_Error: die mode ... passed [PEAR_Error: default error handling (pear_error3.phpt) ... failed PEAR_Error: expected errors ... passed [PEAR_Registry (pear_registry.phpt) ... failed [System commands tests (pear_system.phpt) ... failed [Running tests in /usr3/GCC/php-4.2.0RC1//tests ============================================== dirname test ... passed [Running tests in /usr3/GCC/php-4.2.0RC1//tests/func =================================================== Strlen() function test ... passed Static variables in functions ... passed General function test ... passed General function test ... passed Testing register_shutdown_function() ... passed [Running tests in /usr3/GCC/php-4.2.0RC1//tests/lang =================================================== Simple If condition test ... passed Simple While Loop Test ... passed Simple Switch Test ... passed Simple If/Else Test ... passed Simple If/ElseIf/Else Test ... passed Nested If/ElseIf/Else Test ... passed Function call with global and static variables ... passed Testing recursive function ... passed Testing function parameter passing ... passed Testing function parameter passing with a return value ... passed Testing nested functions ... passed Testing stack after early function return ... passed Testing eval function ... passed Testing eval function inside user-defined function ... passed Testing include ... passed Testing user-defined function in included file ... passed Testing user-defined function falling out of an If into another ... passed eval() test ... passed eval() test ... passed Switch test 1 ... passed Switch test 2 ... passed Switch test 3 ... passed Regression test ... passed Looped regression test (may take a while) ... passed Mean recursion test ... passed Testing string scanner confirmance ... passed Testing do-while loop ... passed Testing calling user-level functions from C ... passed [OO Bug Test (Bug #7515) (029.phpt) ... failed $this in constructor test ... passed [Running tests in /usr3/GCC/php-4.2.0RC1//tests/classes ====================================================== Classes general test ... passed Classes inheritance test ... passed [Running tests in /usr3/GCC/php-4.2.0RC1//tests/basic ==================================================== Trivial \"Hello World\" test ... passed [Simple POST Method test (002.phpt) ... failed [GET and POST Method combined (003.phpt) ... failed [Two variables in POST data (004.phpt) ... failed [Three variables in POST data (005.phpt) ... failed Add 3 variables together and print result ... passed Multiply 3 variables and print result ... passed Divide 3 variables and print result ... passed Subtract 3 variables and print result ... passed Testing | and & operators ... passed [Testing $argc and $argv handling (011.phpt) ... failed [Running tests in /usr3/GCC/php-4.2.0RC1//tests/strings ====================================================== String functions ... passed Formatted print functions ... passed HTML entities ... passed TEST RESULT SUMMARY ============================= Number of tests: 270 Tests skipped: 95 ( 35%) Tests failed: 48 ( 27%) Tests passed: 127 ( 73%) ============================= Skipped 0 extensions. PHP Version: 4.2.0rc1 *** Error code 255 (bu21)', 'problems' => 'Some warnings.... end_language_scanner.c:5492: warning: `yy_fatal_error\' defined but not used zend_language_scanner.c:2713: warning: `yy_last_accepting_state\' defined but not used zend_language_scanner.c:2714: warning: `yy_last_accepting_cpos\' defined but not used zend_language_scanner.c:2720: warning: `yy_more_flag\' defined but not used zend_language_scanner.c:2721: warning: `yy_more_len\' defined but not used zend_language_scanner.c:5477: warning: `yy_top_state\' defined but not used zend_ini_scanner.c: In function `ini_lex\': zend_ini_scanner.c:813: warning: label `find_rule\' defined but not used zend_ini_scanner.c: At top level: zend_ini_scanner.c:1873: warning: `yy_flex_realloc\' defined but not used zend_ini_scanner.c:1323: warning: `yyunput\' defined but not used rfc1867.c: In function `multipart_buffer_headers\': rfc1867.c:339: warning: subscript has type `char\' rfc1867.c: In function `php_ap_getword_conf\': rfc1867.c:444: warning: subscript has type `char\' rfc1867.c:471: warning: subscript has type `char\' rfc1867.c:477: warning: subscript has type `char\' rfc1867.c: In function `rfc1867_post_handler\': rfc1867.c:658: warning: subscript has type `char\' rfc1867.c:666: warning: subscript has type `char\' dbx.c:160: warning: `/*\' within comment dbx.c:161: warning: `/*\' within comment dbx.c: In function `zif_dbx_sort\': dbx.c:638: warning: unused variable `result\' dbx_odbc.c: In function `dbx_odbc_close\': dbx_odbc.c:75: warning: unused variable `exit_status\' ftp.c: In function `ftp_pasv\': ftp.c:527: warning: subscript has type `char\' ftp.c: In function `ftp_mdtm\': ftp.c:723: warning: subscript has type `char\' ftp.c: In function `ftp_getresp\': ftp.c:905: warning: subscript has type `char\' ftp.c:906: warning: subscript has type `char\' ftp.c:907: warning: subscript has type `char\' ftp.c:914: warning: subscript has type `char\' ftp.c:915: warning: subscript has type `char\' ftp.c:916: warning: subscript has type `char\' mailparse.c: In function `zif_mailparse_uudecode_all\': mailparse.c:215: warning: subscript has type `char\' mbregex.c: In function `mbre_compile_pattern\': mbregex.c:1570: warning: suggest parentheses around arithmetic in operand of | mbregex.c:1596: warning: suggest parentheses around && within || mbregex.c:1665: warning: suggest parentheses around arithmetic in operand of | mbregex.c:1787: warning: subscript has type `char\' mbregex.c:1789: warning: subscript has type `char\' mbregex.c:1789: warning: subscript has type `char\' mbregex.c:2310: warning: subscript has type `char\' mbregex.c:2312: warning: subscript has type `char\' mbregex.c:2312: warning: subscript has type `char\' mbregex.c:1354: warning: unused variable `stackt\' mbregex.c: In function `mbre_compile_fastmap\': mbregex.c:3177: warning: enumeration value `fail\' not handled in switch mbregex.c: In function `mbre_search\': mbregex.c:3415: warning: suggest parentheses around arithmetic in operand of | mbregex.c: In function `mbre_match\': mbregex.c:3982: warning: suggest parentheses around arithmetic in operand of | mbregex.c:4117: warning: suggest parentheses around arithmetic in operand of | mbregex.c:4402: warning: enumeration value `fail\' not handled in switch mbregex.c: At top level: mbregex.c:2672: warning: `insert_op\' defined but not used mod_mm.c: In function `zm_startup_ps_mm\': mod_mm.c:261: warning: int format, uid_t arg (arg 3) url_scanner_ex.c: In function `append_modified_url\': url_scanner_ex.c:107: warning: unused variable `yyaccept\' url_scanner_ex.c:164: warning: label `yy10\' defined but not used url_scanner_ex.c:162: warning: label `yy9\' defined but not used [..] In file included from php_apache_http.h:6, from php_apache.c:45: /usr/local/apache/include/ap_config.h:1294: warning: `XtOffsetOf\' redefined /usr3/GCC/php-4.2.0RC1/main/php.h:346: warning: this is the location of the previous definition regcomp.c: In function `p_ere_exp\': regcomp.c:315: warning: subscript has type `char\' regcomp.c:327: warning: subscript has type `char\' In file included from regexec.c:46: engine.c: In function `sbackref\': engine.c:483: warning: subscript has type `char\'', 'bugids' => '', 'remarks' => 'The tests wont run fine. Looks like that searching for zlib isnt start in the specified dir \'with-zlib-dir=/usr/local\' . Toogle the LD_LIBRARYN32_PATH would solve the problem. When take a look to the phpinfo() i can see somehtml pieces in the output. supported databases MySQL<br />ODBC<br />PostgreSQL<br />Microsoft SQL Server<br />FrontBase<br />Oracle 8 (not really)<br />Sybase-CT SERVER_SIGNATURE <ADDRESS>Apache/1.3.20 Server at sgi.takenet.de Port 80</ADDRESS ', )

« previous php.qa (#4573) next »