summaryrefslogtreecommitdiff
path: root/test/ruby/test_ast.rb
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2022-01-31 03:27:18 +0900
committerKoichi Sasada <ko1@atdot.net>2022-01-31 03:47:03 +0900
commite75bd8df51648a35442649fd3e4b9ac4e223752a (patch)
tree0cf16937cf0d1be395b9d79a8715224828c3c54e /test/ruby/test_ast.rb
parent44c44b9b4af14f42a0dc6df9287c45d9689847bb (diff)
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`
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5508
Diffstat (limited to 'test/ruby/test_ast.rb')
-rw-r--r--test/ruby/test_ast.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ruby/test_ast.rb b/test/ruby/test_ast.rb
index a4edfd3cbe..cd96027654 100644
--- a/test/ruby/test_ast.rb
+++ b/test/ruby/test_ast.rb
@@ -255,6 +255,8 @@ class TestAst < Test::Unit::TestCase
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
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