diff options
author | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-29 10:54:37 +0000 |
---|---|---|
committer | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-29 10:54:37 +0000 |
commit | 31a60184f4a91424419b13171c3b04780ac064e4 (patch) | |
tree | 305db12cc3855293c07396553734520e5dfa8d7f /spec/ruby/core/process/clock_gettime_spec.rb | |
parent | 21f4795e80c244f0931dc0509b3bf6b3d650e7bd (diff) |
Reenable spec on Linux to find out which clocks fail on RHEL
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66636 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 3523338c3f..70ec2c4bb5 100644 --- a/spec/ruby/core/process/clock_gettime_spec.rb +++ b/spec/ruby/core/process/clock_gettime_spec.rb @@ -4,7 +4,7 @@ describe "Process.clock_gettime" do # 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) |