[前][次][番号順一覧][スレッド一覧]

ruby-changes:59320

From: Nobuyoshi <ko1@a...>
Date: Wed, 18 Dec 2019 13:31:17 +0900 (JST)
Subject: [ruby-changes:59320] c147eeff7c (master): [ruby/io-console] Skip Interrupt test on Linux

https://git.ruby-lang.org/ruby.git/commit/?id=c147eeff7c

From c147eeff7c2b8d4b8864c8be6496abf7f622a983 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Wed, 18 Dec 2019 13:29:55 +0900
Subject: [ruby/io-console] Skip Interrupt test on Linux

Hangs up only in ruby/ruby on Travis-CI.

https://github.com/ruby/io-console/commit/de39aa6dd6

diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb
index 219b846..d71e426 100644
--- a/test/io/console/test_io_console.rb
+++ b/test/io/console/test_io_console.rb
@@ -352,7 +352,7 @@ defined?(PTY) and defined?(IO.console) and TestIO_Console.class_eval do https://github.com/ruby/ruby/blob/trunk/test/io/console/test_io_console.rb#L352
       if cc = ctrl["intr"]
         assert_ctrl("#{cc.ord}", cc, r, w)
         assert_ctrl("#{cc.ord}", cc, r, w)
-        assert_ctrl("Interrupt", cc, r, w)
+        assert_ctrl("Interrupt", cc, r, w) unless /linux/ =~ RUBY_PLATFORM
       end
       if cc = ctrl["dsusp"]
         assert_ctrl("#{cc.ord}", cc, r, w)
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]