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

ruby-changes:62977

From: Koichi <ko1@a...>
Date: Wed, 16 Sep 2020 15:47:11 +0900 (JST)
Subject: [ruby-changes:62977] 889bbbaf52 (master): skip on RUBY_ISEQ_DUMP_DEBUG=to_binary

https://git.ruby-lang.org/ruby.git/commit/?id=889bbbaf52

From 889bbbaf527372c5cc229b56dca9a2322e325f26 Mon Sep 17 00:00:00 2001
From: Koichi Sasada <ko1@a...>
Date: Wed, 16 Sep 2020 15:44:26 +0900
Subject: skip on RUBY_ISEQ_DUMP_DEBUG=to_binary

9b535f3ff7 does not support ISeq#to_binary.
To make CI green, skip this test temporarily.

Please fix this issue and revert this patch.

diff --git a/test/ruby/test_literal.rb b/test/ruby/test_literal.rb
index f5dd093..f4c40fc 100644
--- a/test/ruby/test_literal.rb
+++ b/test/ruby/test_literal.rb
@@ -187,6 +187,7 @@ class TestRubyLiteral < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_literal.rb#L187
   if defined?(RubyVM::InstructionSequence.compile_option) and
     RubyVM::InstructionSequence.compile_option.key?(:debug_frozen_string_literal)
     def test_debug_frozen_string
+      skip if ENV['RUBY_ISEQ_DUMP_DEBUG'] == 'to_binary'
       src = '_="foo-1"'; f = "test.rb"; n = 1
       opt = {frozen_string_literal: true, debug_frozen_string_literal: true}
       str = RubyVM::InstructionSequence.compile(src, f, f, n, **opt).eval
-- 
cgit v0.10.2


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

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