summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-12-01 20:42:57 -0800
committergit <svn-admin@ruby-lang.org>2022-12-02 04:43:36 +0000
commit7e3b42d008de3c69c9e6bc1d127f28d91c0e88a9 (patch)
treedb1912f91f969f27deeedfaf34231a521f773fae /test
parentbc3ac86795877b752c082230e561f547e682e951 (diff)
[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
Diffstat (limited to 'test')
-rw-r--r--test/irb/test_debug_cmd.rb6
1 files changed, 6 insertions, 0 deletions
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'