Re: prove --ext=@s

2010-07-16 Thread Shawn Boyette
On Thu, Jul 15, 2010 at 12:30 PM, Andy Lester wrote: > prove --exec=/bin/cat tap.txt Hey, thanks! This is actually the answer to a question I'd been mulling over, but hadn't gotten around to doing even the most basic research for yet. Not that *exactly*, but 'prove --exec='. Hurrah, serendipity

Re: prove --ext=@s

2010-07-16 Thread Graham TerMarsch
On July 15, 2010, Andy Lester wrote: > >>prove --ext=.phpt --ext=.t --exec=/usr/local/bin/my-test-dispatcher > > > > Isn't that just > > > > --- a/lib/App/Prove.pm > > +++ b/lib/App/Prove.pm > > @@ -214,7 +214,7 @@ sub process_args { > > > > 'count!' => \$self->{show_count}

Re: prove --ext=@s

2010-07-15 Thread Andy Armstrong
On 15 Jul 2010, at 18:06, Andy Lester wrote: > But yeah, if this is just a matter of 'ext=s+', then who can make that change > and push it out? I'll take a look at it this weekend :) -- Andy Armstrong, Hexten

Re: prove --ext=@s

2010-07-15 Thread Andy Lester
On Jul 15, 2010, at 12:29 PM, David E. Wheeler wrote: > So try my patch and see if it works for you. Of course not, because the syntax you meant was s@, not s+. But even bigger, nothing in T::H is prepared for multiple extensions. Doing your patch as a CYJ-change-it-to-S@ breaks everything b

Re: prove --ext=@s

2010-07-15 Thread David E. Wheeler
On Jul 15, 2010, at 10:26 AM, Andy Lester wrote: > I've got a dispatch script that runs either .t under perl or .phpt under PHP. > Basically I've been running: > > prove --exec='/home/alester/smoke/bin/smoke-dispatch' --ext=.t > > and it's been just fine. It just never gets called by an

Re: prove --ext=@s

2010-07-15 Thread Andy Lester
>> Might be that simple, but I don't know the guts of prove any more. That's >> why I asked. I didn't want to make this a CYJ. > > Camp Young Judea??? CYJ = "Can't You Just..." which is rarely so simple. http://xoa.petdance.com/Can%27t_you_just...%3F > I don't think that will do what you wa

Re: prove --ext=@s

2010-07-15 Thread David E. Wheeler
On Jul 15, 2010, at 10:06 AM, Andy Lester wrote: > Might be that simple, but I don't know the guts of prove any more. That's > why I asked. I didn't want to make this a CYJ. Camp Young Judea??? >> But then you'll need to write a PHP handler. Brief intro: >> >> http://www.justatheory.com/comp

Re: prove --ext=@s

2010-07-15 Thread Andy Lester
>> prove --ext=.phpt --ext=.t --exec=/usr/local/bin/my-test-dispatcher > > Isn't that just > > --- a/lib/App/Prove.pm > +++ b/lib/App/Prove.pm > @@ -214,7 +214,7 @@ sub process_args { > 'count!' => \$self->{show_count}, > 'c'=> \$self->{color}, >

Re: prove --ext=@s

2010-07-15 Thread David E. Wheeler
On Jul 15, 2010, at 9:12 AM, Andy Lester wrote: > Can we discuss the ways that we might get prove to recognize more than one > extension? > > Right now, I can say > > prove --ext=.phpt --exec=/usr/local/bin/php > > but I can't say > > prove --ext=.phpt --ext=.t --exec=/usr/local/b

Re: prove --ext=@s

2010-07-15 Thread Andy Lester
On Jul 15, 2010, at 11:26 AM, Matt Heusser wrote: > Is there a way to do prove -dont-actualy-execute-anything-just-input --file > pregeneratedTAPinput.txt > > ? > > I just want the summary features. prove --exec=/bin/cat tap.txt -- Andy Lester => a...@petdance.com => www.theworkinggeek.com =>

Re: prove --ext=@s

2010-07-15 Thread Matt Heusser
Dumb question: Is there a way to do prove -dont-actualy-execute-anything-just-input --file pregeneratedTAPinput.txt ? I just want the summary features. --heusser On Thu, Jul 15, 2010 at 9:12 AM, Andy Lester wrote: > Can we discuss the ways that we might get prove to recognize more than one >