mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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`
This commit is contained in:
parent
44c44b9b4a
commit
e75bd8df51
Notes:
git
2022-01-31 03:47:28 +09:00
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -34,6 +34,8 @@ class TestRubyVM < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_keep_script_lines
|
||||
pend if ENV['RUBY_ISEQ_DUMP_DEBUG'] # TODO
|
||||
|
||||
prev_conf = RubyVM.keep_script_lines
|
||||
|
||||
# keep
|
||||
|
|
Loading…
Reference in a new issue