aboutsummaryrefslogtreecommitdiffstats
path: root/test/dl
diff options
context:
space:
mode:
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 083ad49497..b7b5d995dd 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