Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38365 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10491 invoked from network); 18 Jun 2008 20:35:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jun 2008 20:35:52 -0000 Authentication-Results: pb1.pair.com header.from=steph@phparch.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=steph@phparch.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain phparch.com from 64.99.136.132 cause and error) X-PHP-List-Original-Sender: steph@phparch.com X-Host-Fingerprint: 64.99.136.132 smtprelay-virgin0132.hostedemail.com Linux 2.5 (sometimes 2.4) (4) Received: from [64.99.136.132] ([64.99.136.132:38874] helo=smtprelay-virgin.hostedemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 59/E4-03518-5A179584 for ; Wed, 18 Jun 2008 16:35:50 -0400 Received: from filter.hostedemail.com (ff-bigip1 [10.5.19.254]) by smtprelay08.hostedemail.com (Postfix) with SMTP id 5041BBB65A for ; Wed, 18 Jun 2008 20:35:46 +0000 (UTC) X-SpamScore: 1 Received: from foxbox (host86-143-244-1.range86-143.btcentralplus.com [86.143.244.1]) (Authenticated sender: steph.fox) by omf11.hostedemail.com (Postfix) with ESMTP for ; Wed, 18 Jun 2008 20:35:45 +0000 (UTC) Message-ID: <04ba01c8d183$14f01b20$4401a8c0@foxbox> Reply-To: "Steph Fox" To: "internals" Date: Wed, 18 Jun 2008 21:37:08 +0100 Organization: php|architect MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_04B7_01C8D18B.75D0D9E0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-session-marker: 73746570682E666F78 X-Spam-Summary: 2,0,0,84fdcd98c1a36ba5,2e0cd951f8a24750,steph@phparch.com,,RULES_HIT:152:355:379:539:540:541:542:543:567:973:988:989:1000:1155:1156:1260:1308:1309:1313:1314:1345:1437:1515:1516:1518:1534:1538:1568:1575:1587:1594:1676:1711:1714:1730:1747:1764:1766:1792:2073:2075:2078:2393:2559:2562:3622:3690:3865:3866:3867:3868:3869:3870:3871:3872:4250:5007:6261:7281:7862:7875:7903:7909,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:none,DNSBL:none Subject: [PATCH] make it possible to skip very slow tests From: steph@phparch.com ("Steph Fox") ------=_NextPart_000_04B7_01C8D18B.75D0D9E0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 7bit Hi again, I'm using this locally because two of our tests take over 10 minutes each to run on my laptop, and I run the relevant bits of test suite every time I make a change. All it does is adds another option, -x, to run-tests.php. This sets an environmental variable which can then be checked for in the SKIPIF section of very slow-running tests. Any objections if I commit it in 5_3/HEAD? - Steph ------=_NextPart_000_04B7_01C8D18B.75D0D9E0 Content-Type: text/plain; format=flowed; name="slow_tests_option.txt"; reply-type=original Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="slow_tests_option.txt" Index: run-tests.php=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= RCS file: /repository/php-src/run-tests.php,v=0A= retrieving revision 1.226.2.37.2.35.2.21=0A= diff -u -r1.226.2.37.2.35.2.21 run-tests.php=0A= --- run-tests.php 26 May 2008 11:33:38 -0000 1.226.2.37.2.35.2.21=0A= +++ run-tests.php 18 Jun 2008 20:34:54 -0000=0A= @@ -429,6 +429,9 @@=0A= $DETAILED =3D true;=0A= break;=0A= //case 'w'=0A= + case 'x':=0A= + $environment['EXEMPT_SLOW_TESTS'] =3D 1;=0A= + break;=0A= case '-':=0A= // repeat check with full switch=0A= $switch =3D $argv[$i];=0A= ------=_NextPart_000_04B7_01C8D18B.75D0D9E0--