Bug #8869

Error on TestProcess#test_clock_getres

Added by Koichi Sasada 8 months ago. Updated 8 months ago.

[ruby-dev:47699]
Status:Closed
Priority:Normal
Assignee:Usaku NAKAMURA
Category:core
Target version:2.1.0
ruby -v:ruby -v: ruby 2.1.0dev (2013-09-06 trunk 42850) [i386-mswin32_110] Backport:1.9.3: UNKNOWN, 2.0.0: UNKNOWN

Description

mswin32 において、下記のようなエラーが出ております。

1) Error:
TestProcess#testclockgetres:
Errno::EINVAL: Invalid argument
C:/ko1/src/ruby/trunk/test/ruby/testprocess.rb:1743:in clock_getres'
C:/ko1/src/ruby/trunk/test/ruby/test_process.rb:1743:in
test
clock_getres'

11796 tests, 2230101 assertions, 0 failures, 1 errors, 78 skips

ruby -v: ruby 2.1.0dev (2013-09-06 trunk 42850) [i386-mswin32_110]

Associated revisions

Revision 42855
Added by Nobuyoshi Nakada 8 months ago

win32.c: clock_getres

  • win32/win32.c (clockgetres): required as well as clockgettime(). [Bug #8869]

Revision 42856
Added by Nobuyoshi Nakada 8 months ago

win32.c: clock_getres

  • win32/win32.c (clock_getres): remove unused variable. [Bug #8869]

History

#1 Updated by Nobuyoshi Nakada 8 months ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r42855.
Koichi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


win32.c: clock_getres

  • win32/win32.c (clockgetres): required as well as clockgettime(). [Bug #8869]

Also available in: Atom PDF