From 7e4e641c009fede540a9e307ac1d3bb9dcf00f7a Mon Sep 17 00:00:00 2001 From: eregon Date: Sun, 30 Dec 2018 17:48:11 +0000 Subject: [PATCH] Exclude Solaris in Process.clock_gettime specs * It declares clocks which are invalid for clock_gettime(), which I consider OS bug. * I want to keep testing all declared clocks on other platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- spec/ruby/core/process/clock_gettime_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/ruby/core/process/clock_gettime_spec.rb b/spec/ruby/core/process/clock_gettime_spec.rb index b690186ac3..a7b6bd2b02 100644 --- a/spec/ruby/core/process/clock_gettime_spec.rb +++ b/spec/ruby/core/process/clock_gettime_spec.rb @@ -1,7 +1,7 @@ require_relative '../../spec_helper' describe "Process.clock_gettime" do - platform_is_not :windows do + platform_is_not :windows, :solaris do Process.constants.select { |c| c.to_s.start_with?('CLOCK_') && # These require CAP_WAKE_ALARM and are not documented in clock_gettime(),