Project

General

Profile

Actions

Bug #6635

closed

Make test fails On Windows 7 64bit

Added by yrag (Gary Leutheuser) almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
1.9.3-p194
Backport:
[ruby-core:45801]

Description

I downloaded the ruby-1.9.3-p194 tarball, but...

$ ruby -v
ruby 1.8.7 (2012-02-08 patchlevel 358) [i386-cygwin]

Running make test after compilation resulted in test 248 failure:

#248 test_fork.rb:
a = []
trap(:INT) { a.push(1) }
trap(:TERM) { a.push(2) }
pid = $$
begin
fork do
sleep 0.5
Process.kill(:INT, pid)
Process.kill(:TERM, pid)
end

   sleep 1
   a.sort
 rescue NotImplementedError
   [1, 2]
 end

#=> "[]" (expected "[1, 2]") [ruby-dev:44005] [Ruby 1.9 - Bug #4950]
FAIL 1/943 tests failed
uncommon.mk:475: recipe for target `yes-btest-ruby' failed
make: *** [yes-btest-ruby] Error 1

Actions

Also available in: Atom PDF

Like0
Like0Like0