ruby-changes:30203
From: naruse <ko1@a...>
Date: Tue, 30 Jul 2013 21:30:40 +0900 (JST)
Subject: [ruby-changes:30203] naruse:r42255 (trunk): rescue NoMemoryError
naruse 2013-07-30 21:30:30 +0900 (Tue, 30 Jul 2013) New Revision: 42255 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42255 Log: rescue NoMemoryError Modified files: trunk/test/runner.rb Index: test/runner.rb =================================================================== --- test/runner.rb (revision 42254) +++ test/runner.rb (revision 42255) @@ -30,7 +30,7 @@ begin https://github.com/ruby/ruby/blob/trunk/test/runner.rb#L30 require 'objspace' h = {} exit Test::Unit::AutoRunner.run(true, src_testdir) -rescue +rescue NoMemoryError ObjectSpace.count_objects(h) p h ObjectSpace.count_objects_size(h) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/