Re: cvs: php4 /ext/domxml/tests 001.phpt
| From: | (Marcus Börger) | Date: | Thu, 24 Oct 2002 17:20:37 +0000 |
| Subject: | Re: cvs: php4 /ext/domxml/tests 001.phpt | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-15376@lists.php.net to get a copy of this message | ||
This should be the other way round. A Test must be done
without any memoryleak. And so there is no difference
between debug and non-debug versions of php.
The only exception to this rule would be to check if setting
that options works. But then we needed a function that would
generate a memleak on demand.
marcus
At 19:02 24.10.2002, Ilia Alshanetsky wrote:
iliaa Thu Oct 24 13:02:44 2002 EDTModified files:/php4/ext/domxml/tests 001.phptLog: Added an ini option to hide the expected memory leak. This is done for compatibility with systems where report_memleak is turned off or running PHP with --disable-debug. Index: php4/ext/domxml/tests/001.phpt diff -u php4/ext/domxml/tests/001.phpt:1.3 php4/ext/domxml/tests/001.phpt:1.4 --- php4/ext/domxml/tests/001.phpt:1.3 Fri Oct 11 10:02:59 2002+++ php4/ext/domxml/tests/001.phpt Thu Oct 24 13:02:44 2002@@ -1,11 +1,10 @@ --TEST-- Test 1: Accessing single node +--INI-- +report_memleaks=0 --SKIPIF-- <?php if(!extension_loaded("domxml")) print "skip"; ?> ---POST-- ---GET-- --FILE-- - <?php require_once("domxml_test.inc"); -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php