Newsgroups: php.internals,php.qa Path: news.php.net Xref: news.php.net php.internals:60604 php.qa:66571 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73010 invoked from network); 17 May 2012 18:04:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 May 2012 18:04:58 -0000 Authentication-Results: pb1.pair.com header.from=webmaster@ajeux.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=webmaster@ajeux.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain ajeux.com from 209.85.160.170 cause and error) X-PHP-List-Original-Sender: webmaster@ajeux.com X-Host-Fingerprint: 209.85.160.170 mail-gh0-f170.google.com Received: from [209.85.160.170] ([209.85.160.170:40462] helo=mail-gh0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AB/64-45818-7CD35BF4 for ; Thu, 17 May 2012 14:04:55 -0400 Received: by ghbg2 with SMTP id g2so36740ghb.29 for ; Thu, 17 May 2012 11:04:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=ILrA6IjvY4AzFzMiukyNeybhevcmj5DjC10H09WSHGs=; b=ckoxbKz/BhFb+0Q3/yJf45vmA9EFC52Zqspa9Fu+pULIsVQ7nQ2FAAQjpKkrbDyq9C rEKDEN1ElQZiw1So4Ebm7+K1VjzVY2ZEDNKrvubfOc+fwwWz7iGrpw9FNke9TKyzlFZF 1iLooidNJOYRGyz7OrAq70U5mTp/Af2827ZiPCvHHezwh8DFf10SFDhsKca8PErq574n G9L2jCHspvrK6BCO7vJALaCEzPMf9Ns5Dzx/9UaPTlHrJOy+gqMUbgSl8TzfsgyFrx6S WeWDlXmlJwUzZzoPs64EWVM+elz3ULhFX5+FWgOWCNSYJk8b2tS3baYWM6PU1VtrzYaM 9VRw== MIME-Version: 1.0 Received: by 10.60.27.199 with SMTP id v7mr7427392oeg.37.1337277892014; Thu, 17 May 2012 11:04:52 -0700 (PDT) Received: by 10.60.134.212 with HTTP; Thu, 17 May 2012 11:04:51 -0700 (PDT) In-Reply-To: <4FB52E42.8010408@gmail.com> References: <4FB4E844.2070305@gmail.com> <1337268087.5065.27.camel@thinkpad3.darksilence.net> <4FB52E42.8010408@gmail.com> Date: Thu, 17 May 2012 20:04:51 +0200 Message-ID: To: zoe slattery Cc: Miah Gregory , internals@lists.php.net, PHP QA Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkTqSxRo5RIOeKi/Eh2FXli5LUAItRf6lbhlCCmfLOyVEBb1e7eMAXnsANbt5CjbgwGdPGv Subject: Re: [PHP-QA] Re: [PHP-DEV] Parallel run-tests From: webmaster@ajeux.com (Olivier Doucet) Hi, >> Any chance you could write up the steps you took to test this - or point >> me in the right direction so I can try myself? Here is a quick setup that use your system php binary. It was written live, may have some glitches but gives you an idea : cd /usr/src git clone git://git.php.net/phpruntests.git wget "http://fr2.php.net/get/php-5.3.9.tar.bz2/from/this/mirror" tar xf php-5.3.9.tar.bz2 # you need pcntl extension echo "Sequential new phpruntests" php run-tests.php -p /usr/bin/php /usr/src/php-5.3.9/tests echo "parallel new phpruntests" #replace THREADCOUNT by number of cores php run-tests.php -z THREADCOUNT -p /usr/bin/php /usr/src/php-5.3.9/tests echo "old run test" cd /tmp/php-5.3.9 TEST_PHP_EXECUTABLE=/usr/bin/php php tests/ Olivier