Project

General

Profile

Actions

Bug #5055

closed

ruby-1.9.2-p290 Test Error @Cygwin

Added by mfurui (Mitsuru FURUI) over 13 years ago. Updated about 12 years ago.

Status:
Rejected
Assignee:
-
Target version:
ruby -v:
ruby 1.9.2p290 (2011-07-09) [i386-cygwin]
Backport:
[ruby-dev:44164]

Description

ruby-1.9.2-p290 Test Error @Cygwin
#5042 の環境変数の対応でビルドできたので make test したところ一件 Error で返ってきました。


#246 test_io.rb:
at_exit { p :foo }

   megacontent = "abc" * 12345678
   #File.open("megasrc", "w") {|f| f << megacontent }

   Thread.new { sleep rand*0.2; Process.kill(:INT, $$) }

   r1, w1 = IO.pipe
   r2, w2 = IO.pipe
   t1 = Thread.new { w1 << megacontent; w1.close }
   t2 = Thread.new { r2.read; r2.close }
   IO.copy_stream(r1, w2) rescue nil
   w2.close
   r1.close
   t1.join
   t2.join
   #=> killed by SIGKILL (signal 9) (timeout)  megacontent-copy_stream

FAIL 1/926 tests failed
make: *** [yes-btest-ruby] Error 1

環境は
CYGWIN_NT-5.1 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin
gcc version 4.5.0 (GCC)


Related issues 3 (0 open3 closed)

Related to Ruby master - Bug #4957: IO.copystream seems make hangup on cygwin (was 2011-07-01 Snapshot build)Closed07/01/2011Actions
Related to Backport192 - Backport #5042: ruby-1.9.2-p290 Build Error @CygwinRejectedyugui (Yuki Sonoda)Actions
Related to Ruby master - Bug #5027: Snapshot(2011-07-14) Build Test Error @CygwinClosed07/14/2011Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0