Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61859 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43766 invoked from network); 28 Jul 2012 17:08:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jul 2012 17:08:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.216.170 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.216.170 mail-qc0-f170.google.com Received: from [209.85.216.170] ([209.85.216.170:48679] helo=mail-qc0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 13/68-23870-68C14105 for ; Sat, 28 Jul 2012 13:08:23 -0400 Received: by qcmt36 with SMTP id t36so2765457qcm.29 for ; Sat, 28 Jul 2012 10:08:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding:x-gm-message-state; bh=/7Oa2fA3l38TRtnNzXV/L4QIUwKOyqeEYu8Gc6nB1BY=; b=EsZwlS7Zc+EPy3k8P/iqu/JhmvpQgolmPu4kkdIpHF5AsahpmpOCIZSo8QOiYWN1z3 +zGOeK5ByLJKMOH1a1WnT0efmrl6mKa10cRWzKGTyv8fx4a20p9itHNtQ4fD5hQrfk5w KA9t4mZJtd+B75SLQESMsJWQUzF8X/kyT/EQ00cL8lRfatjmxaPT2NkgYmh92TFAxpOV mZynar+1SLksz2fJlFOU7Eu+NateoL3sMDSxAZ6tWa/v5I3p1eRBHpbb+Lrwk504Saoe 0xISfRZN5jaB+kf0vSV7AUxIYHqjqHrm93xpl2xhLasEumOSXWlDQ5s6RgR0cSwANOh3 COCw== Received: by 10.229.136.197 with SMTP id s5mr3020548qct.42.1343495300196; Sat, 28 Jul 2012 10:08:20 -0700 (PDT) Received: from [172.16.26.30] ([38.106.64.245]) by mx.google.com with ESMTPS id et6sm4222364qab.8.2012.07.28.10.08.18 (version=SSLv3 cipher=OTHER); Sat, 28 Jul 2012 10:08:19 -0700 (PDT) Message-ID: <50141C81.9080708@lerdorf.com> Date: Sat, 28 Jul 2012 10:08:17 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: ab@php.net CC: =?UTF-8?B?Sm9oYW5uZXMgU2NobMO8dGVy?= , internals@lists.php.net References: <97767b567717f761f673c9561efda831.squirrel@webmail.klapt.com> <1343484556.15056.3.camel@guybrush> In-Reply-To: <1343484556.15056.3.camel@guybrush> X-Enigmail-Version: 1.5a1pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQkjShJ1//DFQN5GENHY21tbSKZB/Lj2XMq9GZ5hZJQXTvucUIAE0Wlv22u8c7xpckP7BxEV Subject: Re: [PHP-DEV] PHP test suite From: rasmus@lerdorf.com (Rasmus Lerdorf) On 07/28/2012 07:09 AM, Johannes Schlüter wrote: > On Fri, 2012-07-27 at 22:07 +0200, Anatoliy Belsky wrote: >> >> after working for some time with the PHP test suite I've realized - it >> needs an improvement of a special kind. What I'm talking about is the >> server based testing. Very urgent cases have shown them up working >> with APC. Most of the current bugs reported only reproduceable with >> tests where multiple requests are involved. > > For that I once created a special SAPI, which can also do > multi-threading: > https://github.com/johannes/pconn-sapi > http://schlueters.de/blog/archives/166-Testing-persistent-connection-and-thread-safety-features-in-PHP.html While that is cool, one of the reasons we added the built-in web server was to use it in exactly this sort of scenario. So Anatoliy, go for it. Make whatever changes you see fit to make it easy to do a --SERVER-- type mechanism in a phpt file. Or perhaps there are some volunteers here who have ideas and you can team up and either flash it out in a wiki doc or on irc. -Rasmus