summaryrefslogtreecommitdiff
path: root/test/runner.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-31 07:07:03 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-31 07:07:03 +0000
commitfc3b9361d486f24b134af595538d4f156c5ec757 (patch)
tree94d7eb6b4e23ee056f611af7270d0ecb199b3e43 /test/runner.rb
parent444cd6f71abda2ff707f3b984c25bfcdbb5115bd (diff)
Show /proc/meminfo on NoMemoryError ref #8711
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/runner.rb')
-rw-r--r--test/runner.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/runner.rb b/test/runner.rb
index cbfa1d92b63..1f8ef83d2c6 100644
--- a/test/runner.rb
+++ b/test/runner.rb
@@ -33,7 +33,6 @@ begin
rescue NoMemoryError
ObjectSpace.count_objects(h)
p h
- ObjectSpace.count_objects_size(h)
- p h
+ system("cat /proc/meminfo") if File.exist?("/proc/meminfo")
raise
end