diff options
author | Benoit Daloze <eregontp@gmail.com> | 2019-05-24 14:48:10 +0200 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2019-05-24 14:48:10 +0200 |
commit | 2d34087a38ac680c5576a56fbf4104c3561b0204 (patch) | |
tree | 69ac5ab82b06a1e4589cd477a3938e3b57392224 /spec | |
parent | 4541d2effe1f32e74d27602b44aff12cbf6937aa (diff) | |
download | ruby-2d34087a38ac680c5576a56fbf4104c3561b0204.tar.gz |
Add notes for the Process#clock_getres spec
Diffstat (limited to 'spec')
-rw-r--r-- | spec/ruby/core/process/clock_getres_spec.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/ruby/core/process/clock_getres_spec.rb b/spec/ruby/core/process/clock_getres_spec.rb index 0fc2a958b3..cadb5b7e8c 100644 --- a/spec/ruby/core/process/clock_getres_spec.rb +++ b/spec/ruby/core/process/clock_getres_spec.rb @@ -2,7 +2,10 @@ require_relative '../../spec_helper' require_relative 'fixtures/clocks' describe "Process.clock_getres" do - platform_is_not :freebsd do # clock_getres() seems incorrect on FreeBSD + # clock_getres() seems completely buggy on FreeBSD: + # https://rubyci.org/logs/rubyci.s3.amazonaws.com/freebsd11zfs/ruby-trunk/log/20190428T093003Z.fail.html.gz + platform_is_not :freebsd do + # NOTE: Look at fixtures/clocks.rb for clock and OS-specific exclusions ProcessSpecs.clock_constants_for_resolution_checks.each do |name, value| it "matches the clock in practice for Process::#{name}" do times = [] |