ruby-changes:55590
From: Benoit <ko1@a...>
Date: Sun, 28 Apr 2019 22:01:45 +0900 (JST)
Subject: [ruby-changes:55590] Benoit Daloze:9426da83c6 (trunk): Exclude failing Process.clock_getres specs on AIX
https://git.ruby-lang.org/ruby.git/commit/?id=9426da83c6 From 9426da83c60eca84197e9fcf67dc9c7c12ad3d2e Mon Sep 17 00:00:00 2001 From: Benoit Daloze <eregontp@g...> Date: Sun, 28 Apr 2019 14:59:14 +0200 Subject: Exclude failing Process.clock_getres specs on AIX diff --git a/spec/ruby/core/process/clock_getres_spec.rb b/spec/ruby/core/process/clock_getres_spec.rb index 3ebd012..c745902 100644 --- a/spec/ruby/core/process/clock_getres_spec.rb +++ b/spec/ruby/core/process/clock_getres_spec.rb @@ -51,13 +51,15 @@ describe "Process.clock_getres" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/process/clock_getres_spec.rb#L51 # These are observed - platform_is_not :solaris do + platform_is_not :solaris, :aix do it "with Process::CLOCK_REALTIME reports at least 1 microsecond" do Process.clock_getres(Process::CLOCK_REALTIME, :nanosecond).should <= 1_000 end end - it "with Process::CLOCK_MONOTONIC reports at least 1 microsecond" do - Process.clock_getres(Process::CLOCK_MONOTONIC, :nanosecond).should <= 1_000 + platform_is_not :aix do + it "with Process::CLOCK_MONOTONIC reports at least 1 microsecond" do + Process.clock_getres(Process::CLOCK_MONOTONIC, :nanosecond).should <= 1_000 + end end end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/