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 `<main>': ok (RuntimeError)
.
#357 test_thread.rb:191:in `<top (required)>':
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
`<main>': ok (RuntimeError)
.
PASS 945 tests
on 2010-03-09 20:04
on 2010-05-11 13:16
Issue #2948 has been updated by Yusuke Endoh. Status changed from Open to Closed Hi, This is fixed at r27534. See also [ruby-dev:40936] [ruby-core:27245] [ruby-core:27416]. Thanks, -- Yusuke Endoh <mame@tsg.ne.jp> ---------------------------------------- http://redmine.ruby-lang.org/issues/show/2948
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.