[rspec-devel] [ rspec-Bugs-10158 ] --failures and --drb don't work together (trunk 1781)

noreply at rubyforge.org noreply at rubyforge.org
Tue Apr 17 02:13:38 EDT 2007


Bugs item #10158, was opened at 2007-04-17 05:07
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=10158&group_id=797

Category: runner module
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 3
Submitted By: David Chelimsky (dchelimsky)
>Assigned to: David Chelimsky (dchelimsky)
Summary: --failures and --drb don't work together (trunk 1781)

Initial Comment:
this is true whether in spec.opts or directly on the command line:

script/spec spec --drb --failures failures.txt --example failures.txt

--drb works, but all examples get run every time whether passing or failing

----------------------------------------------------------------------

>Comment By: David Chelimsky (dchelimsky)
Date: 2007-04-17 06:13

Message:
fixed in trunk rev1782 - thanks to abcde for pointing me to the problem

----------------------------------------------------------------------

Comment By: David Chelimsky (dchelimsky)
Date: 2007-04-17 05:32

Message:
>From IRC conversation w/ abcde:

"If I use -X/--drb after any other options it'll do the option parsing twice. Also the creation of the failures file is using at_exit which I assume doesnt work in a drb env"

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=10158&group_id=797


More information about the rspec-devel mailing list