Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31326 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17894 invoked by uid 1010); 30 Jul 2007 18:40:40 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 17875 invoked from network); 30 Jul 2007 18:40:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jul 2007 18:40:40 -0000 Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 85.214.94.56 as permitted sender) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 85.214.94.56 aixcept.net Linux 2.6 Received: from [85.214.94.56] ([85.214.94.56:38717] helo=h1149922.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AF/34-18641-4A03EA64 for ; Mon, 30 Jul 2007 14:40:38 -0400 Received: from dhcp-172-30-11-223.zrh.corp.google.com (unknown [216.239.55.7]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h1149922.serverkompetenz.net (Postfix) with ESMTP id 6B6581B3633; Mon, 30 Jul 2007 20:40:31 +0200 (CEST) Date: Mon, 30 Jul 2007 20:40:30 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <865188655.20070730204030@marcus-boerger.de> To: "Richard Lynch" CC: "Andrey Hristov" , "Antony Dovgal" , "Nuno Lopes" , In-Reply-To: <2769.24.12.13.192.1185508570.squirrel@www.l-i-e.com> References: <000301c7ce41$5fc5e7b0$0100a8c0@pc07653> <46A770C0.9090801@zend.com> <46A78A7A.60306@hristov.com> <2769.24.12.13.192.1185508570.squirrel@www.l-i-e.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: multi-threaded run-tests.php From: helly@php.net (Marcus Boerger) Hello Richard, erm, php run-tests.php -h or --help was to hard? Friday, July 27, 2007, 5:56:10 AM, you wrote: > On Wed, July 25, 2007 12:38 pm, Andrey Hristov wrote: >> Hi Tony, >> Antony Dovgal wrote: >>> On 25.07.2007 19:37, Nuno Lopes wrote: >>>> So here it is my first attempt: >>>> http://gcov.php.net/~nlopess/multi_threaded_run_tests.txt >>>> WARNING: The patch is ugly and the output of the script isn't the >>>> prettiest. >>>> >>>> Anyway, for automated testing seems to be good enough. >>>> >>>> Nuno >>>> >>>> P.S.: after this little hack, I also start to feel that >>>> run-tests.php >>>> should be rewritten >>> >>> Unfortunately, this is 100% truth, Sebastian have had some ideas >>> about it. >>> >> >> I also have a hack, that makes it possible to re-run a test few times. >> I >> call it iteration. For every iteration there is >> $_ENV['TEST_ITERATION']. >> Based on which different consts are defined by the pre-include script. >> I >> am using it for testing mysqlnd against a bunch of MySQL Server, the >> minimalistic configuration is doing 3 iterations against 4.1, 5.0 and >> 5.1 Server. Not sure that other extensions could benefit from it, but >> at >> least the DB connectivity ones..like testing OCI8.... > FWIW: > I spent about 10 to 20 minutes trying to figure out if it was possible > to easily run just a subset of tests and failed. > I dunno if that indicates that it's a feature to be added, one to be > better documented, or that I'm just being stupid (again), but there it > is. > -- > Some people have a "gift" link here. > Know what I want? > I want you to buy a CD from some indie artist. > http://cdbaby.com/browse/from/lynch > Yeah, I get a buck. So? Best regards, Marcus