COMMIT JRuby also will be non-compliant for the number << (a Bignum < 0) specs. http://github.com/rubyspec/rubyspec/commit/899d1ce49ed8dfa7e7204b5445c276014188818e COMMIT Simplify sort_by!{} spec to not be sensitive to differing sort algorithms. http://github.com/rubyspec/rubyspec/commit/818613a3bf682ec1b772f0580dd01fdce6b0dc09 COMMIT Rewrote Float#to_s specs. http://github.com/rubyspec/rubyspec/commit/f297232da5a8d5a6261860f54d521aa63bd2c6a2 =================================================================== +++ 20100523T082344 @@ 12 @@ URL: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1 リポジトリのルート: http://svn.ruby-lang.org/repos/ruby リポジトリ UUID: b2dd03c8-39d4-4d8f-98ff-823fe69b080e +リビジョン: 27962 ノード種別: ディレクトリ 準備中の処理: 特になし 最終変更者: yugui @@ 19947 @@ /home/chkbuild/tmp/build/ruby-1.9.1//ruby/ext/socket/extconf.rb:: warning: ambiguous first argument; put parentheses or even spaces /home/chkbuild/tmp/build/ruby-1.9.1//ruby/ext/json/lib/json/editor.rb:: warning: shadowing outer local variable - item s: . +TestSystem#test_system: /home/chkbuild/tmp/build/ruby-1.9.1//tmp/ruby_script_tmp20100523-16932-14djsbm/ruby_script_tmp.16932:: warning: global variable `$zzz' not initialized s: . TestTCPSocket#test_encoding: s: . TestTCPSocket#test_recvfrom: s: . @@ 26554 @@ ) Array#sort_by! sorts array in place by passing each element to the given block ERROR +NoMethodError: undefined method `sort_by!' for [-100, -2, 1, 200, 30000]:Array /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/array/sort_by_spec.rb:9:in `block (3 levels) in ' /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/array/sort_by_spec.rb:6:in `block in ' /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/array/sort_by_spec.rb:4:in `' @@ 36207 @@ /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/float/to_s_spec.rb Float#to_s +- returns 'NaN' for NaN +- returns 'Infinity' for positive infinity +- returns '-Infinity' for negative infinity +- returns '0.0' for 0.0 +- emits '-' for -0.0 +- emits a '-' for negative values +- emits a trailing '.0' for a whole number +- emits a trailing '.0' for the mantissa in e format +- uses non-e format for a positive value with fractional part having 4 decimal places +- uses non-e format for a negative value with fractional part having 4 decimal places +- uses e format for a positive value with fractional part having 5 decimal places +- uses e format for a negative value with fractional part having 5 decimal places +- uses non-e format for a positive value with whole part having 14 decimal places +- uses non-e format for a negative value with whole part having 14 decimal places +- uses non-e format for a positive value with whole part having 16 decimal places (FAILED - ) +- uses non-e format for a negative value with whole part having 15 decimal places (FAILED - ) +- uses e format for a positive value with whole part having 16 decimal places +- uses e format for a negative value with whole part having 16 decimal places +- outputs the minimal, unique form necessary to recreate the value (FAILED - ) +- outputs the minimal, unique form to represent the value ) +Float#to_s uses non-e format for a positive value with whole part having 16 decimal places FAILED +Expected "1.0e+15" + to equal "1000000000000000.0" +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/float/to_s_spec.rb:74:in `block (3 levels) in ' /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/float/to_s_spec.rb:3:in `' ) +Float#to_s uses non-e format for a negative value with whole part having 15 decimal places FAILED +Expected "-1.0e+15" + to equal "-1000000000000000.0" +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/float/to_s_spec.rb:78:in `block (3 levels) in ' /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/float/to_s_spec.rb:3:in `' ) +Float#to_s outputs the minimal, unique form necessary to recreate the value FAILED +Expected "0.216115646363885" + to equal "0.21611564636388508" +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/float/to_s_spec.rb:95:in `block (3 levels) in ' /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/float/to_s_spec.rb:3:in `' Finished in seconds +1 file, 20 examples, 20 expectations, 3 failures, 0 errors exit 1 failed(rubyspec/core/float/to_s_spec.rb) == rubyspec/core/float/truncate_spec.rb #