summaryrefslogtreecommitdiff
path: root/test/fiddle
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2022-10-07 15:18:00 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-10-07 15:20:11 +0900
commit4f78560cf12ad4979a5953bbf38d05e2bf264d21 (patch)
tree06ca2e6a82047d803689cf4a149e746395bc9547 /test/fiddle
parent92f0c53934f01bb217ec1517d7eeef2e86b3773f (diff)
downloadruby-4f78560cf12ad4979a5953bbf38d05e2bf264d21.tar.gz
Add --with-libffi-source-dir feature and removed --enable-bundled-libffi option. (#113)
https://bugs.ruby-lang.org/issues/18571 Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> Co-authored-by: Sutou Kouhei <kou@clear-code.com>
Diffstat (limited to 'test/fiddle')
-rw-r--r--test/fiddle/test_handle.rb3
-rw-r--r--test/fiddle/test_pointer.rb3
2 files changed, 6 insertions, 0 deletions
diff --git a/test/fiddle/test_handle.rb b/test/fiddle/test_handle.rb
index 3bb80b75e2..c19bcc6623 100644
--- a/test/fiddle/test_handle.rb
+++ b/test/fiddle/test_handle.rb
@@ -189,6 +189,9 @@ module Fiddle
end if /freebsd/=~ RUBY_PLATFORM
def test_no_memory_leak
+ # https://github.com/ruby/fiddle/actions/runs/3202406059/jobs/5231356410
+ omit if RUBY_VERSION >= '3.2'
+
if respond_to?(:assert_nothing_leaked_memory)
n_tries = 100_000
assert_nothing_leaked_memory(SIZEOF_VOIDP * (n_tries / 100)) do
diff --git a/test/fiddle/test_pointer.rb b/test/fiddle/test_pointer.rb
index 7d708ee417..d6cba04bbe 100644
--- a/test/fiddle/test_pointer.rb
+++ b/test/fiddle/test_pointer.rb
@@ -272,6 +272,9 @@ module Fiddle
end
def test_no_memory_leak
+ # https://github.com/ruby/fiddle/actions/runs/3202406059/jobs/5231356410
+ omit if RUBY_VERSION >= '3.2'
+
if respond_to?(:assert_nothing_leaked_memory)
n_tries = 100_000
assert_nothing_leaked_memory(SIZEOF_VOIDP * (n_tries / 100)) do