You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Mat Schaffer <ma...@schaffer.me> on 2009/09/30 15:46:04 UTC
RSpec tester is overwriting runner.rb on error
While trying to get my rspecs running for redcar I noticed what seems
to be a mistake in the runner.rb generation. It's using Error.guard on
itself so runner.rb is getting overwritten in the event of an error,
rather than sending it to result.yaml.
See patch for details.
Thanks!
Mat
Re: RSpec tester is overwriting runner.rb on error
Posted by Mat Schaffer <ma...@schaffer.me>.
Funny how the world works :)
On Sep 30, 2009, at 10:58 AM, Alex Boisvert wrote:
> Hi Mat,
>
> Funny, I discovered the same issue last night while trying to fix
> JRuby-related failures.
>
> I'll fix it. Thanks for sharing!
>
> alex
>
>
> On Wed, Sep 30, 2009 at 6:46 AM, Mat Schaffer <ma...@schaffer.me> wrote:
>
>> While trying to get my rspecs running for redcar I noticed what
>> seems to be
>> a mistake in the runner.rb generation. It's using Error.guard on
>> itself so
>> runner.rb is getting overwritten in the event of an error, rather
>> than
>> sending it to result.yaml.
>>
>> See patch for details.
>>
>> Thanks!
>> Mat
>>
>>
Re: RSpec tester is overwriting runner.rb on error
Posted by Alex Boisvert <al...@gmail.com>.
Hi Mat,
Funny, I discovered the same issue last night while trying to fix
JRuby-related failures.
I'll fix it. Thanks for sharing!
alex
On Wed, Sep 30, 2009 at 6:46 AM, Mat Schaffer <ma...@schaffer.me> wrote:
> While trying to get my rspecs running for redcar I noticed what seems to be
> a mistake in the runner.rb generation. It's using Error.guard on itself so
> runner.rb is getting overwritten in the event of an error, rather than
> sending it to result.yaml.
>
> See patch for details.
>
> Thanks!
> Mat
>
>