|
updating php & xdebug src/build as of 18 Jun 07, test results are (similar FAIL counts, again):
...
Number of tests : 90 72
Tests skipped : 18 ( 20.0%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 38 ( 42.2%) ( 52.8%)
Tests passed : 34 ( 37.8%) ( 47.2%)
Time taken : 149 seconds
=====================================================================
FAILED TEST SUMMARY
Test with internal callbacks [tests/array_map.phpt]
Test for assertion callbacks [tests/assert_test.phpt]
Test with auto-trace [tests/auto_trace.phpt]
Text for crash bug in tracing to file [tests/bug00003.phpt]
Test for segmentation fault with xdebug_get_function_stack() and collect_params=1. (ZE20) [tests/bug00022.phpt]
Test for bug 0000146: Array key names with quotes in traces are not escaped [tests/bug00146.phpt]
Test for bug 0000173: Xdebug segfaults using SPL ArrayIterator. [tests/bug00173.phpt]
Test for bug 0000184: problem with control chars in code traces [tests/bug00184.phpt]
Test for bug 0000241: Crash in xdebug_get_function_stack(). [tests/bug00241.phpt]
Test for file/line correctness with call_user_func_array() [tests/call_user_func_array.phpt]
Test call_user_func_array() with multiple files [tests/call_user_func_array2.phpt]
Test with showing local variables on errors (ZE2) [tests/local_vars_in_error.phpt]
Test stack traces (level1, html) [tests/stacktrace_html_1.phpt]
Test stack traces (level2, html) [tests/stacktrace_html_2.phpt]
Test stack traces (level3, html) [tests/stacktrace_html_3.phpt]
Test stack traces (level4, html) [tests/stacktrace_html_4.phpt]
Test stack traces (level4, html) [tests/stacktrace_html_4_novar.phpt]
Test stack traces (level1, text) [tests/stacktrace_text_1.phpt]
Test stack traces (level2, text) [tests/stacktrace_text_2.phpt]
Test stack traces (level3, text) [tests/stacktrace_text_3.phpt]
Test stack traces (level4, text) [tests/stacktrace_text_4.phpt]
Test stack traces (level4, text) [tests/stacktrace_text_4_novar.phpt]
Test with include file [tests/test1.phpt]
Test for nested indirect function call [tests/test10b.phpt]
Test for indirect function call [tests/test11.phpt]
Test for complex parameters to functions [tests/test12.phpt]
Test for variable function calls [tests/test13.phpt]
Test for circular references (ZE2) [tests/test14b.phpt]
Test for variable member functions [tests/test15.phpt]
Test for overloaded member functions / classes (ZE2) [tests/test16b.phpt]
Test for internal parameters [tests/test17.phpt]
Test with eval() [tests/test18.phpt]
Test for static method calls [tests/test20b.phpt]
Test for complex parameters to a function (ZE2) [tests/test6.phpt]
Test for class members [tests/test7b.phpt]
Test for nested function calls [tests/test8.phpt]
Test for nested static method calls (ZE2) [tests/test9b.phpt]
Test with fibonacci numbers [tests/trace.phpt]
To start, sharing the .diff/.out for just the first two FAILs ... in hopes that something may become obvious,
% cat array_map.diff array_map.out
003+ 0.0041 66352 -> array_map() /usr/local/build/xdebug-cvs/tests/array_map.php:5
004+ 0.0044 66976 -> gettype() /usr/local/build/xdebug-cvs/tests/array_map.php:7
005+ 0.0056 67016 -> file_get_contents() /usr/local/build/xdebug-cvs/tests/array_map.php:9
003- %w%f %w%d -> array_map('strlen', array (0 => 'a', 1 => 'bb', 2 => 'ccc')) /%s/array_map.php:5
004- %w%f %w%d -> strlen('a') /%s/array_map.php:0
005- %w%f %w%d -> strlen('bb') /%s/array_map.php:0
006- %w%f %w%d -> strlen('ccc') /%s/array_map.php:0
007- %w%f %w%d -> gettype(array (0 => 1, 1 => 2, 2 => 3)) /%s/array_map.php:7
008- %w%f %w%d -> file_get_contents('/tmp/%s') /%s/array_map.php:9array
TRACE START [2007-06-19 04:30:00]
0.0041 66352 -> array_map() /usr/local/build/xdebug-cvs/tests/array_map.php:5
0.0044 66976 -> gettype() /usr/local/build/xdebug-cvs/tests/array_map.php:7
0.0056 67016 -> file_get_contents() /usr/local/build/xdebug-cvs/tests/array_map.php:9
% cat assert_test.diff assert_test.out
006+ 0.0050 69776 -> assert_options() /usr/local/build/xdebug-cvs/tests/assert_test.php:5
007+ 0.0053 69776 -> assert_options() /usr/local/build/xdebug-cvs/tests/assert_test.php:6
008+ 0.0054 69776 -> assert_options() /usr/local/build/xdebug-cvs/tests/assert_test.php:7
009+ 0.0054 69776 -> assert_options() /usr/local/build/xdebug-cvs/tests/assert_test.php:18
010+ 0.0055 69776 -> assert() /usr/local/build/xdebug-cvs/tests/assert_test.php:21
011+ 0.0056 69976 -> my_assert_handler() /usr/local/build/xdebug-cvs/tests/assert_test.php:0
012+ 0.0069 70448 -> file_get_contents() /usr/local/build/xdebug-cvs/tests/assert_test.php:23
006- %w%f %w%d -> assert_options(1, 1) /%s/assert_test.php:5
007- %w%f %w%d -> assert_options(4, 0) /%s/assert_test.php:6
008- %w%f %w%d -> assert_options(5, 1) /%s/assert_test.php:7
009- %w%f %w%d -> assert_options(2, 'my_assert_handler') /%s/assert_test.php:18
010- %w%f %w%d -> assert(FALSE) /%s/assert_test.php:21
011- %w%f %w%d -> my_assert_handler('/%s/assert_test.php', 21, '') /%s/assert_test.php:0
012- %w%f %w%d -> file_get_contents('/tmp/%s') /%s/assert_test.php:23Assertion Failed:
File '/usr/local/build/xdebug-cvs/tests/assert_test.php'
Line '21'
Code ''
TRACE START [2007-06-19 04:30:02]
0.0050 69776 -> assert_options() /usr/local/build/xdebug-cvs/tests/assert_test.php:5
0.0053 69776 -> assert_options() /usr/local/build/xdebug-cvs/tests/assert_test.php:6
0.0054 69776 -> assert_options() /usr/local/build/xdebug-cvs/tests/assert_test.php:7
0.0054 69776 -> assert_options() /usr/local/build/xdebug-cvs/tests/assert_test.php:18
0.0055 69776 -> assert() /usr/local/build/xdebug-cvs/tests/assert_test.php:21
0.0056 69976 -> my_assert_handler() /usr/local/build/xdebug-cvs/tests/assert_test.php:0
0.0069 70448 -> file_get_contents() /usr/local/build/xdebug-cvs/tests/assert_test.php:23
Gibberish to me, at first glance :-/ Perhaps something strikes /you/?
edited on: 2007-06-19 07:03 |
|
here you go ...
;[XDebugDebugger]
zend_extension_ts="/usr/local/lib/php/extensions/no-debug-zts-20060613/xdebug.so"
xdebug.auto_trace = Off
xdebug.collect_includes = On
xdebug.collect_params = Off
xdebug.collect_return = Off
xdebug.default_enable = On
xdebug.dump.COOKIE = ""
xdebug.dump.ENV = ""
xdebug.dump.FILES = ""
xdebug.dump.GET = ""
xdebug.dump.POST = ""
xdebug.dump.REQUEST = ""
xdebug.dump.SERVER = ""
xdebug.dump.SESSION = ""
xdebug.dump_once = On
xdebug.dump_undefined = Off
xdebug.extended_info = 1
xdebug.manual_url = "http://www.php.net"
xdebug.max_nesting_level = 100
xdebug.profiler_append = 0
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "/tmp"
xdebug.profiler_output_name = "crc32"
xdebug.remote_autostart = Off
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "localhost"
xdebug.remote_mode = "req"
xdebug.remote_port = 9000
xdebug.show_local_vars = 0
xdebug.show_mem_delta = 0
xdebug.trace_format = 0
xdebug.trace_output_dir = "/tmp"
xdebug.trace_options = 0
xdebug.trace_output_name = crc32
fwiw, this is the same set of setting which used to ( a while back ...) work with 'make test' results of just a couple of errors.
now that you mention it ... i seem to remember an issue about 'crc32' (checking ...) |