[#35027] [Ruby 1.9-Bug#4352][Open] [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s) — "James M. Lawrence" <redmine@...>

Bug #4352: [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)

16 messages 2011/02/01

[#35114] [Ruby 1.9-Bug#4373][Open] http.rb:677: [BUG] Segmentation fault — Christian Fazzini <redmine@...>

Bug #4373: http.rb:677: [BUG] Segmentation fault

59 messages 2011/02/06

[#35171] [Ruby 1.9-Bug#4386][Open] encoding: directive does not affect regex expressions — mathew murphy <redmine@...>

Bug #4386: encoding: directive does not affect regex expressions

9 messages 2011/02/09

[#35237] [Ruby 1.9-Bug#4400][Open] nested at_exit hooks run in strange order — Suraj Kurapati <redmine@...>

Bug #4400: nested at_exit hooks run in strange order

12 messages 2011/02/15

[ruby-core:35395] [Ruby 1.9 - Bug #3972] r28668 breaks test/unit when combined with the testing rake task

From: Tomoyuki Chikanaga <nagachika00@...>
Date: 2011-02-28 14:42:21 UTC
List: ruby-core #35395
Issue #3972 has been updated by Tomoyuki Chikanaga.


Thank you for your reviewing. :)
I'll check in it by myself after check test.
----------------------------------------
Bug #3972: r28668 breaks test/unit when combined with the testing rake task
http://redmine.ruby-lang.org/issues/3972

Author: Aaron Patterson
Status: Closed
Priority: Normal
Assignee: Nobuyoshi Nakada
Category: 
Target version: 
ruby -v: -


 r28668 makes Test::Unit process command line arguments even when used in conjunction with the rake test loader.  This causes every test file to be required twice.
 
 How to reproduce:
 
 1. Create a file "foo.rb" with a test:
 
 require 'test/unit'
 
 puts "HELLO!"
 
 class Foo < Test::Unit::TestCase
   def test_whatever
     assert true
   end
 end
 
 2. Run the test using the rake test loader like this:
 
   $ ruby -w  "/Users/apatterson/.local/lib/ruby/1.9.1/rake/rake_test_loader.rb" "foo.rb"
 
 You'll see "HELLO!" printed twice and warnings about methods being redefined.
 
 Here is a video of the failure:
 
   http://www.youtube.com/watch?v=woj1IYnEZdA


-- 
http://redmine.ruby-lang.org

In This Thread

Prev Next