ruby-changes:59207
From: aycabta <ko1@a...>
Date: Thu, 12 Dec 2019 05:46:34 +0900 (JST)
Subject: [ruby-changes:59207] 51cc5a26df (master): Some tests failed with before GNU Readline 6.0 on Windows
https://git.ruby-lang.org/ruby.git/commit/?id=51cc5a26df From 51cc5a26df5f47ecdd88398ba1a50a8e62182649 Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Thu, 12 Dec 2019 03:18:44 +0900 Subject: Some tests failed with before GNU Readline 6.0 on Windows diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb index a6e37c0..876d61e 100644 --- a/test/readline/test_readline.rb +++ b/test/readline/test_readline.rb @@ -434,6 +434,7 @@ module BasetestReadline https://github.com/ruby/ruby/blob/trunk/test/readline/test_readline.rb#L434 def test_input_metachar skip "Skip Editline" if /EditLine/n.match(Readline::VERSION) skip("Won't pass on mingw w/readline 7.0.005 [ruby-core:45682]") if mingw? + skip 'Needs GNU Readline 6 or later' if windows? and kind_of?(TestReadline) and Readline::VERSION < '6.0' bug6601 = '[ruby-core:45682]' Readline::HISTORY << "hello" wo = nil @@ -682,6 +683,7 @@ module BasetestReadline https://github.com/ruby/ruby/blob/trunk/test/readline/test_readline.rb#L683 # http://rubyci.s3.amazonaws.com/solaris11s-sunc/ruby-trunk/log/20181228T102505Z.fail.html.gz skip 'This test does not succeed on Oracle Developer Studio for now' end + skip 'Needs GNU Readline 6 or later' if windows? and kind_of?(TestReadline) and Readline::VERSION < '6.0' Readline.completion_proc = -> (_) { [] } Readline.completer_quote_characters = "'\"" -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/