ruby-changes:52161
From: k0kubun <ko1@a...>
Date: Wed, 15 Aug 2018 12:03:22 +0900 (JST)
Subject: [ruby-changes:52161] k0kubun:r64369 (trunk): test_readline.rb: skip teardown failure
k0kubun 2018-08-15 12:03:18 +0900 (Wed, 15 Aug 2018) New Revision: 64369 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64369 Log: test_readline.rb: skip teardown failure https://ci.appveyor.com/project/ruby/ruby/build/9271/job/e88212s136mr0dgr I'll take a look at MSP-Greg's patch on readline later. Modified files: trunk/test/readline/test_readline.rb Index: test/readline/test_readline.rb =================================================================== --- test/readline/test_readline.rb (revision 64368) +++ test/readline/test_readline.rb (revision 64369) @@ -21,6 +21,9 @@ class TestReadline < Test::Unit::TestCas https://github.com/ruby/ruby/blob/trunk/test/readline/test_readline.rb#L21 end def teardown + if ENV.key?('APPVEYOR') && /mingw/ =~ RUBY_PLATFORM + return + end ENV[INPUTRC] = @inputrc Readline.instance_variable_set("@completion_proc", nil) begin -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/