summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-02-22 09:58:48 +0900
committergit <svn-admin@ruby-lang.org>2023-02-22 01:18:25 +0000
commit088919065e7142870650ec2ecbf304e3eab5eb27 (patch)
tree0e1b6e01f159881512c49727af5be8b274ceb255 /test
parent1ddda4c0d7d2b83658ab149e36e088961ca0b2dc (diff)
[ruby/readline-ext] Omit some tests with macOS platform
https://github.com/ruby/readline-ext/commit/efe2be6e4c
Diffstat (limited to 'test')
-rw-r--r--test/readline/test_readline.rb2
1 files changed, 2 insertions, 0 deletions
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