summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJemma Issroff <jemmaissroff@gmail.com>2023-08-15 14:34:24 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2023-08-16 17:47:32 -0700
commitc989c1b068e944908d185bfab67b64bc52a072d0 (patch)
tree66b30fb0acbb999ec42e84f778de27b209a78bbd
parent87f74a349e5ed337b708e3626dc946252dfc2c86 (diff)
[ruby/yarp] Omit locals test if running on a 32 bit machine
https://github.com/ruby/yarp/commit/809d046f36
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/8226
-rw-r--r--test/yarp/locals_test.rb4
1 files changed, 4 insertions, 0 deletions
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