[前][次][番号順一覧][スレッド一覧]

ruby-changes:54442

From: eregon <ko1@a...>
Date: Mon, 31 Dec 2018 02:48:17 +0900 (JST)
Subject: [ruby-changes:54442] eregon:r66657 (trunk): Exclude Solaris in Process.clock_gettime specs

eregon	2018-12-31 02:48:11 +0900 (Mon, 31 Dec 2018)

  New Revision: 66657

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66657

  Log:
    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.

  Modified files:
    trunk/spec/ruby/core/process/clock_gettime_spec.rb
Index: spec/ruby/core/process/clock_gettime_spec.rb
===================================================================
--- spec/ruby/core/process/clock_gettime_spec.rb	(revision 66656)
+++ spec/ruby/core/process/clock_gettime_spec.rb	(revision 66657)
@@ -1,7 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/process/clock_gettime_spec.rb#L1
 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(),

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]