ruby-changes:55822
From: Benoit <ko1@a...>
Date: Fri, 24 May 2019 21:48:40 +0900 (JST)
Subject: [ruby-changes:55822] Benoit Daloze: 2d34087a38 (trunk): Add notes for the Process#clock_getres spec
https://git.ruby-lang.org/ruby.git/commit/?id=2d34087a38 From 2d34087a38ac680c5576a56fbf4104c3561b0204 Mon Sep 17 00:00:00 2001 From: Benoit Daloze <eregontp@g...> Date: Fri, 24 May 2019 14:48:10 +0200 Subject: Add notes for the Process#clock_getres spec diff --git a/spec/ruby/core/process/clock_getres_spec.rb b/spec/ruby/core/process/clock_getres_spec.rb index 0fc2a95..cadb5b7 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' https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/process/clock_getres_spec.rb#L2 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 = [] -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/