Re: tests tweaks
| From: | (Marcus Börger) | Date: | Wed, 21 Aug 2002 01:36:53 +0000 |
| Subject: | Re: tests tweaks | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-87207@lists.php.net to get a copy of this message | ||
I made the functions a bit more C99 complient (maybe we should use
some C99 complience suit...) but unfortuanetley that was not all.
1) someone must have changed ini setting precision from 14 to 12
Adding special INI section to array tests fixed test 1 & 2.
2) test 003 Test usort, uksort and uasort
All this functions fail on the subarray....
3) test 004 Test natsort and natcasesort
Fails due to memory leaks:
/usr/src/php4/ext/standard/array.c(354) : Freeing 0x4021F1A8 (6 bytes), script=/usr/src/php4/ext/standard/tests/array/phpt.3d62ea47bcc7d
/usr/src/php4/Zend/zend_variables.c(110) : Actual location (location was relayed)
Last leak repeated 2 times
marcus
the night is later as planned:going to bed now - before i do any further speling :-)
At 22:51 20.08.2002, derick@php.net wrote:
Hey, I think this is fairly ciritical... and suspect it has something to do with marcus' new sprintf function. Marcus, can you have a look at it? Derick On Tue, 20 Aug 2002, Wez Furlong wrote: Not as far as I know; I just spotted the failing array tests and thought that it might be something simple (like cgi headers, or mangled include) screwing with the tests. --Wez. On 08/20/02, derick@php.net wrote:Hi, is there a bug report for this? Derick On Mon, 19 Aug 2002, Wez Furlong wrote:-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php --------------------------------------------------------------------------- Did I help you? http://www.derickrethans.nl/link.php?url=giftlist Frequent ranting: http://www.derickrethans.nl/ ---------------------------------------------------------------------------I noticed that "make test" runs (or skips) some tests in ext/skeleton. It should probably skip that dir. Also, the array tests are failing because they expect output like -0.3333333333 but are getting -.3333333333. (no leading 0 before the decimal point). Could someone who knows what they are doing take a look? (these results are with cli sapi)PHP: Scripting the Web - derick@php.net All your branches are belong to me! SRM: Script Running Machine - www.vl-srm.net---------------------------------------------------------------------------