Exclude some clocks on armv8 too
* See https://bugs.ruby-lang.org/issues/16234#note-16
This commit is contained in:
parent
a1be11eb12
commit
40e161a612
@ -34,7 +34,7 @@ module ProcessSpecs
|
|||||||
end
|
end
|
||||||
|
|
||||||
# These clocks in practice on ARM on Linux do not seem to match their reported resolution.
|
# 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|
|
clocks = clocks.reject { |clock, value|
|
||||||
[:CLOCK_PROCESS_CPUTIME_ID, :CLOCK_THREAD_CPUTIME_ID, :CLOCK_MONOTONIC_RAW].include?(clock)
|
[:CLOCK_PROCESS_CPUTIME_ID, :CLOCK_THREAD_CPUTIME_ID, :CLOCK_MONOTONIC_RAW].include?(clock)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user