Forum: Ruby-dev [Backport87 - Feature #6796][Open] fix test failure of numeric/bignum built with clang -O

Posted by kimuraw (Wataru Kimura) (Guest)
on 2012-07-26 15:29
(Received via mailing list)
Issue #6796 has been reported by kimuraw (Wataru Kimura).

----------------------------------------
Feature #6796: fix test failure of numeric/bignum built with clang -O
https://bugs.ruby-lang.org/issues/6796

Author: kimuraw (Wataru Kimura)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:


=begin

木村といいます。

clangで最適化オプションをつけてコンパイルすると、bignum関連のテストが
いくつか失敗していしまいます。
添付のパッチでこの問題が解決することを確認しました。

環境
* Mac OS X 10.7.4
* clang-3.0
* ruby-1.8.7-p370

 % ./ruby -v
 ruby 1.8.7 (2012-06-29 patchlevel 370) [i686-darwin11.4.2]
 % make TESTS=ruby test-all
 ./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb  ./runruby.rb 
--extout=.ext  -- "./test/runner.rb" --basedir="./test" --runner=console 
ruby
 Loaded suite ruby
 Started
 ............................./test/ruby/test_array.rb:536: warning: 
given block not used
 .........................................................................FE../test/ruby/test_bignum.rb:109: 
warning: Bignum out of Float range
 ./test/ruby/test_bignum.rb:110: warning: Bignum out of Float range
 ...............................................................................................................................................................................................................F.......F....F..F.....F..........F.......................................................................................................................................................................................................................................................................................
 Finished in 68.103073 seconds.

 1) Failure:
 test_bignum(TestBignum) [./test/ruby/test_bignum.rb:20]:
 <815915283247897734345611269596115894272000000000> expected but was
 <12458531232290854317486386476939789467648000000>.

 2) Error:
 test_calc(TestBignum):
 ZeroDivisionError: divided by 0
 ./test/ruby/test_bignum.rb:55:in `modulo'
 ./test/ruby/test_bignum.rb:55:in `test_calc'

 3) Failure:
 test_readpartial_pos(TestIO)
 [./test/ruby/test_io.rb:28:in `test_readpartial_pos'
 ./test/ruby/test_io.rb:25:in `open'
 ./test/ruby/test_io.rb:25:in `test_readpartial_pos'
 ./test/ruby/test_io.rb:9:in `mkcdtmpdir'
 ./test/ruby/test_io.rb:8:in `chdir'
 ./test/ruby/test_io.rb:8:in `mkcdtmpdir'
 /Volumes/CHome/kimuraw/work/ruby/ruby_1_8_7/lib/tmpdir.rb:129:in 
`mktmpdir'
 ./test/ruby/test_io.rb:7:in `mkcdtmpdir'
 ./test/ruby/test_io.rb:23:in `test_readpartial_pos']:
 <2> expected but was
 <0>.

 4) Failure:
 test_divmod(TestInteger)
 [./test/ruby/test_integer.rb:219:in `test_divmod'
 ./test/ruby/test_integer.rb:212:in `each'
 ./test/ruby/test_integer.rb:212:in `test_divmod'
 ./test/ruby/test_integer.rb:211:in `each'
 ./test/ruby/test_integer.rb:211:in `test_divmod']:
 <-79228162514264337593543950338> expected but was
 <-2>.

 5) Failure:
 test_lshift(TestInteger)
 [./test/ruby/test_integer.rb:308:in `test_lshift'
 ./test/ruby/test_integer.rb:303:in `each'
 ./test/ruby/test_integer.rb:303:in `test_lshift'
 ./test/ruby/test_integer.rb:302:in `each'
 ./test/ruby/test_integer.rb:302:in `test_lshift']:
 -6277101735386680763835789423207666416102355444464034512898 << 63.
 <57896044618658097711785492504343953926634992332820282019747238748030274371584> 
expected but was
 <-57896044618658097711785492504343953926634992332820282019747238748030274371584>.

 6) Failure:
 test_mult(TestInteger)
 [./test/ruby/test_integer.rb:205:in `test_mult'
 ./test/ruby/test_integer.rb:198:in `each'
 ./test/ruby/test_integer.rb:198:in `test_mult'
 ./test/ruby/test_integer.rb:197:in `each'
 ./test/ruby/test_integer.rb:197:in `test_mult']:
 -6277101735386680763835789423207666416102355444464034512898 * 
-4611686018427387906.
 <28948022309329048868446949722945338490989075012825473841617161661100467421188> 
expected but was
 <28948022309329048868446949722945338490989075012825473842078330262943206211588>.

 7) Failure:
 test_pow(TestInteger)
 [./test/ruby/test_integer.rb:243:in `test_pow'
 ./test/ruby/test_integer.rb:234:in `each'
 ./test/ruby/test_integer.rb:234:in `test_pow'
 ./test/ruby/test_integer.rb:233:in `each'
 ./test/ruby/test_integer.rb:233:in `test_pow']:
 ((-4611686018427387904) ** 2) / -4611686018427387904 / ...(2 times)...
 <1> expected but was
 <0>.

 8) Failure:
 test_rshift(TestInteger)
 [./test/ruby/test_integer.rb:330:in `test_rshift'
 ./test/ruby/test_integer.rb:325:in `each'
 ./test/ruby/test_integer.rb:325:in `test_rshift'
 ./test/ruby/test_integer.rb:324:in `each'
 ./test/ruby/test_integer.rb:324:in `test_rshift']:
 -6277101735386680763835789423207666416102355444464034512898 >> -65.
 <0> expected but was
 <-231584178474632390847141970017375815706539969331281128078988954992121097486336>.

 624 tests, 452824 assertions, 7 failures, 1 errors
 make: *** [test-all] Error 1
 make TESTS=ruby test-all  62.34s user 0.91s system 92% cpu 1:08.44 
total

=end
Posted by sorah (Shota Fukumori) (Guest)
on 2012-07-26 16:43
(Received via mailing list)
Issue #6796 has been updated by sorah (Shota Fukumori).

Status changed from Open to Rejected
ruby -v set to ruby 1.8.7 (2012-06-29 patchlevel 370) 
[i686-darwin11.4.2]

1.8.7 の bug fix は終了しています。

http://www.ruby-lang.org/ja/news/2011/10/07/plans-for-1-8-7/
----------------------------------------
Bug #6796: fix test failure of numeric/bignum built with clang -O
https://bugs.ruby-lang.org/issues/6796#change-28460

Author: kimuraw (Wataru Kimura)
Status: Rejected
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 1.8.7 (2012-06-29 patchlevel 370) [i686-darwin11.4.2]


=begin

木村といいます。

clangで最適化オプションをつけてコンパイルすると、bignum関連のテストが
いくつか失敗していしまいます。
添付のパッチでこの問題が解決することを確認しました。

環境
* Mac OS X 10.7.4
* clang-3.0
* ruby-1.8.7-p370

 % ./ruby -v
 ruby 1.8.7 (2012-06-29 patchlevel 370) [i686-darwin11.4.2]
 % make TESTS=ruby test-all
 ./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb  ./runruby.rb 
--extout=.ext  -- "./test/runner.rb" --basedir="./test" --runner=console 
ruby
 Loaded suite ruby
 Started
 ............................./test/ruby/test_array.rb:536: warning: 
given block not used
 .........................................................................FE../test/ruby/test_bignum.rb:109: 
warning: Bignum out of Float range
 ./test/ruby/test_bignum.rb:110: warning: Bignum out of Float range
 ...............................................................................................................................................................................................................F.......F....F..F.....F..........F.......................................................................................................................................................................................................................................................................................
 Finished in 68.103073 seconds.

 1) Failure:
 test_bignum(TestBignum) [./test/ruby/test_bignum.rb:20]:
 <815915283247897734345611269596115894272000000000> expected but was
 <12458531232290854317486386476939789467648000000>.

 2) Error:
 test_calc(TestBignum):
 ZeroDivisionError: divided by 0
 ./test/ruby/test_bignum.rb:55:in `modulo'
 ./test/ruby/test_bignum.rb:55:in `test_calc'

 3) Failure:
 test_readpartial_pos(TestIO)
 [./test/ruby/test_io.rb:28:in `test_readpartial_pos'
 ./test/ruby/test_io.rb:25:in `open'
 ./test/ruby/test_io.rb:25:in `test_readpartial_pos'
 ./test/ruby/test_io.rb:9:in `mkcdtmpdir'
 ./test/ruby/test_io.rb:8:in `chdir'
 ./test/ruby/test_io.rb:8:in `mkcdtmpdir'
 /Volumes/CHome/kimuraw/work/ruby/ruby_1_8_7/lib/tmpdir.rb:129:in 
`mktmpdir'
 ./test/ruby/test_io.rb:7:in `mkcdtmpdir'
 ./test/ruby/test_io.rb:23:in `test_readpartial_pos']:
 <2> expected but was
 <0>.

 4) Failure:
 test_divmod(TestInteger)
 [./test/ruby/test_integer.rb:219:in `test_divmod'
 ./test/ruby/test_integer.rb:212:in `each'
 ./test/ruby/test_integer.rb:212:in `test_divmod'
 ./test/ruby/test_integer.rb:211:in `each'
 ./test/ruby/test_integer.rb:211:in `test_divmod']:
 <-79228162514264337593543950338> expected but was
 <-2>.

 5) Failure:
 test_lshift(TestInteger)
 [./test/ruby/test_integer.rb:308:in `test_lshift'
 ./test/ruby/test_integer.rb:303:in `each'
 ./test/ruby/test_integer.rb:303:in `test_lshift'
 ./test/ruby/test_integer.rb:302:in `each'
 ./test/ruby/test_integer.rb:302:in `test_lshift']:
 -6277101735386680763835789423207666416102355444464034512898 << 63.
 <57896044618658097711785492504343953926634992332820282019747238748030274371584> 
expected but was
 <-57896044618658097711785492504343953926634992332820282019747238748030274371584>.

 6) Failure:
 test_mult(TestInteger)
 [./test/ruby/test_integer.rb:205:in `test_mult'
 ./test/ruby/test_integer.rb:198:in `each'
 ./test/ruby/test_integer.rb:198:in `test_mult'
 ./test/ruby/test_integer.rb:197:in `each'
 ./test/ruby/test_integer.rb:197:in `test_mult']:
 -6277101735386680763835789423207666416102355444464034512898 * 
-4611686018427387906.
 <28948022309329048868446949722945338490989075012825473841617161661100467421188> 
expected but was
 <28948022309329048868446949722945338490989075012825473842078330262943206211588>.

 7) Failure:
 test_pow(TestInteger)
 [./test/ruby/test_integer.rb:243:in `test_pow'
 ./test/ruby/test_integer.rb:234:in `each'
 ./test/ruby/test_integer.rb:234:in `test_pow'
 ./test/ruby/test_integer.rb:233:in `each'
 ./test/ruby/test_integer.rb:233:in `test_pow']:
 ((-4611686018427387904) ** 2) / -4611686018427387904 / ...(2 times)...
 <1> expected but was
 <0>.

 8) Failure:
 test_rshift(TestInteger)
 [./test/ruby/test_integer.rb:330:in `test_rshift'
 ./test/ruby/test_integer.rb:325:in `each'
 ./test/ruby/test_integer.rb:325:in `test_rshift'
 ./test/ruby/test_integer.rb:324:in `each'
 ./test/ruby/test_integer.rb:324:in `test_rshift']:
 -6277101735386680763835789423207666416102355444464034512898 >> -65.
 <0> expected but was
 <-231584178474632390847141970017375815706539969331281128078988954992121097486336>.

 624 tests, 452824 assertions, 7 failures, 1 errors
 make: *** [test-all] Error 1
 make TESTS=ruby test-all  62.34s user 0.91s system 92% cpu 1:08.44 
total

=end
Posted by knu (Akinori MUSHA) (Guest)
on 2012-07-27 06:14
(Received via mailing list)
Issue #6796 has been updated by knu (Akinori MUSHA).


ruby_1_8には入れておきます。(r36546)
----------------------------------------
Bug #6796: fix test failure of numeric/bignum built with clang -O
https://bugs.ruby-lang.org/issues/6796#change-28470

Author: kimuraw (Wataru Kimura)
Status: Rejected
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 1.8.7 (2012-06-29 patchlevel 370) [i686-darwin11.4.2]


=begin

木村といいます。

clangで最適化オプションをつけてコンパイルすると、bignum関連のテストが
いくつか失敗していしまいます。
添付のパッチでこの問題が解決することを確認しました。

環境
* Mac OS X 10.7.4
* clang-3.0
* ruby-1.8.7-p370

 % ./ruby -v
 ruby 1.8.7 (2012-06-29 patchlevel 370) [i686-darwin11.4.2]
 % make TESTS=ruby test-all
 ./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb  ./runruby.rb 
--extout=.ext  -- "./test/runner.rb" --basedir="./test" --runner=console 
ruby
 Loaded suite ruby
 Started
 ............................./test/ruby/test_array.rb:536: warning: 
given block not used
 .........................................................................FE../test/ruby/test_bignum.rb:109: 
warning: Bignum out of Float range
 ./test/ruby/test_bignum.rb:110: warning: Bignum out of Float range
 ...............................................................................................................................................................................................................F.......F....F..F.....F..........F.......................................................................................................................................................................................................................................................................................
 Finished in 68.103073 seconds.

 1) Failure:
 test_bignum(TestBignum) [./test/ruby/test_bignum.rb:20]:
 <815915283247897734345611269596115894272000000000> expected but was
 <12458531232290854317486386476939789467648000000>.

 2) Error:
 test_calc(TestBignum):
 ZeroDivisionError: divided by 0
 ./test/ruby/test_bignum.rb:55:in `modulo'
 ./test/ruby/test_bignum.rb:55:in `test_calc'

 3) Failure:
 test_readpartial_pos(TestIO)
 [./test/ruby/test_io.rb:28:in `test_readpartial_pos'
 ./test/ruby/test_io.rb:25:in `open'
 ./test/ruby/test_io.rb:25:in `test_readpartial_pos'
 ./test/ruby/test_io.rb:9:in `mkcdtmpdir'
 ./test/ruby/test_io.rb:8:in `chdir'
 ./test/ruby/test_io.rb:8:in `mkcdtmpdir'
 /Volumes/CHome/kimuraw/work/ruby/ruby_1_8_7/lib/tmpdir.rb:129:in 
`mktmpdir'
 ./test/ruby/test_io.rb:7:in `mkcdtmpdir'
 ./test/ruby/test_io.rb:23:in `test_readpartial_pos']:
 <2> expected but was
 <0>.

 4) Failure:
 test_divmod(TestInteger)
 [./test/ruby/test_integer.rb:219:in `test_divmod'
 ./test/ruby/test_integer.rb:212:in `each'
 ./test/ruby/test_integer.rb:212:in `test_divmod'
 ./test/ruby/test_integer.rb:211:in `each'
 ./test/ruby/test_integer.rb:211:in `test_divmod']:
 <-79228162514264337593543950338> expected but was
 <-2>.

 5) Failure:
 test_lshift(TestInteger)
 [./test/ruby/test_integer.rb:308:in `test_lshift'
 ./test/ruby/test_integer.rb:303:in `each'
 ./test/ruby/test_integer.rb:303:in `test_lshift'
 ./test/ruby/test_integer.rb:302:in `each'
 ./test/ruby/test_integer.rb:302:in `test_lshift']:
 -6277101735386680763835789423207666416102355444464034512898 << 63.
 <57896044618658097711785492504343953926634992332820282019747238748030274371584> 
expected but was
 <-57896044618658097711785492504343953926634992332820282019747238748030274371584>.

 6) Failure:
 test_mult(TestInteger)
 [./test/ruby/test_integer.rb:205:in `test_mult'
 ./test/ruby/test_integer.rb:198:in `each'
 ./test/ruby/test_integer.rb:198:in `test_mult'
 ./test/ruby/test_integer.rb:197:in `each'
 ./test/ruby/test_integer.rb:197:in `test_mult']:
 -6277101735386680763835789423207666416102355444464034512898 * 
-4611686018427387906.
 <28948022309329048868446949722945338490989075012825473841617161661100467421188> 
expected but was
 <28948022309329048868446949722945338490989075012825473842078330262943206211588>.

 7) Failure:
 test_pow(TestInteger)
 [./test/ruby/test_integer.rb:243:in `test_pow'
 ./test/ruby/test_integer.rb:234:in `each'
 ./test/ruby/test_integer.rb:234:in `test_pow'
 ./test/ruby/test_integer.rb:233:in `each'
 ./test/ruby/test_integer.rb:233:in `test_pow']:
 ((-4611686018427387904) ** 2) / -4611686018427387904 / ...(2 times)...
 <1> expected but was
 <0>.

 8) Failure:
 test_rshift(TestInteger)
 [./test/ruby/test_integer.rb:330:in `test_rshift'
 ./test/ruby/test_integer.rb:325:in `each'
 ./test/ruby/test_integer.rb:325:in `test_rshift'
 ./test/ruby/test_integer.rb:324:in `each'
 ./test/ruby/test_integer.rb:324:in `test_rshift']:
 -6277101735386680763835789423207666416102355444464034512898 >> -65.
 <0> expected but was
 <-231584178474632390847141970017375815706539969331281128078988954992121097486336>.

 624 tests, 452824 assertions, 7 failures, 1 errors
 make: *** [test-all] Error 1
 make TESTS=ruby test-all  62.34s user 0.91s system 92% cpu 1:08.44 
total

=end
Posted by elninorian (menuju sukses sukses) (Guest)
on 2012-10-19 08:11
(Received via mailing list)
Issue #6796 has been updated by elninorian (menuju sukses sukses).



hey buddy, this is a very interesting article
really good things here, just thanks
http://www.howtogetaflatstomachforgirls.com/
http://www.howtogetaflatstomachforgirls.com/lose-w...
http://www.howtogetaflatstomachforgirls.com/uncate...
http://www.howtogetaflatstomachforgirls.com/diet/d...
http://www.howtogetaflatstomachforgirls.com/belly-...
http://www.howtogetaflatstomachforgirls.com/flat-b...
http://www.howtogetaflatstomachforgirls.com/flat-s...
http://www.howtogetaflatstomachforgirls.com/have-a...
http://www.howtogetaflatstomachforgirls.com/weight...
http://www.howtogetaflatstomachforgirls.com/exerci...
http://www.howtogetaflatstomachforgirls.com/weight...
http://www.howtogetaflatstomachforgirls.com/diet/k...
http://www.howtogetaflatstomachforgirls.com/lose-p...
http://www.howtogetaflatstomachforgirls.com/belly-...
http://www.howtogetaflatstomachforgirls.com/flat-s...
http://www.howtogetaflatstomachforgirls.com/a-flat...
http://www.howtogetaflatstomachforgirls.com/belly-...
http://www.howtogetaflatstomachforgirls.com/abs/ho...
http://www.howtogetaflatstomachforgirls.com/flat-s...
http://www.howtogetaflatstomachforgirls.com/flat-b...
http://www.howtogetaflatstomachforgirls.com/exerci...
http://www.howtogetaflatstomachforgirls.com/a-flat...
http://www.howtogetaflatstomachforgirls.com/flat-s...
http://www.howtogetaflatstomachforgirls.com/cardio...
http://www.howtogetaflatstomachforgirls.com/bonus-...
http://www.howtogetaflatstomachforgirls.com/flat-s...
http://www.howtogetaflatstomachforgirls.com/flat-s...
http://www.howtogetaflatstomachforgirls.com/abs/ho...
http://www.howtogetaflatstomachforgirls.com/weight...
http://www.howtogetaflatstomachforgirls.com/stomac...
http://www.howtogetaflatstomachforgirls.com/secret...
http://www.howtogetaflatstomachforgirls.com/exerci...
http://www.howtogetaflatstomachforgirls.com/to-get...
http://www.howtogetaflatstomachforgirls.com/tips-f...
http://www.howtogetaflatstomachforgirls.com/flat-s...
http://www.howtogetaflatstomachforgirls.com/a-flat...
http://www.howtogetaflatstomachforgirls.com/belly-...
http://www.howtogetaflatstomachforgirls.com/flat-b...
http://www.howtogetaflatstomachforgirls.com/weight...
http://www.howtogetaflatstomachforgirls.com/diet/m...
http://www.howtogetaflatstomachforgirls.com/weight...
http://www.howtogetaflatstomachforgirls.com/belly-...
http://www.howtogetaflatstomachforgirls.com/belly-...
http://www.howtogetaflatstomachforgirls.com/how-to...
http://www.howtogetaflatstomachforgirls.com/flat-s...
http://www.howtogetaflatstomachforgirls.com/flat-s...
http://www.howtogetaflatstomachforgirls.com/how-do...

http://www.fatburningfoodsformen1.com/belly-fat-ex...
http://www.fatburningfoodsformen1.com/abs-exercise...
http://www.fatburningfoodsformen1.com/green-tea-bu...
http://www.fatburningfoodsformen1.com/belly-fat-ex...
http://www.fatburningfoodsformen1.com/the-man-diet...

----------------------------------------
Bug #6796: fix test failure of numeric/bignum built with clang -O
https://bugs.ruby-lang.org/issues/6796#change-31084

Author: kimuraw (Wataru Kimura)
Status: Rejected
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 1.8.7 (2012-06-29 patchlevel 370) [i686-darwin11.4.2]


=begin

木村といいます。

clangで最適化オプションをつけてコンパイルすると、bignum関連のテストが
いくつか失敗していしまいます。
添付のパッチでこの問題が解決することを確認しました。

環境
* Mac OS X 10.7.4
* clang-3.0
* ruby-1.8.7-p370

 % ./ruby -v
 ruby 1.8.7 (2012-06-29 patchlevel 370) [i686-darwin11.4.2]
 % make TESTS=ruby test-all
 ./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb  ./runruby.rb 
--extout=.ext  -- "./test/runner.rb" --basedir="./test" --runner=console 
ruby
 Loaded suite ruby
 Started
 ............................./test/ruby/test_array.rb:536: warning: 
given block not used
 .........................................................................FE../test/ruby/test_bignum.rb:109: 
warning: Bignum out of Float range
 ./test/ruby/test_bignum.rb:110: warning: Bignum out of Float range
 ...............................................................................................................................................................................................................F.......F....F..F.....F..........F.......................................................................................................................................................................................................................................................................................
 Finished in 68.103073 seconds.

 1) Failure:
 test_bignum(TestBignum) [./test/ruby/test_bignum.rb:20]:
 <815915283247897734345611269596115894272000000000> expected but was
 <12458531232290854317486386476939789467648000000>.

 2) Error:
 test_calc(TestBignum):
 ZeroDivisionError: divided by 0
 ./test/ruby/test_bignum.rb:55:in `modulo'
 ./test/ruby/test_bignum.rb:55:in `test_calc'

 3) Failure:
 test_readpartial_pos(TestIO)
 [./test/ruby/test_io.rb:28:in `test_readpartial_pos'
 ./test/ruby/test_io.rb:25:in `open'
 ./test/ruby/test_io.rb:25:in `test_readpartial_pos'
 ./test/ruby/test_io.rb:9:in `mkcdtmpdir'
 ./test/ruby/test_io.rb:8:in `chdir'
 ./test/ruby/test_io.rb:8:in `mkcdtmpdir'
 /Volumes/CHome/kimuraw/work/ruby/ruby_1_8_7/lib/tmpdir.rb:129:in 
`mktmpdir'
 ./test/ruby/test_io.rb:7:in `mkcdtmpdir'
 ./test/ruby/test_io.rb:23:in `test_readpartial_pos']:
 <2> expected but was
 <0>.

 4) Failure:
 test_divmod(TestInteger)
 [./test/ruby/test_integer.rb:219:in `test_divmod'
 ./test/ruby/test_integer.rb:212:in `each'
 ./test/ruby/test_integer.rb:212:in `test_divmod'
 ./test/ruby/test_integer.rb:211:in `each'
 ./test/ruby/test_integer.rb:211:in `test_divmod']:
 <-79228162514264337593543950338> expected but was
 <-2>.

 5) Failure:
 test_lshift(TestInteger)
 [./test/ruby/test_integer.rb:308:in `test_lshift'
 ./test/ruby/test_integer.rb:303:in `each'
 ./test/ruby/test_integer.rb:303:in `test_lshift'
 ./test/ruby/test_integer.rb:302:in `each'
 ./test/ruby/test_integer.rb:302:in `test_lshift']:
 -6277101735386680763835789423207666416102355444464034512898 << 63.
 <57896044618658097711785492504343953926634992332820282019747238748030274371584> 
expected but was
 <-57896044618658097711785492504343953926634992332820282019747238748030274371584>.

 6) Failure:
 test_mult(TestInteger)
 [./test/ruby/test_integer.rb:205:in `test_mult'
 ./test/ruby/test_integer.rb:198:in `each'
 ./test/ruby/test_integer.rb:198:in `test_mult'
 ./test/ruby/test_integer.rb:197:in `each'
 ./test/ruby/test_integer.rb:197:in `test_mult']:
 -6277101735386680763835789423207666416102355444464034512898 * 
-4611686018427387906.
 <28948022309329048868446949722945338490989075012825473841617161661100467421188> 
expected but was
 <28948022309329048868446949722945338490989075012825473842078330262943206211588>.

 7) Failure:
 test_pow(TestInteger)
 [./test/ruby/test_integer.rb:243:in `test_pow'
 ./test/ruby/test_integer.rb:234:in `each'
 ./test/ruby/test_integer.rb:234:in `test_pow'
 ./test/ruby/test_integer.rb:233:in `each'
 ./test/ruby/test_integer.rb:233:in `test_pow']:
 ((-4611686018427387904) ** 2) / -4611686018427387904 / ...(2 times)...
 <1> expected but was
 <0>.

 8) Failure:
 test_rshift(TestInteger)
 [./test/ruby/test_integer.rb:330:in `test_rshift'
 ./test/ruby/test_integer.rb:325:in `each'
 ./test/ruby/test_integer.rb:325:in `test_rshift'
 ./test/ruby/test_integer.rb:324:in `each'
 ./test/ruby/test_integer.rb:324:in `test_rshift']:
 -6277101735386680763835789423207666416102355444464034512898 >> -65.
 <0> expected but was
 <-231584178474632390847141970017375815706539969331281128078988954992121097486336>.

 624 tests, 452824 assertions, 7 failures, 1 errors
 make: *** [test-all] Error 1
 make TESTS=ruby test-all  62.34s user 0.91s system 92% cpu 1:08.44 
total

=end
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.