ruby-changes:71046
From: Koichi <ko1@a...>
Date: Mon, 31 Jan 2022 03:47:20 +0900 (JST)
Subject: [ruby-changes:71046] e75bd8df51 (master): pend some tests while using to_binary
https://git.ruby-lang.org/ruby.git/commit/?id=e75bd8df51 From e75bd8df51648a35442649fd3e4b9ac4e223752a Mon Sep 17 00:00:00 2001 From: Koichi Sasada <ko1@a...> Date: Mon, 31 Jan 2022 03:27:18 +0900 Subject: pend some tests while using to_binary ISeqs from ISeq#to_binary/load do not support `keep_script_lines` now so some tests should be pending tests with `RUBY_ISEQ_DUMP_DEBUG=to_binary` --- test/ruby/test_ast.rb | 4 ++++ test/ruby/test_rubyvm.rb | 2 ++ 2 files changed, 6 insertions(+) diff --git a/test/ruby/test_ast.rb b/test/ruby/test_ast.rb index a4edfd3cbeb..cd96027654d 100644 --- a/test/ruby/test_ast.rb +++ b/test/ruby/test_ast.rb @@ -255,6 +255,8 @@ class TestAst < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_ast.rb#L255 end def test_of_proc_and_method_under_eval_with_keep_script_lines + pend if ENV['RUBY_ISEQ_DUMP_DEBUG'] # TODO + keep_script_lines_back = RubyVM.keep_script_lines RubyVM.keep_script_lines = true @@ -302,6 +304,8 @@ class TestAst < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_ast.rb#L304 end def test_of_backtrace_location_under_eval_with_keep_script_lines + pend if ENV['RUBY_ISEQ_DUMP_DEBUG'] # TODO + keep_script_lines_back = RubyVM.keep_script_lines RubyVM.keep_script_lines = true diff --git a/test/ruby/test_rubyvm.rb b/test/ruby/test_rubyvm.rb index 7d4588a165c..628317a0f82 100644 --- a/test/ruby/test_rubyvm.rb +++ b/test/ruby/test_rubyvm.rb @@ -34,6 +34,8 @@ class TestRubyVM < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rubyvm.rb#L34 end def test_keep_script_lines + pend if ENV['RUBY_ISEQ_DUMP_DEBUG'] # TODO + prev_conf = RubyVM.keep_script_lines # keep -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/