From: Urabe Shyouhei Date: 2009-04-02T11:40:58+09:00 Subject: [ruby-dev:38248] 1.8.7 RSS test failure 卜部です。ちょっとご相談。 1.8.7をリリースできてない理由の一つにRSSのテストが通らないからというのがあります(下記)。 これは1.8.8devからテストだけ持ってきたからなので、なんらか対応しないといけないのですが、 (1) このテストが正しくて1.8.7の挙動は誤りなのでしょうか、それとも (2) 1.8.7は誤りとは言えず、テストをrevertすべきなのでしょうか。 判断ついてないのでお知恵をお借りしたく。よろしくお願いします。 zsh % make test-all TESTS=rss ./miniruby -I/home/shyouhei/ruby/branches/ruby_1_8_7/lib -I.ext/common -I./- -r/home/shyouhei/ruby/branches/ruby_1_8_7/ext/purelib.rb /home/shyouhei/ruby/branches/ruby_1_8_7/runruby.rb --extout=.ext -- "/home/shyouhei/ruby/branches/ruby_1_8_7/test/runner.rb" --basedir="/home/shyouhei/ruby/branches/ruby_1_8_7/test" --runner=console rss Loaded suite rss Started .....F..............................................................................................................................................................F.............F.......................................................................................................... Finished in 28.22949 seconds. 1) Failure: test_atom_content(RSS::TestAtomCore) [/home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:910:in `assert_rexml_element' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:895:in `assert_rexml_element' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/test_atom.rb:652:in `assert_atom_content_inline_other_base64_to_s' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/test_atom.rb:643:in `assert_atom_content_inline_other_base64_to_s' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/test_atom.rb:604:in `assert_atom_content_to_s' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/test_atom.rb:600:in `assert_atom_content_to_s' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/test_atom.rb:205:in `test_atom_content']: <"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAABAAAAAQDHlV/tAAAADElEQVQI12P4//8/AAX+Av7czFnnAAAAAElFTkSuQmCC"> expected but was <"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAACXBIWXMAAABI\nAAAASABGyWs+AAAACXZwQWcAAAABAAAAAQDHlV/tAAAADElEQVQI12P4//8/\nAAX+Av7czFnnAAAAAElFTkSuQmCC\n">. 2) Failure: test_entry_content_text(RSS::TestParserAtom) [/home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:910:in `assert_rexml_element' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:895:in `assert_rexml_element' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:591:in `assert_atom_content_inline_other_text' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:569:in `each' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:569:in `assert_atom_content_inline_other_text' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:559:in `assert_atom_content_inline_other_text' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:553:in `assert_atom_content_inline_other' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:552:in `assert_atom_content_inline_other' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:459:in `assert_atom_content' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:456:in `assert_atom_content' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/test_parser_atom_entry.rb:100:in `test_entry_content_text']: <"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAABAAAAAQDHlV/tAAAADElEQVQI12P4//8/AAX+Av7czFnnAAAAAElFTkSuQmCC"> expected but was <"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAACXBIWXMAAABI\nAAAASABGyWs+AAAACXZwQWcAAAABAAAAAQDHlV/tAAAADElEQVQI12P4//8/\nAAX+Av7czFnnAAAAAElFTkSuQmCC\n">. 3) Failure: test_entry_content(RSS::TestParserAtomFeed) [/home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:910:in `assert_rexml_element' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:895:in `assert_rexml_element' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:591:in `assert_atom_content_inline_other_text' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:569:in `each' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:569:in `assert_atom_content_inline_other_text' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:559:in `assert_atom_content_inline_other_text' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:553:in `assert_atom_content_inline_other' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:552:in `assert_atom_content_inline_other' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:459:in `assert_atom_content' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:456:in `assert_atom_content' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/test_parser_atom_feed.rb:147:in `test_entry_content']: <"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAABAAAAAQDHlV/tAAAADElEQVQI12P4//8/AAX+Av7czFnnAAAAAElFTkSuQmCC"> expected but was <"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAACXBIWXMAAABI\nAAAASABGyWs+AAAACXZwQWcAAAABAAAAAQDHlV/tAAAADElEQVQI12P4//8/\nAAX+Av7czFnnAAAAAElFTkSuQmCC\n">. 285 tests, 4764 assertions, 3 failures, 0 errors make: *** [test-all] Error 1 zsh: exit 2 make test-all TESTS=rss