[Ruby 1.9 - Bug #5055][Open] ruby-1.9.2-p290 Test Error @Cygwin

Issue #5055 has been reported by Mitsuru FURUI.


Bug #5055: ruby-1.9.2-p290 Test Error @Cygwin
http://redmine.ruby-lang.org/issues/5055

Author: Mitsuru FURUI
Status: Open
Priority: Normal
Assignee:
Category: test
Target version: 1.9.2
ruby -v: ruby 1.9.2p290 (2011-07-09) [i386-cygwin]

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)

Issue #5055 has been updated by mame (Yusuke E.).

Status changed from Feedback to Rejected

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


Yusuke E. [email protected]

Bug #5055: ruby-1.9.2-p290 Test Error @Cygwin
https://bugs.ruby-lang.org/issues/5055#change-32014

Author: mfurui (Mitsuru FURUI)
Status: Rejected
Priority: Low
Assignee:
Category: test
Target version: 1.9.2
ruby -v: ruby 1.9.2p290 (2011-07-09) [i386-cygwin]

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)

Issue #5055 has been updated by Yui NARUSE.

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


Bug #5055: ruby-1.9.2-p290 Test Error @Cygwin
http://redmine.ruby-lang.org/issues/5055

Author: Mitsuru FURUI
Status: Feedback
Priority: Low
Assignee:
Category: test
Target version: 1.9.2
ruby -v: ruby 1.9.2p290 (2011-07-09) [i386-cygwin]

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)