ruby-changes:54421
From: eregon <ko1@a...>
Date: Sat, 29 Dec 2018 19:54:40 +0900 (JST)
Subject: [ruby-changes:54421] eregon:r66636 (trunk): Reenable spec on Linux to find out which clocks fail on RHEL
eregon 2018-12-29 19:54:37 +0900 (Sat, 29 Dec 2018) New Revision: 66636 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66636 Log: Reenable spec on Linux to find out which clocks fail on RHEL 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 66635) +++ spec/ruby/core/process/clock_gettime_spec.rb (revision 66636) @@ -4,7 +4,7 @@ describe "Process.clock_gettime" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/process/clock_gettime_spec.rb#L4 # This does not succeed with some platforms: # RHEL: https://rubyci.org/logs/rubyci.s3.amazonaws.com/rhel_zlinux/ruby-trunk/log/20181229T063303Z.fail.html.gz # Solaris: https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11x/ruby-trunk/log/20181229T002409Z.fail.html.gz - platform_is_not :windows, :linux, :solaris do + platform_is_not :windows, :solaris do Process.constants.select { |c| c.to_s.start_with?('CLOCK_') }.each do |c| it "can be called with Process::#{c}" do value = Process.const_get(c) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/