summaryrefslogtreecommitdiff
path: root/test/dl
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-11 06:35:43 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-11 06:35:43 +0000
commit91fe36e99a75835d7100816c4368284558cf28d2 (patch)
treed3220393340ffc06690a7fc31f08c465f62b1254 /test/dl
parent13fb747c376c2c8e46bb3df13e81aaa52988a4f4 (diff)
Experimental fix for ffi_closure_free causes dumping core/SEGV
http://u64.rubyci.org/~chkbuild/ruby-trunk/log/20130411T041301Z.log.html.gz#test%2F-ext- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/dl')
-rw-r--r--test/dl/test_base.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/dl/test_base.rb b/test/dl/test_base.rb
index 083ad49..b7b5d99 100644
--- a/test/dl/test_base.rb
+++ b/test/dl/test_base.rb
@@ -130,5 +130,10 @@ module DL
def test_empty()
end
+
+ def teardown
+ if /linux/ =~ RUBY_PLATFORM
+ GC.start
+ end
end
end