ruby-changes:58300
From: Jeremy <ko1@a...>
Date: Fri, 18 Oct 2019 04:22:06 +0900 (JST)
Subject: [ruby-changes:58300] ee821e9074 (master): Update test to handle x32 ABI compiled Ruby on Linux
https://git.ruby-lang.org/ruby.git/commit/?id=ee821e9074 From ee821e90741ebedc6c7a3bb0e8b67e59f3a44022 Mon Sep 17 00:00:00 2001 From: Jeremy Evans <code@j...> Date: Thu, 17 Oct 2019 10:16:32 -0700 Subject: Update test to handle x32 ABI compiled Ruby on Linux Suggestion from Laurence Parry. Fixes [Bug #16030] diff --git a/test/ruby/test_time.rb b/test/ruby/test_time.rb index d084044..35e3172 100644 --- a/test/ruby/test_time.rb +++ b/test/ruby/test_time.rb @@ -1250,6 +1250,7 @@ class TestTime < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_time.rb#L1250 size = GC::INTERNAL_CONSTANTS[:RVALUE_SIZE] case size when 20 then expect = 50 + when 24 then expect = 54 when 40 then expect = 86 when 48 then expect = 94 else -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/