1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

spec/ruby/core/process/clock_getres_spec.rb: skip on Android

in the same way as FreeBSD and OpenBSD.
I guess that the spec makes too strong assumption.
This commit is contained in:
Yusuke Endoh 2020-02-13 23:00:30 +09:00
parent 022268ae00
commit ed549f80b6

View file

@ -4,7 +4,7 @@ require_relative 'fixtures/clocks'
describe "Process.clock_getres" do describe "Process.clock_getres" do
# clock_getres() seems completely buggy 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 # https://rubyci.org/logs/rubyci.s3.amazonaws.com/freebsd11zfs/ruby-trunk/log/20190428T093003Z.fail.html.gz
platform_is_not :freebsd, :openbsd do platform_is_not :freebsd, :openbsd, :android do
# NOTE: Look at fixtures/clocks.rb for clock and OS-specific exclusions # NOTE: Look at fixtures/clocks.rb for clock and OS-specific exclusions
ProcessSpecs.clock_constants_for_resolution_checks.each do |name, value| ProcessSpecs.clock_constants_for_resolution_checks.each do |name, value|
it "matches the clock in practice for Process::#{name}" do it "matches the clock in practice for Process::#{name}" do