From 1d6c1e27d4db6521c023ffe5a12980c72175ff1b Mon Sep 17 00:00:00 2001 From: k0kubun Date: Tue, 23 Oct 2018 01:13:38 +0000 Subject: test/lib/test/unit/assertions.rb: skip memory leak check for all test cases on MJIT. In addition to those 2 tests, TestAutoload#test_no_leak newly failed and most of assert_no_memory_leak usages are likely to randomly fail. Let me just skip all of them but let's revisit this to check it properly later. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_io.rb | 1 - test/ruby/test_string.rb | 1 - 2 files changed, 2 deletions(-) (limited to 'test/ruby') diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index 3faa4e1fdb..82e2128358 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -3815,7 +3815,6 @@ __END__ end def test_select_leak - skip 'assert_no_memory_leak may consider MJIT memory usage as leak' if RubyVM::MJIT.enabled? # avoid malloc arena explosion from glibc and jemalloc: env = { 'MALLOC_ARENA_MAX' => '1', diff --git a/test/ruby/test_string.rb b/test/ruby/test_string.rb index 185c5c9ec5..1a6d87f11f 100644 --- a/test/ruby/test_string.rb +++ b/test/ruby/test_string.rb @@ -647,7 +647,6 @@ CODE end def test_crypt - skip 'assert_no_memory_leak may consider MJIT memory usage as leak' if RubyVM::MJIT.enabled? assert_equal(S('aaGUC/JkO9/Sc'), S("mypassword").crypt(S("aa"))) assert_not_equal(S('aaGUC/JkO9/Sc'), S("mypassword").crypt(S("ab"))) assert_raise(ArgumentError) {S("mypassword").crypt(S(""))} -- cgit v1.2.3