Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38404 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14572 invoked from network); 19 Jun 2008 14:51:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jun 2008 14:51:30 -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.188 cause and error) X-PHP-List-Original-Sender: steph@phparch.com X-Host-Fingerprint: 64.99.136.188 smtprelay-virgin0188.hostedemail.com Linux 2.5 (sometimes 2.4) (4) Received: from [64.99.136.188] ([64.99.136.188:59656] helo=smtprelay-virgin.hostedemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 66/D4-10717-0727A584 for ; Thu, 19 Jun 2008 10:51:29 -0400 Received: from filter.hostedemail.com (ff-bigip1 [10.5.19.254]) by smtprelay04.hostedemail.com (Postfix) with SMTP id C2F63D1640; Thu, 19 Jun 2008 14:51:23 +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 omf13.hostedemail.com (Postfix) with ESMTP; Thu, 19 Jun 2008 14:51:22 +0000 (UTC) Message-ID: <044101c8d21c$23190a60$4401a8c0@foxbox> Reply-To: "Steph Fox" To: "Christopher Jones" Cc: "Travis Swicegood" , "Nuno Lopes" , "internals" References: <04ba01c8d183$14f01b20$4401a8c0@foxbox> <4859D6B1.9030207@oracle.com> <00f601c8d1fb$fe5a8200$4401a8c0@foxbox> <49630731E5C64725B38BADFF04778684@pc07654> <03a001c8d205$157556a0$4401a8c0@foxbox> <040501c8d210$1e464310$4401a8c0@foxbox> <485A6DB2.6060904@oracle.com> Date: Thu, 19 Jun 2008 15:52:45 +0100 Organization: php|architect MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit 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: 50,0,0,bacdbc7f2d205b17,fe07710d8ac72b08,steph@phparch.com,,RULES_HIT:355:379:539:540:541:542:543:567:599:601:800:945:966:967:973:980:982:988:989:1155:1156:1260:1277:1311:1313:1314:1345:1437:1515:1516:1518:1534:1541:1587:1593:1594:1711:1730:1747:1766:1792:2073:2075:2078:2196:2199:2379:2380:2393:2525:2560:2564:2682:2685:2828:2857:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3027:3352:3770:3865:3866:3867:3868:3869:3870:3871:3872:3873:3874:3934:3936:3938:3941:3944:3947:3950:4250:4321:4385:4470:4774:5007:6119:6261:7679:7875:7903:8660,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: Re: [PHP-DEV] [PATCH] make it possible to skip very slow tests From: steph@phparch.com ("Steph Fox") Hi Chris, > If we make the timeout value adjustable, you can set it to a low value > so your slow tests are quickly aborted, and I can set it to a high > value so my tests are run. It's easily enough done, it's just a separate issue. I can easily put a workaround in the Windows version of select.c to make a 0-second timeout work, but that's as far as it goes. The problem in run-tests (if anyone's interested - Travis seems to have a better solution) is that the actual read is always only 8192 bytes, and the actual API call never times out because stream_select() is reset at every iteration and called afresh. We'd need to be able to set a timeout limit in the run-tests script rather than in the call to stream_select(). And if we do that the tests of course fail, which isn't a good outcome. So 'skipif' suits my needs better, but not yours. I'll add both. - Steph > > Chris > > -- > Christopher Jones, Oracle > Email: christopher.jones@oracle.com Tel: +1 650 506 8630 > Blog: http://blogs.oracle.com/opal/ Free PHP Book: > http://tinyurl.com/f8jad