aboutsummaryrefslogtreecommitdiffstats
path: root/test/runner.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/runner.rb')
-rw-r--r--test/runner.rb13
1 files changed, 12 insertions, 1 deletions
diff --git a/test/runner.rb b/test/runner.rb
index c8f7932625..780ed400f2 100644
--- a/test/runner.rb
+++ b/test/runner.rb
@@ -26,4 +26,15 @@ module Test::Unit
end
end
-exit Test::Unit::AutoRunner.run(true, src_testdir)
+begin
+ require 'objspace'
+ h = {}
+ raise
+ exit Test::Unit::AutoRunner.run(true, src_testdir)
+rescue
+ ObjectSpace.count_objects(h)
+ p h
+ ObjectSpace.count_objects_size(h)
+ p h
+ raise
+end