From 7e3b42d008de3c69c9e6bc1d127f28d91c0e88a9 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Thu, 1 Dec 2022 20:42:57 -0800 Subject: [PATCH] [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 --- test/irb/test_debug_cmd.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/irb/test_debug_cmd.rb b/test/irb/test_debug_cmd.rb index 69e1e97015..389e03854d 100644 --- a/test/irb/test_debug_cmd.rb +++ b/test/irb/test_debug_cmd.rb @@ -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'