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

ruby-changes:59085

From: Yusuke <ko1@a...>
Date: Thu, 5 Dec 2019 17:20:40 +0900 (JST)
Subject: [ruby-changes:59085] 0bca34ddaa (master): test/io/console/test_io_console.rb: add a memo for the mysterious hack

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

From 0bca34ddaaf15caa852007f401707c1785aa8ed6 Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Thu, 5 Dec 2019 16:55:31 +0900
Subject: test/io/console/test_io_console.rb: add a memo for the mysterious
 hack


diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb
index 1aff99a..165012d 100644
--- a/test/io/console/test_io_console.rb
+++ b/test/io/console/test_io_console.rb
@@ -11,7 +11,17 @@ class TestIO_Console < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/io/console/test_io_console.rb#L11
   PATHS.uniq!
 
   # FreeBSD seems to hang on TTOU when running parallel tests
-  # tested on FreeBSD 11.x
+  # tested on FreeBSD 11.x.
+  #
+  # Solaris gets stuck too, even in non-parallel mode.
+  # It occurs only in chkbuild.  It does not occur when running
+  # `make test-all` in SSH terminal.
+  #
+  # I suspect that it occurs only when having no TTY.
+  # (Parallel mode runs tests in child processes, so I guess
+  # they has no TTY.)
+  # But it does not occur in `make test-all > /dev/null`, so
+  # there should be an additional factor, I guess.
   def set_winsize_setup
     @old_ttou = trap(:TTOU, 'IGNORE') if RUBY_PLATFORM =~ /freebsd|solaris/i
   end
-- 
cgit v0.10.2


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

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