aboutsummaryrefslogtreecommitdiffstats
path: root/test/dl
diff options
context:
space:
mode:
Diffstat (limited to 'test/dl')
-rw-r--r--test/dl/test_cptr.rb2
-rw-r--r--test/dl/test_handle.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/dl/test_cptr.rb b/test/dl/test_cptr.rb
index 13700cb3f2..a5b37dbb61 100644
--- a/test/dl/test_cptr.rb
+++ b/test/dl/test_cptr.rb
@@ -221,6 +221,6 @@ module DL
end
def test_no_memory_leak
- assert_no_memory_leak(%w[-W0 -rdl.so], '', '100_000.times {DL::CPtr.allocate}', limit: 1.2)
+ assert_no_memory_leak(%w[-W0 -rdl.so], '', '100_000.times {DL::CPtr.allocate}', limit: 1.2, rss: true)
end
end
diff --git a/test/dl/test_handle.rb b/test/dl/test_handle.rb
index fc5053a87e..43fdd4a6d0 100644
--- a/test/dl/test_handle.rb
+++ b/test/dl/test_handle.rb
@@ -186,6 +186,6 @@ module DL
end
def test_no_memory_leak
- assert_no_memory_leak(%w[-W0 -rdl.so], '', '100_000.times {DL::Handle.allocate}; GC.start', limit: 1.2)
+ assert_no_memory_leak(%w[-W0 -rdl.so], '', '100_000.times {DL::Handle.allocate}; GC.start', limit: 1.2, rss: true)
end
end