ruby-changes:43408
From: duerst <ko1@a...>
Date: Tue, 21 Jun 2016 17:17:55 +0900 (JST)
Subject: [ruby-changes:43408] duerst:r55482 (trunk): * test/ruby/test_io.rb: Skip test_readpartial_with_not_empty_buffer,
duerst 2016-06-21 17:17:50 +0900 (Tue, 21 Jun 2016) New Revision: 55482 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55482 Log: * test/ruby/test_io.rb: Skip test_readpartial_with_not_empty_buffer, test_read_buffer_error, test_read_unlocktmp_ensure, test_readpartial_unlocktmp_ensure, and test_sysread_unlocktmp_ensure on cygwin, because these tests repeatedly hang. This makes test_io.rb complete in finite time on cygwin. * ChangeLog: Fix test_in.rb -> test_io.rb (two instances). Modified files: trunk/ChangeLog trunk/test/ruby/test_io.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 55481) +++ ChangeLog (revision 55482) @@ -1,3 +1,14 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Jun 21 17:17:42 2016 Martin Duerst <duerst@i...> + + * test/ruby/test_io.rb: Skip test_readpartial_with_not_empty_buffer, + test_read_buffer_error, test_read_unlocktmp_ensure, + test_readpartial_unlocktmp_ensure, and + test_sysread_unlocktmp_ensure on cygwin, + because these tests repeatedly hang. This makes test_io.rb + complete in finite time on cygwin. + + * ChangeLog: Fix test_in.rb -> test_io.rb (two instances). + Tue Jun 21 16:38:14 2016 Nobuyoshi Nakada <nobu@r...> * string.c (rb_str_casemap): do not put code with side effects @@ -14,7 +25,7 @@ Tue Jun 21 16:12:21 2016 NARUSE, Yui < https://github.com/ruby/ruby/blob/trunk/ChangeLog#L25 Tue Jun 21 15:42:22 2016 Martin Duerst <duerst@i...> - * test/ruby/test_in.rb: Skip test_read_buffer_error on cygwin, + * test/ruby/test_io.rb: Skip test_read_buffer_error on cygwin, because this test repeatedly hangs. Tue Jun 21 15:35:14 2016 Martin Duerst <duerst@i...> @@ -36,7 +47,7 @@ Tue Jun 21 00:22:02 2016 Nobuyoshi Naka https://github.com/ruby/ruby/blob/trunk/ChangeLog#L47 Mon Jun 20 18:39:16 2016 Martin Duerst <duerst@i...> - * test/ruby/test_in.rb: Skip test_open_fifo_does_not_block_other_threads + * test/ruby/test_io.rb: Skip test_open_fifo_does_not_block_other_threads on cygwin. Fifos seem to work okay in cygwin, but this test repeatedly hangs. Index: test/ruby/test_io.rb =================================================================== --- test/ruby/test_io.rb (revision 55481) +++ test/ruby/test_io.rb (revision 55482) @@ -1227,7 +1227,7 @@ class TestIO < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_io.rb#L1227 t.value assert_equal("", s) end - end + end if /cygwin/ !~ RUBY_PLATFORM def test_read pipe(proc do |w| @@ -3173,7 +3173,7 @@ End https://github.com/ruby/ruby/blob/trunk/test/ruby/test_io.rb#L3173 assert_nothing_raised(RuntimeError, bug8669) { str.clear } assert_raise(RuntimeError) { t.join } } - end + end if /cygwin/ !~ RUBY_PLATFORM def test_readpartial_unlocktmp_ensure bug8669 = '[ruby-core:56121] [Bug #8669]' @@ -3187,7 +3187,7 @@ End https://github.com/ruby/ruby/blob/trunk/test/ruby/test_io.rb#L3187 assert_nothing_raised(RuntimeError, bug8669) { str.clear } assert_raise(RuntimeError) { t.join } } - end + end if /cygwin/ !~ RUBY_PLATFORM def test_readpartial_bad_args IO.pipe do |r, w| @@ -3212,7 +3212,7 @@ End https://github.com/ruby/ruby/blob/trunk/test/ruby/test_io.rb#L3212 assert_nothing_raised(RuntimeError, bug8669) { str.clear } assert_raise(RuntimeError) { t.join } } - end + end if /cygwin/ !~ RUBY_PLATFORM def test_exception_at_close bug10153 = '[ruby-core:64463] [Bug #10153] exception in close at the end of block' -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/