diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-22 15:19:34 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-22 15:19:34 +0000 |
commit | 584638a5f5ee0db34a7c36772f085c476fb2507d (patch) | |
tree | a96ad2da4e7d686f9277d5a19ddcc93fc5a51e90 /test/ruby | |
parent | 9fc84833a22791de526eb9d5977e2843766f2735 (diff) | |
download | ruby-584638a5f5ee0db34a7c36772f085c476fb2507d.tar.gz |
test/ruby/test_string.rb: skip test_crypt for MJIT again
Partially reverting r65285. Actually this one is failing due to memory
consumption on MJIT, so this seems not catching the bug of MJIT.
test/ruby/test_io.rb: unify the skip message with it
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_io.rb | 2 | ||||
-rw-r--r-- | test/ruby/test_string.rb | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index eeda96c9ef..2ccf25f1df 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -3823,7 +3823,7 @@ __END__ end def test_select_leak - skip 'MJIT uses too much memory' if RubyVM::MJIT.enabled? + 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 1a6d87f11f..185c5c9ec5 100644 --- a/test/ruby/test_string.rb +++ b/test/ruby/test_string.rb @@ -647,6 +647,7 @@ 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(""))} |