1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
eregon 2018-12-30 17:48:11 +00:00
parent 8b8e5246e7
commit 7e4e641c00

View file

@ -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(),