diff options
author | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-30 17:48:11 +0000 |
---|---|---|
committer | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-30 17:48:11 +0000 |
commit | 7e4e641c009fede540a9e307ac1d3bb9dcf00f7a (patch) | |
tree | f0eaafff84b1fc6efbf51bab0af191a6d4043bb3 /spec/ruby/core/process/clock_gettime_spec.rb | |
parent | 8b8e5246e79971457489cf4bd37309c2945c33e1 (diff) | |
download | ruby-7e4e641c009fede540a9e307ac1d3bb9dcf00f7a.tar.gz |
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
Diffstat (limited to 'spec/ruby/core/process/clock_gettime_spec.rb')
-rw-r--r-- | spec/ruby/core/process/clock_gettime_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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(), |