Project

General

Profile

Actions

Bug #6635

closed

Make test fails On Windows 7 64bit

Added by yrag (Gary Leutheuser) over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
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

Updated by yrag (Gary Leutheuser) over 9 years ago

I have just realized that this issue was already reported and fixed. My apologies, if this could be removed it would be appreciated.

Updated by luislavena (Luis Lavena) over 9 years ago

  • Status changed from Open to Closed

Closing this out, OP request.

Actions

Also available in: Atom PDF