2008-10-29
■ [ruby] ruby 1.9.1 preview1きた
とりあえずtest結果など貼ってみる。
uname -a
/Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1 % uname -a Darwin orange 9.5.0 Darwin Kernel Version 9.5.0: Wed Sep 3 11:29:43 PDT 2008; root:xnu-1228.7.58~1/RELEASE_I386 i386
make test
#218 test_io.rb:11:in `<top (required)>': begin require "io/nonblock" r, w = IO.pipe w.nonblock = true w.write_nonblock("a" * 100000) w.nonblock = false t1 = Thread.new { w.write("b" * 4096) } t2 = Thread.new { w.write("c" * 4096) } sleep 0.5 r.sysread(4096).length sleep 0.5 r.sysread(4096).length t1.join t2.join rescue LoadError end #=> not finished in 10 seconds [ruby-dev:32566] FAIL 1/918 tests failed make: *** [btest-ruby] Error 1
おや?もう一度やってみる。
PASS 918 tests ./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb "./bootstraptest/runner.rb" --ruby="ruby" ./KNOWNBUGS.rb 2008-10-29 11:24:14 +0900 Driver is ruby 1.9.1 (2008-10-28 patchlevel 0) [i386-darwin9.5.0] Target is ruby 1.9.1 (2008-10-28 revision 19983) [i386-darwin9.5.0] KNOWNBUGS.rb PASS 0 tests
通った。(さらにもう一度試したけど、三回目もちゃんと通った)
make test-all
Finished in 315.233066 seconds. 1) Failure: test_systemcallerror_eq(TestDelegateClass) [/Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1/test/test_delegate.rb:18]: [ruby-dev:34808] 2) Failure: test_execute_remote(TestGemCommandsInstallCommand) [/Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1/lib/minitest/unit.rb:144]: [Gem::SystemExitException] exception expected, not Class: <Errno::EACCES> Message: <"Permission denied - /Users/yhara/.ri/cache/.doc_dirs"> ---Backtrace--- /Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1/test/rubygems/test_gem_commands_install_command.rb:117:in `block (2 levels) in test_execute_remote' /Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1/test/rubygems/test_gem_commands_install_command.rb:116:in `block in test_execute_remote' /Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1/test/rubygems/test_gem_commands_install_command.rb:115:in `test_execute_remote' --------------- 3) Failure: test_handle_special_CROSSREF_no_underscore(TestRDocMarkupToHtmlCrossref) [/Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1/test/rdoc/test_rdoc_markup_to_html_crossref.rb:87]: Expected "<p> <a href=\"../files/Users/yhara/research/Ruby/rubys/ruby-1_9_1-preview1/test/rdoc/rdoc_markup_to_html_crossref_reference_rb.html\">/Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1/test/rdoc/rdoc_markup_to_html_crossref_reference.rb</a> </p> ", not "<p> /Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1/test/rdoc/rdoc_markup_to_html_crossref_reference.rb </p> ". 4) Failure: test_exit_action(TestSignal) [/Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1/test/ruby/test_signal.rb:52]: [ruby-dev:26128]. Exception raised: <#<Timeout::Error: execution expired>>. 5) Failure: test_cgi(TestWEBrickCGI) [/Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1/test/webrick/test_cgi.rb:76]: <"Customer=WILE_E_COYOTE, Shipping=FedEx"> expected but was <nil>. 5670 tests, 2467667 assertions, 5 failures, 0 errors, 0 skips make: *** [test-all] Error 1 /Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1 %
2回目。
1) Failure: test_core_03_notify(Rinda::TupleSpaceTest) [/Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1/test/rinda/test_rinda.rb:396]: <[0, 3]> expected but was <[1, 2]>. 2) Failure:test_systemcallerror_eq(TestDelegateClass) [/Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1/test/test_delegate.rb:18]:[ruby-dev:34808] 3) Failure: test_execute_remote(TestGemCommandsInstallCommand) [/Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1/lib/minitest/unit.rb:144]: [Gem::SystemExitException] exception expected, not Class: <Errno::EACCES> Message: <"Permission denied - /Users/yhara/.ri/cache/.doc_dirs"> ---Backtrace--- /Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1/test/rubygems/test_gem_commands_install_command.rb:117:in `block (2 levels) in test_execute_remote' /Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1/test/rubygems/test_gem_commands_install_command.rb:116:in `block in test_execute_remote' /Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1/test/rubygems/test_gem_commands_install_command.rb:115:in `test_execute_remote' --------------- 4) Failure: test_argv0_noarg(TestProcess) [/Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1/test/ruby/test_process.rb:866]: Failed assertion, no message given. 5) Failure: test_execopts_exec(TestProcess) [/Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1/test/ruby/test_process.rb:418]: <"aaa\n"> expected but was <"">. 6) Failure: test_handle_special_CROSSREF_no_underscore(TestRDocMarkupToHtmlCrossref) [/Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1/test/rdoc/test_rdoc_markup_to_html_crossref.rb:87]: Expected "<p> <a href=\"../files/Users/yhara/research/Ruby/rubys/ruby-1_9_1-preview1/test/rdoc/rdoc_markup_to_html_crossref_reference_rb.html\">/Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1/test/rdoc/rdoc_markup_to_html_crossref_reference.rb</a> </p> ", not "<p> /Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1/test/rdoc/rdoc_markup_to_html_crossref_reference.rb </p> ". 7) Failure: test_exit_action(TestSignal) [/Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1/test/ruby/test_signal.rb:52]: [ruby-dev:26128]. Exception raised: <#<Timeout::Error: execution expired>>. 8) Failure:test_cgi(TestWEBrickCGI) [/Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1/test/webrick/test_cgi.rb:35]:<"/path/info"> expected but was <"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\">\n<HTML>\n <HEAD><TITLE>Internal Server Error</TITLE></HEAD>\n <BODY>\n <H1>Internal Server Error</H1>\n Premature end of script headers: /Users/yhara/research/Ruby/rubys/ruby-1.9.1-preview1/test/webrick/webrick.cgi\n <HR>\n <ADDRESS>\n WEBrick/1.3.1 (Ruby/1.9.1/2008-10-28) OpenSSL/0.9. 7l at\n 127.0.0.1:58798\n </ADDRESS>\n </BODY>\n</HTML>\n">. 5670 tests, 2467644 assertions, 8 failures, 0 errors, 0 skips make: *** [test-all] Error 1