as I understand it, the problem is w/ test/unit - so we''re waiting for
the
next interim release of ruby for it to be fixed.
that said, you can probably code a work around if you must use 1.8.6
look at the at_exit handler in test/unit, you might be able to do a similar
thing w/o using an at_exit block (include all your tests, then call the code
directly and return 0 or 1 as appropriate)
if it works let us know!
Jeremy
On 8/3/07, Antonio Cangiano <acangiano at gmail.com>
wrote:>
> CruiseControl.rb works great with Ruby 1.8.5 but it is currently not
> working correctly with 1.8.6 (because error codes are not returned when
> exceptions are raised while running tests). I was wondering if you have a
> rough estimate of when a fix will be available?
>
> Thanks in advance,
> Antonio
> --
> http://antoniocangiano.com - Zen and the Art of Ruby Programming
> http://math-blog.com - Math Blog: Mathematics is wonderful!
> _______________________________________________
> Cruisecontrolrb-users mailing list
> Cruisecontrolrb-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070804/29661f26/attachment-0001.html