Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75328 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99841 invoked from network); 8 Jul 2014 06:02:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jul 2014 06:02:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=mike.php.net@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=mike.php.net@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.176 as permitted sender) X-PHP-List-Original-Sender: mike.php.net@gmail.com X-Host-Fingerprint: 209.85.217.176 mail-lb0-f176.google.com Received: from [209.85.217.176] ([209.85.217.176:62961] helo=mail-lb0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 93/C0-30229-7898BB35 for ; Tue, 08 Jul 2014 02:02:48 -0400 Received: by mail-lb0-f176.google.com with SMTP id w7so3550737lbi.21 for ; Mon, 07 Jul 2014 23:02:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=VTrn8eG2R77/Mt4R2teCwTT92QMPJ0kFoYW4Mx3R3ZY=; b=q66DcbF1fLk2ZTD4EEwhGsyA4w6lhzXCK2LVVVfkxoSF1eriH2ftT3ef+qr/VOeEWq CEKt4rBXgpLWnJ2+KN0QWdZF4Vm5dDmxxsEWrPCZ90ESPu8TZHLEhX+7wMq3K0VxRrfF OTdfp0XypYk+xzxBpb7KF7fTzQNYu8r1+eIC919V2YPbrjiMrYUE0xNbA2A3Glhh30k9 3mwqZQpp7iDKHNsnZ9+qySJ0WEXYJh0kZmmIS/K10VkcWtDjEqFl3dte5QKbR72VGXVN 1Y/d6aVdQiUjsWuW7knOwL1XyFp6hNT5DdzvEz/saSFg89m7KQZ/c63z3UN5jr6QtbrG 3fjA== MIME-Version: 1.0 X-Received: by 10.152.87.18 with SMTP id t18mr187120laz.75.1404799365043; Mon, 07 Jul 2014 23:02:45 -0700 (PDT) Sender: mike.php.net@gmail.com Received: by 10.114.19.10 with HTTP; Mon, 7 Jul 2014 23:02:44 -0700 (PDT) In-Reply-To: References: Date: Tue, 8 Jul 2014 08:02:44 +0200 X-Google-Sender-Auth: 1t5QU4IsMRW002PQ4TlwevYnNqI Message-ID: To: Pierre Joye Cc: Laruence , PHP Internals Content-Type: multipart/alternative; boundary=001a11c342162259c204fda85735 Subject: Re: [PHP-DEV] Concurrency support for run-tests From: mike@php.net (Michael Wallner) --001a11c342162259c204fda85735 Content-Type: text/plain; charset=UTF-8 On 7 July 2014 19:13, Pierre Joye wrote: > On Mon, Jul 7, 2014 at 5:07 PM, Laruence wrote: > > Hey: > > > > On Mon, Jul 7, 2014 at 9:53 PM, Michael Wallner wrote: > >> Hi! > >> > >> I also have a patch for run-tests sitting around for quite some time, > which > >> adds concurrent test execution support. I already fixed a lot of non > >> re-entrant tests in the past, but there might still be quite some of > them. > >> > >> Tests in ./Zend take 8 seconds instead of 30 on my box. > >> > >> Please find the hack attached. Thoughts, praises, death threats? > > > > seems it enable concurrency by default ? it's not configurable? > > > > maybe: > > > > TEST_PHP_ARGS="-c 3" make test > > > > means run 3 process > > sounds too make specific, a simple concurrency argument would do it. > Yes, there's a --concurrency switch in run-tests.php > > About the need of a flag for the tests, it would be useful as well. > Many tests can't be in run in parallel, like many mysql tests (or > other databases f.e.). > Why can't those tests use unique (to them) names? -- Regards, Mike --001a11c342162259c204fda85735--