From: Denise Mauldin Date: 2010-03-10T04:04:28+09:00 Subject: [ruby-core:28584] [Bug #2948] failing test - test_thread.rb in ruby 1.9.1 p378 on linux redhat Bug #2948: failing test - test_thread.rb in ruby 1.9.1 p378 on linux redhat http://redmine.ruby-lang.org/issues/show/2948 Author: Denise Mauldin Status: Open, Priority: Normal ruby -v: 1.9.1-p378 Make test fails on linux redhat (2.6.18-164.11.1.el5) for test_thread.rb for ruby 1.9.1 p378. bootstraptest.tmp.rb:5:in `
': ok (RuntimeError) . #357 test_thread.rb:191:in `': begin 100.times do |i| begin Thread.start(Thread.current) {|u| u.raise } raise rescue ensure end end rescue 100 end #=> "" (expected "100") [ruby-dev:31371] FAIL 1/945 tests failed make: *** [btest-ruby] Error 1 When I go to make 1.8.7 on my machine it tells me that I need to use --enable-pthreads. I went back to 1.9.1 and compile with --enable-pthreads and run make test and get the following: test_proc.rb .................................bootstraptest.tmp.rb:5:in `
': ok (RuntimeError) . PASS 945 tests ---------------------------------------- http://redmine.ruby-lang.org