[ruby/irb] Skip debug command tests on ruby/ruby

Stan has said these tests could be excluded if they don't work on
ruby/ruby CI.

https://github.com/ruby/irb/commit/11e779ecb7
This commit is contained in:
Takashi Kokubun 2022-12-01 20:42:57 -08:00 committed by git
parent bc3ac86795
commit 7e3b42d008

View File

@ -15,6 +15,12 @@ module TestIRB
"RUBY_DEBUG_NO_RELINE" => "true", "NO_COLOR" => "true", "RUBY_DEBUG_HISTORY_FILE" => ''
}
def setup
if ENV["GITHUB_ACTION_REPOSITORY"] == "ruby/ruby"
omit "This doesn't work on ruby/ruby CI"
end
end
def test_backtrace
omit if RUBY_ENGINE == 'truffleruby'
write_ruby <<~'RUBY'