Stop skipping the Process.times example on Intel C Compiler

The example hung when the guard was added in 2022. It now passes on
icc.rubyci.org with Intel oneAPI DPC++/C++ Compiler 2026.1.1, both with
a local build and with the binary chkbuild itself produced.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Hiroshi SHIBATAandClaude Opus 5 committed 2026-09-11 08:45:03 +09:00
1 parent e3dfec62eb
commit fef20ce27c
1 file changed
+5 -9
Notes: git 2026-09-10 23:45:34 +00:00
+5 -9
View File
@@ -5,15 +5,11 @@ describe "Process.times" do
Process.times.should.is_a?(Process::Tms)
end
# TODO: Intel C Compiler does not work this example
# http://rubyci.s3.amazonaws.com/icc-x64/ruby-master/log/20221013T030005Z.fail.html.gz
unless RbConfig::CONFIG['CC']&.include?("icx")
it "returns current cpu times" do
t = Process.times
user = t.utime
it "returns current cpu times" do
t = Process.times
user = t.utime
1 until Process.times.utime > user
Process.times.utime.should > user
end
1 until Process.times.utime > user
Process.times.utime.should > user
end
end