Project

General

Profile

Actions

Backport #2948

closed

failing test - test_thread.rb in ruby 1.9.1 p378 on linux redhat

Added by dmauldin (Denise Mauldin) over 14 years ago. Updated over 5 years ago.

Status:
Closed
[ruby-core:28584]

Description

=begin
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 `': ok (RuntimeError)
.
PASS 945 tests
=end


Related issues 2 (0 open2 closed)

Related to Ruby master - Feature #1952: cannot stop with Ctrl+CClosedko1 (Koichi Sasada)08/18/2009Actions
Has duplicate Backport191 - Backport #3367: make test failed with test_thread.rbClosedyugui (Yuki Sonoda)05/30/2010Actions
Actions #1

Updated by mame (Yusuke Endoh) over 14 years ago

  • Status changed from Open to Closed

=begin
Hi,

This is fixed at r27534.
See also [ruby-dev:40936] [ruby-core:27245] [ruby-core:27416].
Thanks,

--
Yusuke Endoh
=end

Actions #2

Updated by nobu (Nobuyoshi Nakada) over 14 years ago

  • Status changed from Closed to Assigned
  • Assignee set to yugui (Yuki Sonoda)

=begin

=end

Actions #3

Updated by nobu (Nobuyoshi Nakada) over 14 years ago

  • Category set to core

=begin

=end

Actions #4

Updated by jeremyevans0 (Jeremy Evans) over 5 years ago

  • Description updated (diff)
  • Status changed from Assigned to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0