Is anyone working on getting the run-tests.php and tests/* running on Win32?
Who is adding test cases as bugs are closed? Fixed run-tests.php and added a Win32 project to run the tests. During the test run PHP faults (bad pointer/index during mbstring tests). This is a good thing, as it looks like this found a real PHP bug. --------------------Configuration: tests - Win32 Debug-------------------- set TEST_PHP_EXECUTABLE=Debug_TS\php-cgi.exe cd .. && Debug_TS\php-cgi.exe -q -c php.ini-dist run-tests.php OK - TEST_PHP_EXECUTABLE = Debug_TS\\php-cgi.exe Running tests in C:/net.php/php4-current/ext/bz2/tests ====================================================== [all 2 test(s) skipped] Running tests in C:/net.php/php4-current/ext/crack/tests ======================================================== [all 1 test(s) skipped] Running tests in C:/net.php/php4-current/ext/ctype/tests ======================================================== ctype on integers ... passed ctype on strings (002.phpt) ... failed Running tests in C:/net.php/php4-current/ext/cybermut/tests =========================================================== [all 1 test(s) skipped] Running tests in C:/net.php/php4-current/ext/db/tests ===================================================== [all 6 test(s) skipped] Running tests in C:/net.php/php4-current/ext/dbplus/tests ========================================================= [all 1 test(s) skipped] Running tests in C:/net.php/php4-current/ext/dbx/tests ====================================================== [all 8 test(s) skipped] Running tests in C:/net.php/php4-current/ext/dio/tests ====================================================== [all 1 test(s) skipped] Running tests in C:/net.php/php4-current/ext/domxml/tests ========================================================= [all 1 test(s) skipped] Running tests in C:/net.php/php4-current/ext/exif/tests ======================================================= [all 3 test(s) skipped] Running tests in C:/net.php/php4-current/ext/gmp/tests ====================================================== [all 3 test(s) skipped] Running tests in C:/net.php/php4-current/ext/iconv/tests ======================================================== [all 5 test(s) skipped] Running tests in C:/net.php/php4-current/ext/interbase/tests ============================================================ [all 6 test(s) skipped] Running tests in C:/net.php/php4-current/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() (005.phpt) ... failed 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() (015.phpt) ... failed mb_convert_encoding() ... passed mb_detect_encoding() ... passed mb_strwidth() ... passed mb_strlen() ... passed Running tests in C:/net.php/php4-current/ext/mcrypt/tests ========================================================= [all 1 test(s) skipped] Running tests in C:/net.php/php4-current/ext/mcve/tests ======================================================= [all 1 test(s) skipped] Running tests in C:/net.php/php4-current/ext/ncurses/tests ========================================================== [all 1 test(s) skipped] Running tests in C:/net.php/php4-current/ext/openssl/tests ========================================================== [all 1 test(s) skipped] Running tests in C:/net.php/php4-current/ext/pcntl/tests ======================================================== [all 1 test(s) skipped] Running tests in C:/net.php/php4-current/ext/pgsql/tests ======================================================== [all 19 test(s) skipped] Running tests in C:/net.php/php4-current/ext/pspell/tests ========================================================= [all 1 test(s) skipped] Running tests in C:/net.php/php4-current/ext/session/tests ========================================================== Session Object Serialization ... passed session_unset() without any session ... passed Session Object Deserialization ... passed session_set_save_handler test ... passed Custom save handler, multiple session_start()s, complex data structu ... passed References between variables in sessions ... passed Running tests in C:/net.php/php4-current/ext/skeleton/tests =========================================================== [all 1 test(s) skipped] Running tests in C:/net.php/php4-current/ext/standard/tests/aggregation ======================================================================= aggregating everything (aggregate.phpt) ... failed aggregating all methods (aggregate_methods.phpt) ... failed aggregating methods specified in the list (aggregate_methods_by_list ... failed aggregating methods matching regular expression (aggregate_methods_b ... failed aggregating all default properties (aggregate_properties.phpt) ... failed aggregating default properties specified in the list (aggregate_prop ... failed aggregating default properties matching regular expression (aggregat ... failed retrieving aggregation info (aggregation_info.phpt) ... failed deaggreating (deaggregate.phpt) ... failed Running tests in C:/net.php/php4-current/ext/standard/tests/array ================================================================= Test array_merge and array_walk (001.phpt) ... failed Test arsort, asort, krsort, ksort, rsort, and sort (002.phpt) ... failed Test usort, uksort and uasort (003.phpt) ... failed Test natsort and natcasesort ... passed search_array and in_array (including bug 13567) (array_search.phpt) ... failed count ... passed Running tests in C:/net.php/php4-current/ext/standard/tests/assert ================================================================== assert() ... passed Running tests in C:/net.php/php4-current/ext/standard/tests/file ================================================================ File type functions (001.phpt) ... failed File/Stream functions (002.phpt) ... failed is_file/file_exist (003.phpt) ... failed Running tests in C:/net.php/php4-current/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 quoted_printable_decode() function test with CR/LF (006.phpt) ... failed Running tests in C:/net.php/php4-current/ext/standard/tests/math ================================================================ Simple math tests (abs.phpt) ... failed Tests for floor en ceil (floorceil.phpt) ... failed Various pow() tests (pow.phpt) ... failed Simple math tests (round.phpt) ... failed Running tests in C:/net.php/php4-current/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() (009.phpt) ... failed 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 C:/net.php/php4-current/ext/standard/tests/serialize ===================================================================== serialize()/unserialize()/var_dump() ... passed serialize() (Bug #14293) ... passed Running tests in C:/net.php/php4-current/ext/standard/tests/strings =================================================================== strtr() function ... passed trim() function (trim.phpt) ... failed wordwrap() function (wordwrap.phpt) ... failed Running tests in C:/net.php/php4-current/ext/standard/tests/time ================================================================ microtime() function ... passed strtotime() function (002.phpt) ... failed Running tests in C:/net.php/php4-current/ext/standard/tests/versioning ====================================================================== version_compare test ... passed Running tests in C:/net.php/php4-current/ext/sysvmsg/tests ========================================================== [all 1 test(s) skipped] Running tests in C:/net.php/php4-current/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 C:/net.php/php4-current/ext/xslt/tests ======================================================= [all 1 test(s) skipped] Running tests in C:/net.php/php4-current/ext/zip/tests ====================================================== [all 1 test(s) skipped] Running tests in C:/net.php/php4-current/ext/zlib/tests ======================================================= [all 3 test(s) skipped] Running tests in C:/net.php/php4-current/pear/DB/tests ====================================================== DB configurable error handler test (db_error2.phpt) ... failed Running tests in C:/net.php/php4-current/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 C:/net.php/php4-current/pear/DB/tests/ibase ============================================================ [all 7 test(s) skipped] Running tests in C:/net.php/php4-current/pear/DB/tests/mysql ============================================================ DB_mysql::connect test (01connect.phpt) ... failed DB_mysql fetch test (02fetch.phpt) ... failed DB_mysql::simpleQuery test (03simplequery.phpt) ... failed DB_mysql::numCols test (04numcols.phpt) ... failed DB_mysql sequences (05sequences.phpt) ... failed DB_mysql::prepare/execute test (06prepexec.phpt) ... failed DB_mysql::errorNative test (07errornative.phpt) ... failed DB_mysql::affectedRows test (08affectedrows.phpt) ... failed DB_mysql::numRows test (09numrows.phpt) ... failed DB_mysql error mapping (10errormap.phpt) ... failed DB_mysql tableInfo test (12tableinfo.phpt) ... failed DB_mysql row limit (13limit.phpt) ... failed DB_mysql::fetchmode object (14fetchmode_object.phpt) ... failed Running tests in C:/net.php/php4-current/pear/DB/tests/oci8 =========================================================== [all 12 test(s) skipped] Running tests in C:/net.php/php4-current/pear/DB/tests/odbc =========================================================== [all 8 test(s) skipped] Running tests in C:/net.php/php4-current/pear/DB/tests/pgsql ============================================================ [all 13 test(s) skipped] Running tests in C:/net.php/php4-current/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 ... passed PEAR_Error: die mode ... passed PEAR_Error: default error handling ... passed PEAR_Error: expected errors ... passed PEAR_Registry (pear_registry.phpt) ... failed System commands tests (pear_system.phpt) ... failed Running tests in C:/net.php/php4-current/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 C:/net.php/php4-current/tests ============================================== dirname test (dirname.phpt) ... failed Running tests in C:/net.php/php4-current/tests/basic ==================================================== Trivial "Hello World" test ... passed 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 C:/net.php/php4-current/tests/classes ====================================================== Classes general test ... passed Classes inheritance test ... passed Running tests in C:/net.php/php4-current/tests/func =================================================== Strlen() function test ... passed Static variables in functions ... passed General function test ... passed General function test ... passed Testing register_shutdown_function() ... passed Output buffering tests (006.phpt) ... failed INI functions test ... passed Running tests in C:/net.php/php4-current/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 Internal hash position bug on assignment (Bug #16227) (031.phpt) ... failed Class method registration ... passed Alternative syntaxes test ... passed Running tests in C:/net.php/php4-current/tests/strings ====================================================== String functions ... passed Formatted print functions ... passed HTML entities ... passed TEST RESULT SUMMARY ============================= Number of tests: 297 Tests skipped: 118 ( 40%) Tests failed: 70 ( 39%) Tests passed: 109 ( 61%) ============================= Skipped 0 extensions. NMAKE : fatal error U1077: 'cd' : return code '0xff' Stop. Error executing nmake. __test_run_complete__ - 5 error(s), 0 warning(s) -- Preston L. Bannister http://members.cox.net/preston.bannister/ pbannister on Yahoo Messenger -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php