Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47187 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53593 invoked from network); 12 Mar 2010 19:23:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Mar 2010 19:23:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 74.125.82.42 mail-ww0-f42.google.com Received: from [74.125.82.42] ([74.125.82.42:50611] helo=mail-ww0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 54/10-13686-FA49A9B4 for ; Fri, 12 Mar 2010 14:23:28 -0500 Received: by wwc33 with SMTP id 33so1077687wwc.29 for ; Fri, 12 Mar 2010 11:23:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=yt/iKRgpooEeEgD+yjEsqJa/GmC/pI+rBIBXwgQcJHQ=; b=tJRwv5olO6NLP4JwdelBhSTSj5dCDITK4xfYOBf8jn8zv65iHKwU1BS7yd0Sl7XANO Lbp2LUXjxz7pBZs29Fap7lNXDhNEmTGJSKkdomgTm6zY+nvGSL3sS0yN2ueBM7EltEoR 76FGfb462RZc8BQhNpD0fafL1yUsUVjfHxozU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=gJNhAyGKIoPKpzwN1SBAh6mMYuzd7c+DhGtdfTuWQPhMbjBZ+jahKeXZOp8P7YjPdH 6650BehFoopylYL2i/pQzl6nvnjoFRdpXaUvE9ktO4Gxg4rsyk23dPCBYuyFmmeuwkHI HfKYZAYzTEcjKlykFcKJf1ayXXuqHNCTNPcNg= MIME-Version: 1.0 Received: by 10.216.85.203 with SMTP id u53mr72450wee.184.1268421804812; Fri, 12 Mar 2010 11:23:24 -0800 (PST) In-Reply-To: References: <4B9926E8.4080202@lerdorf.com> <4B995F83.1000605@prohost.org> <4B99639B.9030405@oracle.com> <4B996FC6.7040102@zend.com> <4B997381.1050300@oracle.com> <4B9A14FF.6000703@iki.fi> <4B9A833A.8040402@zend.com> <4B9A848C.3080701@iki.fi> Date: Fri, 12 Mar 2010 20:23:24 +0100 Message-ID: To: Alexey Zakhlestin Cc: jani.taskinen@iki.fi, Stanislav Malyshev , internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Tests repository From: pierre.php@gmail.com (Pierre Joye) On Fri, Mar 12, 2010 at 8:10 PM, Alexey Zakhlestin wrote: > > On 12.03.2010, at 22:06, Pierre Joye wrote: > >> Many tests fail because they are written for a given platform, or even >> worst (from a portability point of view), only for a given >> configuration (library version, system version,etc.). And that's not >> about windows vs other, tests can work on a Debian/ubuntu version and >> fail on another. > > Well, these tests should just be removed/rewritten. > Php-tests should test php, not libraries I would be interested to know how can we test the file API without testing libc, for example. But yes, that's the idea. Redesign the tests in a way that we output something when the results of the test is not what was expected, instead of testing random outputs from random libraries (in various versions and flavours). No big change in run-tests (none?) but a lot of necessary changes in existing tests. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org