aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-21 08:17:50 +0000
committerduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-21 08:17:50 +0000
commit0f8a24a706e1e598a0e4bfaff3df0e0f8fc88d8c (patch)
tree1a81160d601fd8a632449b10fe5c80fc2d6c7fbe
parent3a6bb56029c3890d39577b96179a9f869e7cef84 (diff)
downloadruby-0f8a24a706e1e598a0e4bfaff3df0e0f8fc88d8c.tar.gz
* 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). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog15
-rw-r--r--test/ruby/test_io.rb8
2 files changed, 17 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 471bf84e16..a5d9f7292c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+Tue Jun 21 17:17:42 2016 Martin Duerst <duerst@it.aoyama.ac.jp>
+
+ * 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@ruby-lang.org>
* 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 <naruse@ruby-lang.org>
Tue Jun 21 15:42:22 2016 Martin Duerst <duerst@it.aoyama.ac.jp>
- * 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@it.aoyama.ac.jp>
@@ -36,7 +47,7 @@ Tue Jun 21 00:22:02 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
Mon Jun 20 18:39:16 2016 Martin Duerst <duerst@it.aoyama.ac.jp>
- * 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.
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb
index 9033c375cb..300217be07 100644
--- a/test/ruby/test_io.rb
+++ b/test/ruby/test_io.rb
@@ -1227,7 +1227,7 @@ class TestIO < Test::Unit::TestCase
t.value
assert_equal("", s)
end
- end
+ end if /cygwin/ !~ RUBY_PLATFORM
def test_read
pipe(proc do |w|
@@ -3173,7 +3173,7 @@ End
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
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
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'