Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31270 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68584 invoked by uid 1010); 25 Jul 2007 17:40:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 68568 invoked from network); 25 Jul 2007 17:40:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jul 2007 17:40:26 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@hristov.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=php@hristov.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain hristov.com from 85.92.73.163 cause and error) X-PHP-List-Original-Sender: php@hristov.com X-Host-Fingerprint: 85.92.73.163 iko.gotobg.net Received: from [85.92.73.163] ([85.92.73.163:40161] helo=iko.gotobg.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CB/29-02163-70B87A64 for ; Wed, 25 Jul 2007 13:40:25 -0400 Received: from androto.ddns.playtime.bg ([87.120.219.246] helo=[192.168.1.22]) by iko.gotobg.net with esmtpa (Exim 4.66) (envelope-from ) id 1IDkml-0004zd-IB; Wed, 25 Jul 2007 20:36:31 +0300 Message-ID: <46A78A7A.60306@hristov.com> Date: Wed, 25 Jul 2007 20:38:02 +0300 User-Agent: Thunderbird 1.5.0.7 (X11/20060911) MIME-Version: 1.0 To: Antony Dovgal CC: Nuno Lopes , internals@lists.php.net References: <000301c7ce41$5fc5e7b0$0100a8c0@pc07653> <46A770C0.9090801@zend.com> In-Reply-To: <46A770C0.9090801@zend.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - iko.gotobg.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - hristov.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] Re: multi-threaded run-tests.php From: php@hristov.com (Andrey Hristov) 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 :P > > 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.... Regards, Andrey