From 088919065e7142870650ec2ecbf304e3eab5eb27 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 22 Feb 2023 09:58:48 +0900 Subject: [PATCH] [ruby/readline-ext] Omit some tests with macOS platform https://github.com/ruby/readline-ext/commit/efe2be6e4c --- test/readline/test_readline.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb index abbb527416..9c3189a09b 100644 --- a/test/readline/test_readline.rb +++ b/test/readline/test_readline.rb @@ -485,6 +485,7 @@ module BasetestReadline # TODO Green CI for arm32-linux (Travis CI), and Readline 7.0. def test_interrupt_in_other_thread + omit "Skip macOS platform" if RUBY_PLATFORM =~ /darwin/ # Editline and Readline 7.0 can't treat I/O that is not tty. omit "Skip Editline" if /EditLine/n.match(Readline::VERSION) omit "Skip Readline 7.0" if Readline::VERSION == "7.0" @@ -836,6 +837,7 @@ module BasetestReadline end def test_without_tty + omit "Skip macOS platform" if RUBY_PLATFORM =~ /darwin/ omit "Skip Editline" if /EditLine/n.match(Readline::VERSION) loader = nil if defined?(TestReadline) && self.class == TestReadline