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:
parent
a1be11eb12
commit
40e161a612
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue