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

Exclude some clocks on armv8 too

* See https://bugs.ruby-lang.org/issues/16234#note-16
This commit is contained in:
Benoit Daloze 2019-11-06 23:10:15 +01:00
parent a1be11eb12
commit 40e161a612

View file

@ -34,7 +34,7 @@ module ProcessSpecs
end
# These clocks in practice on ARM on Linux do not seem to match their reported resolution.
platform_is :armv7, :aarch64 do
platform_is :armv7, :armv8, :aarch64 do
clocks = clocks.reject { |clock, value|
[:CLOCK_PROCESS_CPUTIME_ID, :CLOCK_THREAD_CPUTIME_ID, :CLOCK_MONOTONIC_RAW].include?(clock)
}