mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
3a6bb56029
commit
0f8a24a706
2 changed files with 17 additions and 6 deletions
15
ChangeLog
15
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>
|
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
|
* 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>
|
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.
|
because this test repeatedly hangs.
|
||||||
|
|
||||||
Tue Jun 21 15:35:14 2016 Martin Duerst <duerst@it.aoyama.ac.jp>
|
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>
|
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
|
on cygwin. Fifos seem to work okay in cygwin, but this test repeatedly
|
||||||
hangs.
|
hangs.
|
||||||
|
|
||||||
|
|
|
@ -1227,7 +1227,7 @@ class TestIO < Test::Unit::TestCase
|
||||||
t.value
|
t.value
|
||||||
assert_equal("", s)
|
assert_equal("", s)
|
||||||
end
|
end
|
||||||
end
|
end if /cygwin/ !~ RUBY_PLATFORM
|
||||||
|
|
||||||
def test_read
|
def test_read
|
||||||
pipe(proc do |w|
|
pipe(proc do |w|
|
||||||
|
@ -3173,7 +3173,7 @@ End
|
||||||
assert_nothing_raised(RuntimeError, bug8669) { str.clear }
|
assert_nothing_raised(RuntimeError, bug8669) { str.clear }
|
||||||
assert_raise(RuntimeError) { t.join }
|
assert_raise(RuntimeError) { t.join }
|
||||||
}
|
}
|
||||||
end
|
end if /cygwin/ !~ RUBY_PLATFORM
|
||||||
|
|
||||||
def test_readpartial_unlocktmp_ensure
|
def test_readpartial_unlocktmp_ensure
|
||||||
bug8669 = '[ruby-core:56121] [Bug #8669]'
|
bug8669 = '[ruby-core:56121] [Bug #8669]'
|
||||||
|
@ -3187,7 +3187,7 @@ End
|
||||||
assert_nothing_raised(RuntimeError, bug8669) { str.clear }
|
assert_nothing_raised(RuntimeError, bug8669) { str.clear }
|
||||||
assert_raise(RuntimeError) { t.join }
|
assert_raise(RuntimeError) { t.join }
|
||||||
}
|
}
|
||||||
end
|
end if /cygwin/ !~ RUBY_PLATFORM
|
||||||
|
|
||||||
def test_readpartial_bad_args
|
def test_readpartial_bad_args
|
||||||
IO.pipe do |r, w|
|
IO.pipe do |r, w|
|
||||||
|
@ -3212,7 +3212,7 @@ End
|
||||||
assert_nothing_raised(RuntimeError, bug8669) { str.clear }
|
assert_nothing_raised(RuntimeError, bug8669) { str.clear }
|
||||||
assert_raise(RuntimeError) { t.join }
|
assert_raise(RuntimeError) { t.join }
|
||||||
}
|
}
|
||||||
end
|
end if /cygwin/ !~ RUBY_PLATFORM
|
||||||
|
|
||||||
def test_exception_at_close
|
def test_exception_at_close
|
||||||
bug10153 = '[ruby-core:64463] [Bug #10153] exception in close at the end of block'
|
bug10153 = '[ruby-core:64463] [Bug #10153] exception in close at the end of block'
|
||||||
|
|
Loading…
Add table
Reference in a new issue