Skip test_redefinition_mismatch on trunk-mjit for now

Investigating:
http://ci.rvm.jp/logfiles/brlog.trunk-mjit.20220906-025646
which is not immediately reproducible on my laptop.
This commit is contained in:
Takashi Kokubun 2022-09-06 15:40:12 +09:00
parent 6d10865cc2
commit f4dbfa0f04
No known key found for this signature in database
GPG Key ID: 6FFC433B12EE23DD

View File

@ -3160,6 +3160,7 @@ class TestModule < Test::Unit::TestCase
end
def test_redefinition_mismatch
omit "Investigating trunk-mjit failure on ci.rvm.jp" if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
m = Module.new
m.module_eval "A = 1", __FILE__, line = __LINE__
e = assert_raise_with_message(TypeError, /is not a module/) {