Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75324 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63074 invoked from network); 7 Jul 2014 17:13:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jul 2014 17:13:20 -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 Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.52 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.192.52 mail-qg0-f52.google.com Received: from [209.85.192.52] ([209.85.192.52:64147] helo=mail-qg0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 02/00-62728-E25DAB35 for ; Mon, 07 Jul 2014 13:13:19 -0400 Received: by mail-qg0-f52.google.com with SMTP id f51so3841216qge.25 for ; Mon, 07 Jul 2014 10:13:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=w5nKJf2HSlzM/uglKd5YuGLDIcLO4sfbd8F3HBs+CZk=; b=ORJrRhs2rt3UY82qlXRiwBqNGDdjR7NtoA3H+JiUT0u8gWzEeT4IUv6djJuDUrYoUx n1l3B8EvpEl2g2qUU7GKSB3Bx2Ej4t+8h5SNE2vT+zSMY06NyrHsl3s5XXWhoPfw7yQC ALXS2+ipq9Z/s9GM8LCiL7uUryMENrmQNPojZZsmT6N9kX+zEyBA/4NZ/a4FQ3BgV9q2 6Sv/5G/ZQ2M5L02NMSbJtrwkIbcjSIu4Bp1oqGgk8Fru2Wy4rx8xd8KDuoZ+1hOLnhk9 s9nKWGZ4DOpNkrVxyS5RVtshh+flYQSKsJM7GYOL9eW5gDMvt+ZtqFvHzL6A4NlwQNzw 5gPA== MIME-Version: 1.0 X-Received: by 10.224.137.193 with SMTP id x1mr52482999qat.0.1404753195242; Mon, 07 Jul 2014 10:13:15 -0700 (PDT) Received: by 10.140.28.183 with HTTP; Mon, 7 Jul 2014 10:13:15 -0700 (PDT) In-Reply-To: References: Date: Mon, 7 Jul 2014 19:13:15 +0200 Message-ID: To: Laruence Cc: Michael Wallner , PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Concurrency support for run-tests From: pierre.php@gmail.com (Pierre Joye) 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. 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.). cheers, -- Pierre @pierrejoye | http://www.libgd.org