[前][次][番号順一覧][スレッド一覧]

ruby-changes:50639

From: nobu <ko1@a...>
Date: Sun, 18 Mar 2018 12:40:54 +0900 (JST)
Subject: [ruby-changes:50639] nobu:r62800 (trunk): IBF works only on x86 platforms now

nobu	2018-03-18 12:40:49 +0900 (Sun, 18 Mar 2018)

  New Revision: 62800

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62800

  Log:
    IBF works only on x86 platforms now

  Modified files:
    trunk/test/ruby/test_iseq.rb
Index: test/ruby/test_iseq.rb
===================================================================
--- test/ruby/test_iseq.rb	(revision 62799)
+++ test/ruby/test_iseq.rb	(revision 62800)
@@ -397,6 +397,7 @@ class TestISeq < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_iseq.rb#L397
   end
 
   def test_to_binary_with_objects
+    skip "does not work on other than x86" unless /x(?:86|64)|i\d86/ =~ RUBY_PLATFORM
     code = "[]"+100.times.map{|i|"<</#{i}/"}.join
     iseq = RubyVM::InstructionSequence.compile(code)
     bin = assert_nothing_raised do

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]