[ruby/readline-ext] Omit some tests with macOS platform

https://github.com/ruby/readline-ext/commit/efe2be6e4c
This commit is contained in:
Hiroshi SHIBATA 2023-02-22 09:58:48 +09:00 committed by git
parent 1ddda4c0d7
commit 088919065e

View File

@ -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