Newsgroups: php.internals,php.qa Path: news.php.net Xref: news.php.net php.internals:55067 php.qa:65921 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95668 invoked from network); 1 Sep 2011 18:02:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Sep 2011 18:02:17 -0000 Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.42 as permitted sender) X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 209.85.218.42 mail-yi0-f42.google.com Received: from [209.85.218.42] ([209.85.218.42:45502] helo=mail-yi0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 88/70-03466-8A8CF5E4 for ; Thu, 01 Sep 2011 14:02:16 -0400 Received: by yie16 with SMTP id 16so1791070yie.29 for ; Thu, 01 Sep 2011 11:02:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=n7pBCsV+Vbu+AIU/PUP+d3BoJbwBRTH2tnSlK4uNhHg=; b=pPVcPkZFOypr/MluwO892b90IHRu4XK5Fe5yyQHAb7q3YonPZgE+s82xTTgELZY3cO G0gFYygrBCJ0wqh05VNvDkMP4JsUvlzlW4MSjoS2b/+NTsdJxBQKl7MWxE9Js1WI3hpn In6qCs3i1uf/dWbUvAqlPHD8pH1FI73UjBN3E= MIME-Version: 1.0 Received: by 10.236.168.68 with SMTP id j44mr986601yhl.32.1314900133638; Thu, 01 Sep 2011 11:02:13 -0700 (PDT) Sender: hannes.magnusson@gmail.com Received: by 10.147.182.5 with HTTP; Thu, 1 Sep 2011 11:02:12 -0700 (PDT) In-Reply-To: References: <1314886182.1211.5.camel@guybrush> Date: Thu, 1 Sep 2011 20:02:12 +0200 X-Google-Sender-Auth: OYGvo2N0CLNwHwgtaRm8z6CLtK8 Message-ID: To: Felipe Pena Cc: Kalle Sommer Nielsen , felipe@php.net, =?UTF-8?Q?Johannes_Schl=C3=BCter?= , Alexey Shein , Ferenc Kovacs , PHP Development , PHP QA Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] New run-tests.php feature From: bjori@php.net (Hannes Magnusson) On Thu, Sep 1, 2011 at 17:37, Felipe Pena wrote: > 2011/9/1 Kalle Sommer Nielsen : >> Hi >> >> 2011/9/1 Hannes Magnusson : >>> Create a magical "run-me-first" file which run-tests will execute >>> first, and if it fails it will skip all the tests in that directory.. >>> should be relatively easy to implement. >>> >>> Being able to run the tests for two directories in parallel however.. >>> that would be awesome. >> >> I reckon Felipe had a patch for this back in the early 5.3 development >> days, Felipe? >> >> > > Here's the patch: http://felipe.ath.cx/diff/run-tests.diff Hmh. This patch seems to be similar to johannes' patch, being able to skip entire directories based on a "configure file". I don't see a way to execute a check though. f.e. running the mysql tests won't do you any good unless you have the environment properly setup, so the skipif section needs to be able to check if it can connect to a db, and if not then you can skip the entire folder.. -Hannes