[前][次][番号順一覧][スレッド一覧]

ruby-changes:32045

From: nobu <ko1@a...>
Date: Tue, 10 Dec 2013 23:02:23 +0900 (JST)
Subject: [ruby-changes:32045] nobu:r44124 (trunk): test_exception.rb: ignore SystemStackError

nobu	2013-12-10 23:02:16 +0900 (Tue, 10 Dec 2013)

  New Revision: 44124

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44124

  Log:
    test_exception.rb: ignore SystemStackError
    
    * test/ruby/test_exception.rb (test_machine_stackoverflow): ignore
      propagated SystemStackError, which has not bee rescued in the
      child process by unknown reason.

  Modified files:
    trunk/test/ruby/test_exception.rb
Index: test/ruby/test_exception.rb
===================================================================
--- test/ruby/test_exception.rb	(revision 44123)
+++ test/ruby/test_exception.rb	(revision 44124)
@@ -485,6 +485,7 @@ end.join https://github.com/ruby/ruby/blob/trunk/test/ruby/test_exception.rb#L485
       h[:a].call
     }
     SRC
+  rescue SystemStackError
   end
 
   def test_cause

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]