Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38418 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27951 invoked from network); 19 Jun 2008 17:37:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jun 2008 17:37:55 -0000 Authentication-Results: pb1.pair.com header.from=cellog@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=cellog@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 38.99.98.18 as permitted sender) X-PHP-List-Original-Sender: cellog@php.net X-Host-Fingerprint: 38.99.98.18 beast.bluga.net Linux 2.6 Received: from [38.99.98.18] ([38.99.98.18:59732] helo=mail.bluga.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 23/5D-63224-2799A584 for ; Thu, 19 Jun 2008 13:37:55 -0400 Received: from mail.bluga.net (localhost.localdomain [127.0.0.1]) by mail.bluga.net (Postfix) with ESMTP id 54327C130F2; Thu, 19 Jun 2008 10:37:58 -0700 (MST) Received: from [129.93.125.12] (pcp062955pcs.unl.edu [129.93.125.12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bluga.net (Postfix) with ESMTP id D7C63C130E3; Thu, 19 Jun 2008 10:37:57 -0700 (MST) Message-ID: <485A996C.1060700@php.net> Date: Thu, 19 Jun 2008 12:37:48 -0500 User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Travis Swicegood CC: Steph Fox , internals References: <04ba01c8d183$14f01b20$4401a8c0@foxbox> <4859D6B1.9030207@oracle.com> <00f601c8d1fb$fe5a8200$4401a8c0@foxbox> <49630731E5C64725B38BADFF04778684@pc07654> <03a001c8d205$157556a0$4401a8c0@foxbox> <040501c8d210$1e464310$4401a8c0@foxbox> <9EB1CAAF-40B6-47C8-9DE8-510F5F23EF37@php.net> <042d01c8d215$30e50240$4401a8c0@foxbox> <2A8C17AE-538B-4A21-95B4-D9D1167EE120@php.net> In-Reply-To: <2A8C17AE-538B-4A21-95B4-D9D1167EE120@php.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: [PHP-DEV] [PATCH] make it possible to skip very slow tests From: cellog@php.net (Greg Beaver) Travis Swicegood wrote: > On Jun 19, 2008, at 9:03 AM, Steph Fox wrote: > >> >>> There's nothing wrong with that approach. I'm trying to find >>> something that addresses the problem (i.e., "how can I not run tests >>> that are going to take a long time to run?"), while providing enough >>> flexibility to answer other problems (i.e., "how can I skip X tests >>> that I don't care about?"). >>> >>> If there's a way to address the problem without making it so >>> specific, I'm all for it. >> >> I mostly agree - I'm just looking at 'here and now' rather than 'when >> the nice new test suite stuff is done'. 'Here and now', there isn't a >> reliable way to set this up and skipif looks like the cleanest option. > > The only problem with that is everything you add I've got to add to my > GSoC project so PHPT :-) > >> That might not be a bad idea. > > I think the long-term goal should be the ability to "force skip" files > based on an --exclude parameter, an ini conf file (looks for --ini-file > or /tests.ini), and an ENV variable. The first and last > would just be separated by the PATH_SEPARATOR for regex patterns. The ini file is a great idea, as one can create groupings of test suites independent of the tests. Greg