From c989c1b068e944908d185bfab67b64bc52a072d0 Mon Sep 17 00:00:00 2001 From: Jemma Issroff Date: Tue, 15 Aug 2023 14:34:24 -0700 Subject: [PATCH] [ruby/yarp] Omit locals test if running on a 32 bit machine https://github.com/ruby/yarp/commit/809d046f36 --- test/yarp/locals_test.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/yarp/locals_test.rb b/test/yarp/locals_test.rb index 18d8edacda..d6b3120f62 100644 --- a/test/yarp/locals_test.rb +++ b/test/yarp/locals_test.rb @@ -9,6 +9,10 @@ # to test on the most recent versions. return if !defined?(RubyVM::InstructionSequence) || RUBY_VERSION < "3.2" +# Omit tests if running on a 32-bit machine because there is a bug with how +# Ruby is handling large ISeqs on 32-bit machines +return if RUBY_PLATFORM =~ /i686/ + require "yarp_test_helper" class LocalsTest < Test::Unit::TestCase