ruby-changes:60834
From: Yusuke <ko1@a...>
Date: Sun, 19 Apr 2020 23:19:26 +0900 (JST)
Subject: [ruby-changes:60834] 2af4c1fc5b (master): Skip Process#clock_getres specs on Android
https://git.ruby-lang.org/ruby.git/commit/?id=2af4c1fc5b From 2af4c1fc5b19fc96203c2d7e917e689510d3527e Mon Sep 17 00:00:00 2001 From: Yusuke Endoh <mame@r...> Date: Sun, 19 Apr 2020 23:15:43 +0900 Subject: Skip Process#clock_getres specs on Android ... just like AIX and OpenBSD. diff --git a/spec/ruby/core/process/clock_getres_spec.rb b/spec/ruby/core/process/clock_getres_spec.rb index 90f775e..02e36b2 100644 --- a/spec/ruby/core/process/clock_getres_spec.rb +++ b/spec/ruby/core/process/clock_getres_spec.rb @@ -19,13 +19,13 @@ describe "Process.clock_getres" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/process/clock_getres_spec.rb#L19 # These are observed - platform_is_not :solaris, :aix, :openbsd do + platform_is_not :solaris, :aix, :openbsd, :android do it "with Process::CLOCK_REALTIME reports at least 1 microsecond" do Process.clock_getres(Process::CLOCK_REALTIME, :nanosecond).should <= 1_000 end end - platform_is_not :aix, :openbsd do + platform_is_not :aix, :openbsd, :android do it "with Process::CLOCK_MONOTONIC reports at least 1 microsecond" do Process.clock_getres(Process::CLOCK_MONOTONIC, :nanosecond).should <= 1_000 end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/