Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29439 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32325 invoked by uid 1010); 15 May 2007 15:14:13 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 32310 invoked from network); 15 May 2007 15:14:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 May 2007 15:14:13 -0000 Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain php.net from 85.214.94.56 cause and error) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 85.214.94.56 aixcept.net Received: from [85.214.94.56] ([85.214.94.56:54297] helo=h1149922.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3B/83-07106-24EC9464 for ; Tue, 15 May 2007 11:14:11 -0400 Received: from localhost (h1149922.serverkompetenz.net [85.214.94.56]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h1149922.serverkompetenz.net (Postfix) with ESMTP id B98EF1B349A; Tue, 15 May 2007 17:14:06 +0200 (CEST) Date: Tue, 15 May 2007 17:14:08 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1693318809.20070515171408@marcus-boerger.de> To: Zoe Slattery CC: antony@zend.com, internals@lists.php.net In-Reply-To: <46499A88.6000502@googlemail.com> References: <464891C7.3040806@googlemail.com> <862412914.20070514193633@marcus-boerger.de> <46496335.5050403@googlemail.com> <5e2913440705150052l7bac4028sc3ac26655b38b141@mail.gmail.com> <464968C5.9060608@zend.com> <4649730B.5020507@googlemail.com> <464974DE.7060008@zend.com> <46498F8B.2090902@googlemail.com> <46499A88.6000502@googlemail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Tests - and a question From: helly@php.net (Marcus Boerger) Hello Zoe, it ignores the php.ini more or less. You should be using run-tests.php switches -u, -U and -N. Try: php run-tests.php -h best regards marcus Tuesday, May 15, 2007, 1:33:28 PM, you wrote: > Zoe Slattery wrote: >> Antony Dovgal wrote: >>> On 05/15/2007 12:44 PM, Zoe Slattery wrote: >>>> We're on it :-) Will probably have a few more questions on Unicode >>>> testing later, noticed that you are putting UEXPECT section in >>>> tests- but need to understand the implemenentation plan first... >>> >>> We have two operation modes in PHP6 - "native" and Unicode. In these >>> modes expected output of the same test may differ very much. >>> That's why in some cases we have to use two expected output sections >>> - EXPECT(F) for native and UEXPECT(F) for Unicode mode. >> Thanks - I've just been looking at this and would like to confirm that >> I've understood it. We can have both --EXEPECT(F)-- and --UEXPECT(F)-- >> in a PHPT file. In PHP5 run-tests.php will just ignore the --U.*-- >> sections. In PHP6 run-tests.php will use the --U.*-- sections if >> unicode_semantics=on and ignore the corresponding --EXPECT(F)-- >> sections. If unicode_semantics=off PHP6 will behave the same way as PHP5. >> >> Correct? Or is it more complicated that that? > Hmm - this isn't quite right. I get the test to behave differently with > an --INI-- section which uses unicode_semantics=on/off, but not when I > use a php.ini file... >>> >>> * There is also UEXPECTREGEX - similar to EXPECTREGEX, but used in >>> Unicode mode. >>> >> >> Best regards, Marcus