1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

rescue NoMemoryError

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2013-07-30 12:30:30 +00:00
parent 038f82d293
commit 1c3ea43f1b

View file

@ -30,7 +30,7 @@ begin
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)