Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.4

Bug #17705 4 FAILED TESTS
Submitted: 2010-08-15 12:08 UTC
From: remicollet Assigned:
Status: Open Package: Var_Dump (version 1.0.4)
PHP Version: 5.3.3 OS: GNU/Linux (Fedora 13)
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 49 + 34 = ?

 
 [2010-08-15 12:08 UTC] remicollet (Remi Collet)
Description: ------------ toString-float.phpt already fails with previous version (1.0.3). Probably because I ru na x86_64 version of PHP. For the 3 others tests, this seems to be a regression (perhaps a php 5.3 specific) Test script: --------------- # pear run-tests -p Var_Dump Expected result: ---------------- 23 PASSED TESTS Actual result: -------------- # pear run-tests -p Var_Dump Running 23 tests FAIL [ 1/23] Bug #490 : Recursions not managed.[/usr/share/pear/test/Var_Dump/bug490.phpt] PASS [ 2/23] Bug #1321 : Numeric zero values are not shown.[/usr/share/pear/test/Var_Dump/bug1321.phpt] FAIL [ 3/23] Bug #3396 : toString() sets object variables.[/usr/share/pear/test/Var_Dump/bug3396.phpt] FAIL [ 4/23] Bug #3416 : PHP5 Protected and private attributes not shown.[/usr/share/pear/test/Var_Dump/bug3416.phpt] PASS [ 5/23] Bug #XXX1 : Strings with line containing a single "}"[/usr/share/pear/test/Var_Dump/tests/bug11325.phpt] PASS [ 6/23] Ignore list.[/usr/share/pear/test/Var_Dump/ignore-list.phpt] PASS [ 7/23] Renderer : HTML4_Table.[/usr/share/pear/test/Var_Dump/renderer-html4_table.phpt] PASS [ 8/23] Renderer : HTML4_Text.[/usr/share/pear/test/Var_Dump/renderer-html4_text.phpt] PASS [ 9/23] Renderer : Table.[/usr/share/pear/test/Var_Dump/renderer-table.phpt] PASS [10/23] Renderer : Text.[/usr/share/pear/test/Var_Dump/renderer-text.phpt] PASS [11/23] Renderer : XHTML_Table.[/usr/share/pear/test/Var_Dump/renderer-xhtml_table.phpt] PASS [12/23] Renderer : XHTML_Text.[/usr/share/pear/test/Var_Dump/renderer-xhtml_text.phpt] PASS [13/23] Renderer : XML.[/usr/share/pear/test/Var_Dump/renderer-xml.phpt] PASS [14/23] Text renderer : Compact mode.[/usr/share/pear/test/Var_Dump/text-compact_mode.phpt] PASS [15/23] Text renderer : Normal mode.[/usr/share/pear/test/Var_Dump/text-normal_mode.phpt] PASS [16/23] Text renderer : Wide mode.[/usr/share/pear/test/Var_Dump/text-wide_mode.phpt] PASS [17/23] toString() : array.[/usr/share/pear/test/Var_Dump/toString-array.phpt] PASS [18/23] toString() : bool.[/usr/share/pear/test/Var_Dump/toString-bool.phpt] FAIL [19/23] toString() : float.[/usr/share/pear/test/Var_Dump/toString-float.phpt] PASS [20/23] toString() : int.[/usr/share/pear/test/Var_Dump/toString-int.phpt] PASS [21/23] toString() : null.[/usr/share/pear/test/Var_Dump/toString-null.phpt] PASS [22/23] toString() : object.[/usr/share/pear/test/Var_Dump/toString-object.phpt] PASS [23/23] toString() : resource.[/usr/share/pear/test/Var_Dump/toString-resource.phpt] wrote log to "/tmp/run-tests.log" TOTAL TIME: 00:04 19 PASSED TESTS 0 SKIPPED TESTS 4 FAILED TESTS: /usr/share/pear/test/Var_Dump/bug490.phpt /usr/share/pear/test/Var_Dump/bug3396.phpt /usr/share/pear/test/Var_Dump/bug3416.phpt /usr/share/pear/test/Var_Dump/toString-float.phpt # cat bug3396.diff 001- object\(foo\)(#[0-9]+ )?\(1\) { 001+ object(foo)#3 (1) { 002- bar:protected => string\(5\) value 002+ "bar":protected => string(5) value # cat bug3416.diff 001- object\(foo\)(#[0-9]+ )?\(3\) { 001+ object(foo)#3 (3) { 002- bar1 => string\(6\) value1 002+ bar1 => string(6) value1 003- bar2:protected => string\(6\) value2 003+ "bar2":protected => string(6) value2 004- bar3:private => string\(6\) value3 004+ "bar3":"foo":private => string(6) value3 # cat bug490.diff 001- object\(c_parent\)(#[0-9]+ )?\(2\) { 001+ object(c_parent)#3 (2) { 002- myChild => object\(child\)(#[0-9]+ )?\(1\) { 002+ myChild => object(child)#4 (1) { 003- myParent => object\(c_parent\)(#[0-9]+ )?\(2\) { 003+ myParent => *RECURSION* 004- myChild => object\(child\)(#[0-9]+ )?\(1\) { 004+ } 005- myParent => \*RECURSION\* 005+ myName => string(8) c_parent 006- } 006+ } 007- myName => string\(8\) c_parent 008- } 009- } 010- myName => string\(8\) c_parent 011- } # cat toString-float.diff 003- float 2147483648 003+ int 2147483648 004- float -2147483648

Comments