mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Skip Process#clock_getres specs on Android
... just like AIX and OpenBSD.
This commit is contained in:
parent
5a8960b4fe
commit
2af4c1fc5b
1 changed files with 2 additions and 2 deletions
|
@ -19,13 +19,13 @@ describe "Process.clock_getres" do
|
|||
|
||||
# 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
|
||||
|
|
Loading…
Add table
Reference in a new issue