зеркало из https://github.com/github/ruby.git
Skip Process#clock_getres specs on Android
... just like AIX and OpenBSD.
This commit is contained in:
Родитель
5a8960b4fe
Коммит
2af4c1fc5b
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче