Bug #5055

ruby-1.9.2-p290 Test Error @Cygwin

Added by Mitsuru FURUI almost 4 years ago. Updated over 2 years ago.

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

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

Related to Ruby trunk - Bug #4957: IO.copystream seems make hangup on cygwin (was 2011-07-01 Snapshot build) Closed 07/01/2011
Related to Ruby trunk - Bug #5027: Snapshot(2011-07-14) Build Test Error @Cygwin Closed 07/14/2011

History

#1 Updated by Yui NARUSE over 3 years ago

  • Status changed from Open to Feedback
  • Priority changed from Normal to Low

#2 Updated by Yusuke Endoh over 2 years ago

  • Status changed from Feedback to Rejected

返答が遅くなった上で申し訳ないですが、cygwin はサポートされていません。
一旦閉じますが、パッチを送って頂ければ取り込みを検討しますので reopen してください。

Yusuke Endoh mame@tsg.ne.jp

Also available in: Atom PDF