From: Tanaka Akira Date: 2008-01-22T14:17:53+09:00 Subject: [ruby-dev:33273] Re: [ruby-cvs:22404] Ruby:r15167 (trunk): * configure.in (MINIRUBY): remove -I$(EXTOUT)/$(arch) from In article <200801220359.m0M3xsI2021608@ci.ruby-lang.org>, matz@ruby-lang.org writes: > matz 2008-01-22 12:59:53 +0900 (Tue, 22 Jan 2008) > > New Revision: 15167 > > Removed files: > trunk/bootstraptest/test_m17n.rb > Modified files: > trunk/ChangeLog > trunk/configure.in > trunk/encoding.c > trunk/string.c > trunk/test/ruby/test_m17n.rb test/ruby/test_m17n_comb.rb でのテスト失敗が増えているようで す。 http://www.rubyist.net/~akr/chkbuild/debian-sarge/ruby-trunk/log/20080122T131400.diff.txt.gz succ 以外はすべて今回ので発生した失敗だと思います。 % ./ruby test/ruby/test_m17n_comb.rb Loaded suite test/ruby/test_m17n_comb Started .......FFFFF.FF......E.E....E............F..F...F....E.FFF.......EE Finished in 37.688242092 seconds. 1) Failure: test_str_assign(TestM17NComb) [test/ruby/test_m17n_comb.rb:418:in `block (2 levels) in test_str_assign' test/ruby/test_m17n_comb.rb:411:in `upto' test/ruby/test_m17n_comb.rb:411:in `block in test_str_assign' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:114:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:410:in `test_str_assign']: is not true. 2) Failure: test_str_assign_len(TestM17NComb) [test/ruby/test_m17n_comb.rb:456:in `block in test_str_assign_len' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:114:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:440:in `test_str_assign_len']: t = "\xC2\xA1".force_encoding("ASCII-8BIT"); t[-2,0] = "".force_encoding("EUC-JP"); t[-2,0]. <""> expected but was . 3) Failure: test_str_assign_range2(TestM17NComb) [test/ruby/test_m17n_comb.rb:506:in `block in test_str_assign_range2' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:114:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:499:in `test_str_assign_range2']: is not true. 4) Failure: test_str_assign_range3(TestM17NComb) [test/ruby/test_m17n_comb.rb:533:in `block in test_str_assign_range3' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:114:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:526:in `test_str_assign_range3']: is not true. 5) Failure: test_str_assign_substr(TestM17NComb) [test/ruby/test_m17n_comb.rb:492:in `block in test_str_assign_substr' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:114:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:471:in `test_str_assign_substr']: is not true. 6) Failure: test_str_casecmp(TestM17NComb) [test/ruby/test_m17n_comb.rb:587:in `rescue in block in test_str_casecmp' test/ruby/test_m17n_comb.rb:584:in `block in test_str_casecmp' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:114:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:582:in `test_str_casecmp']: is not true. 7) Failure: test_str_center(TestM17NComb) [test/ruby/test_m17n_comb.rb:610:in `block in test_str_center' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:114:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:600:in `test_str_center']: is not true. 8) Error: test_str_count(TestM17NComb): ArgumentError: invalid mbstring sequence test/ruby/test_m17n_comb.rb:733:in `count' test/ruby/test_m17n_comb.rb:733:in `block in test_str_count' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:114:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:724:in `test_str_count' 9) Error: test_str_delete(TestM17NComb): ArgumentError: invalid mbstring sequence test/ruby/test_m17n_comb.rb:761:in `delete' test/ruby/test_m17n_comb.rb:761:in `block in test_str_delete' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:114:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:752:in `test_str_delete' 10) Error: test_str_each_line(TestM17NComb): ArgumentError: invalid mbstring sequence test/ruby/test_m17n_comb.rb:808:in `each_line' test/ruby/test_m17n_comb.rb:808:in `block in test_str_each_line' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:114:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:798:in `test_str_each_line' 11) Failure: test_str_ljust(TestM17NComb) [test/ruby/test_m17n_comb.rb:631:in `block in test_str_ljust' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:114:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:621:in `test_str_ljust']: is not true. 12) Failure: test_str_plus(TestM17NComb) [test/ruby/test_m17n_comb.rb:219:in `block in test_str_plus' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:114:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:214:in `test_str_plus']: is not true. 13) Failure: test_str_rjust(TestM17NComb) [test/ruby/test_m17n_comb.rb:652:in `block in test_str_rjust' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:114:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:642:in `test_str_rjust']: is not true. 14) Error: test_str_squeeze(TestM17NComb): ArgumentError: invalid mbstring sequence test/ruby/test_m17n_comb.rb:1134:in `squeeze' test/ruby/test_m17n_comb.rb:1134:in `block in test_str_squeeze' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:114:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:1125:in `test_str_squeeze' 15) Failure: test_str_sub(TestM17NComb) [test/ruby/test_m17n_comb.rb:1370:in `block (2 levels) in test_str_sub' test/ruby/test_m17n_comb.rb:1335:in `each' test/ruby/test_m17n_comb.rb:1335:in `block in test_str_sub' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:114:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:1325:in `test_str_sub']: "\x80".force_encoding("ASCII-8BIT").sub(Regexp.new("".force_encoding("ASCII-8BIT")), "".force_encoding("EUC-JP")). <"\x80"> expected but was <"\x80">. 16) Failure: test_str_sub!(TestM17NComb) [test/ruby/test_m17n_comb.rb:1425:in `block (2 levels) in test_str_sub!' test/ruby/test_m17n_comb.rb:1389:in `each' test/ruby/test_m17n_comb.rb:1389:in `block in test_str_sub!' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:114:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:1379:in `test_str_sub!']: t="\x80".force_encoding("ASCII-8BIT").dup;t.sub!(Regexp.new("".force_encoding("ASCII-8BIT")), "".force_encoding("EUC-JP")). <"\x80"> expected but was <"\x80">. 17) Failure: test_str_succ(TestM17NComb) [test/ruby/test_m17n_comb.rb:1302:in `block (2 levels) in test_str_succ' test/ruby/test_m17n_comb.rb:1297:in `times' test/ruby/test_m17n_comb.rb:1297:in `block in test_str_succ' test/ruby/test_m17n_comb.rb:1292:in `each' test/ruby/test_m17n_comb.rb:1292:in `test_str_succ']: "\xC2\x80".force_encoding("UTF-8") succ! 49 times => "\xC2\xAA\xC2\xAA\xC2\xAA\xC2\xAA\xC2\xAA\xC2\xAA\xC2\xAA\xC2\xAA".force_encoding("UTF-8"). <8> expected to be <= <7.64385618977472>. 18) Error: test_tr(TestM17NComb): ArgumentError: invalid mbstring sequence test/ruby/test_m17n_comb.rb:1236:in `tr' test/ruby/test_m17n_comb.rb:1236:in `block in test_tr' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:114:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:1214:in `test_tr' 19) Error: test_tr_s(TestM17NComb): ArgumentError: invalid mbstring sequence test/ruby/test_m17n_comb.rb:1257:in `tr_s' test/ruby/test_m17n_comb.rb:1257:in `block in test_tr_s' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:119:in `block (2 levels) in combination' test/ruby/test_m17n_comb.rb:114:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:118:in `block in combination' test/ruby/test_m17n_comb.rb:117:in `each' test/ruby/test_m17n_comb.rb:117:in `combination' test/ruby/test_m17n_comb.rb:1242:in `test_tr_s' 67 tests, 434005 assertions, 13 failures, 6 errors -- [田中 哲][たなか あきら][Tanaka Akira]