ruby-changes:58598
From: Benoit <ko1@a...>
Date: Thu, 7 Nov 2019 07:11:01 +0900 (JST)
Subject: [ruby-changes:58598] 40e161a612 (master): Exclude some clocks on armv8 too
https://git.ruby-lang.org/ruby.git/commit/?id=40e161a612 From 40e161a61238625e1ef021311759b2159be5b50a Mon Sep 17 00:00:00 2001 From: Benoit Daloze <eregontp@g...> Date: Wed, 6 Nov 2019 23:10:15 +0100 Subject: Exclude some clocks on armv8 too * See https://bugs.ruby-lang.org/issues/16234#note-16 diff --git a/spec/ruby/core/process/fixtures/clocks.rb b/spec/ruby/core/process/fixtures/clocks.rb index 92540dd..7537cfa 100644 --- a/spec/ruby/core/process/fixtures/clocks.rb +++ b/spec/ruby/core/process/fixtures/clocks.rb @@ -34,7 +34,7 @@ module ProcessSpecs https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/process/fixtures/clocks.rb#L34 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) } -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/