Re: [PHP-DEV] unit test a single case

2018-01-18 Thread Christoph M. Becker
On 18.01.2018 at 17:11, Sam Ding wrote: > I can run the test case individually now and compare the result between > s390x and x86_64 (both RHEL 7.2) on failed cases. > Found the different results between the two platforms, some are related to > function var_dump(), how can I debug php code or

Re: [PHP-DEV] unit test a single case

2018-01-17 Thread Christoph M. Becker
On 17.01.2018 at 17:50, Nikita Popov wrote: > On Wed, Jan 17, 2018 at 5:40 PM, Sam Ding wrote: > >> Further how to debug a php unit case code? > > The first step for debugging would be to look at the .out or .diff file for > the failing .phpt. There will also be a .php

Re: [PHP-DEV] unit test a single case

2018-01-17 Thread Pedro Magalhães
On Wed, Jan 17, 2018 at 4:50 PM, Nikita Popov wrote: > On Wed, Jan 17, 2018 at 5:40 PM, Sam Ding wrote: > > > > > Hi PHP developers, > > > > I am new and try to porting php v7.2.1 on IBM s390x, after building and > > run unit test "make test", there

Re: [PHP-DEV] unit test a single case

2018-01-17 Thread Nikita Popov
On Wed, Jan 17, 2018 at 5:40 PM, Sam Ding wrote: > > Hi PHP developers, > > I am new and try to porting php v7.2.1 on IBM s390x, after building and > run unit test "make test", there are > some failed cases. Is there any way I can run a single case and get the > result? >

[PHP-DEV] unit test a single case

2018-01-17 Thread Sam Ding
Hi PHP developers, I am new and try to porting php v7.2.1 on IBM s390x, after building and run unit test "make test", there are some failed cases. Is there any way I can run a single case and get the result? Further how to debug a php unit case code? Thanks, Sam Ding, Linux on z Systems Open