Re: PHP Test results
| From: | Melvyn Sopacua | Date: | Tue, 03 Sep 2002 11:10:33 +0000 |
| Subject: | Re: PHP Test results | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-5951@lists.php.net to get a copy of this message | ||
On Tue, 3 Sep 2002, Andrey Hristov wrote:
AH>>> andrey@debian:~/php-4.2.3RC2$ make test
AH>>> make: *** No rule to make target `/home/andrey/php-4.2.3RC2/sapi/cli/php',
AH>>> needed by `test'. Stop.
AH>>> andrey@debian:~/php-4.2.3RC2$
AH>>>
AH>>> But CLI is not built with almost standard configuration. I am not sure
AH>>> whether this is default for 430-dev but not for 423-rc2.
See the whole mbstring discussion on php-dev :-)
CLI wasn't stable on 4.2, in 4.3 it should be (pending usual QA and disclaimers
of course).
AH>>> I built CLI version and did "make test". 42 fails - 6 less.
AH>>>
AH>>> This is for arrays :
AH>>>
AH>>> Running tests in /home/andrey/php-4.2.3RC2//ext/standard/tests/array
AH>>> ====================================================================
AH>>> Test array_merge and array_walk ...
AH>>> passed
AH>>> Test arsort, asort, krsort, ksort, rsort, and sort ...
AH>>> passed
AH>>> Test usort, uksort and uasort (003.phpt) ...
AH>>> failed
That test is broken. It's fixed in HEAD, but it wasn't MFH'd.
An sdiff should reveal that int(0) is expected but the arrays themselves are
returned.
The 'out' behavior is correct, since array_sum doesn't change the arrays it
get's passed anymore (in contrast to earlier versions).
AH>>> Test natsort and natcasesort ...
AH>>> passed
AH>>> search_array and in_array (including bug 13567) ...
AH>>> passed
AH>>> count ...
AH>>> passed
AH>>>
AH>>>
AH>>> Best regards
AH>>> Andrey Hristov
AH>>>
AH>>>
AH>>> ----- Original Message -----
AH>>> From: "Melvyn Sopacua" <msopacua@idg.nl>
AH>>> To: "Andrey Hristov" <andrey@webgate.bg>
AH>>> Cc: <php-qa@lists.php.net>
AH>>> Sent: Tuesday, September 03, 2002 1:48 PM
AH>>> Subject: Re: [PHP-QA] PHP Test results
AH>>>
AH>>>
AH>>> > On Tue, 3 Sep 2002, Andrey Hristov wrote:
AH>>> >
AH>>> > AH>>> Date: Tue, 3 Sep 2002 13:41:12 +0300
AH>>> > AH>>> From: Andrey Hristov <andrey@webgate.bg>
AH>>> > AH>>> To: Melvyn Sopacua <msopacua@idg.nl>
AH>>> > AH>>> Cc: php-qa@lists.php.net
AH>>> > AH>>> Subject: Re: [PHP-QA] PHP Test results
AH>>> > AH>>>
AH>>> > AH>>> andrey@debian:~/php-4.2.3RC2$ make --version
AH>>> > AH>>> GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
AH>>> > AH>>>
AH>>> > AH>>>
AH>>> > AH>>> The results from ./php run-tests.php are the same after the
AH>>> > AH>>> patch.
AH>>> >
AH>>> > Is that really ./php run-tests.php or gmake test?
AH>>> >
AH>>> > There's a real difference, since build/rules.mk sets
AH>>> > $_ENV['TOP_SRCDIR']
AH>>> >
AH>>> >
AH>>> > --
AH>>> >
AH>>> >
AH>>> > Melvyn.
AH>>> >
AH>>>
AH>>>
--
Melvyn.