1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test/ruby/test_jit.rb: Change the condition to detect RHEL 7.1 s390x

This commit is contained in:
Yusuke Endoh 2020-06-21 23:14:30 +09:00
parent ec07e2de1a
commit aec8e6d379

View file

@ -613,7 +613,7 @@ class TestJIT < Test::Unit::TestCase
end
def test_compile_insn_opt_invokebuiltin_delegate_leave
skip 'ld SEGVs for this' if ENV['RUBYCI_NICKNAME'] == 'rhel_zlinux'
skip 'ld SEGVs for this' if RUBY_PLATFORM.start_with?("s390x-")
insns = collect_insns(RubyVM::InstructionSequence.of("\x00".method(:unpack)).to_a)
mark_tested_insn(:opt_invokebuiltin_delegate_leave, used_insns: insns)
assert_eval_with_jit('print "\x00".unpack("c")', stdout: '[0]', success_count: 1)