(ruby-coreはずしました)

2011/5/10 U.Nakamura <usa / garbagecollect.jp>:
> Hello,
>
> In message "[ruby-dev:43502] draft schedule of Ruby 1.9.3"
>    on May.10,2011 00:43:46, <yugui / yugui.jp> wrote:
>> What do you think about the schedule?
>
> I think current trunk is too broken, but we can repair until
> the end of Jun, maybe.

too brokenといわれると気になるのと、一番壊してそうなのは僕だった
のでちょいと確認してみました。8F2E
せっかくなのでちょいと分類してみます。


  1) Failure:
test_binary(TestIO_M17N) [c:/ruby/trunk/test/ruby/test_io_m17n.rb:1728]:
<"a\nb\rc\r\nd\n"> expected but was
<"a\nb\nc\nd\n">.

しばらく前に、話題になっていた行末問題の一貫と思われる。なかださん

  2) Failure:
test_read_newline_conversion_with_encoding_conversion(TestIO_M17N)
[c:/ruby/trunk/test/ruby/test_io_m17n.rb:1505]:
<"a\r\nb\r\n"> expected but was
<"a\nb\n">.

なかださん

  3) Failure:
test_unknown_encoding(TestIconv::Basic)
[c:/ruby/trunk/test/iconv/test_basic.rb:54]:
[Iconv::InvalidEncoding] exception expected, not
Class: <Iconv::BrokenLibrary>
Message: <"iconv(\"utf-8\", \"X-UKNOWN\")">
---Backtrace---
c:/ruby/trunk/test/iconv/test_basic.rb:54:in `iconv'
c:/ruby/trunk/test/iconv/test_basic.rb:54:in `block in test_unknown_encoding'
---------------

これは僕がwindows 版 libiconvをちゃんとビルドできてないだけなので無視してください


  4) Error:
test_capture3_flip(TestOpen3):
Errno::EACCES: Permission denied -
C:/Users/kosaki/AppData/Local/Temp/ruby-test20110510-3532-4090z8
    c:/ruby/trunk/build/.ext/common/win32ole.rb:13:in `call'
    c:/ruby/trunk/build/.ext/common/win32ole.rb:13:in `block in initialize'

?
なにこれ

  5) Failure:
test_commandline(TestOpen3) [c:/ruby/trunk/test/test_open3.rb:64]:
<"quux\n"> expected but was
<"quux\r\n">.

なかださん

  6) Failure:
test_include_file(TestRDocMarkupPreProcess)
[c:/ruby/trunk/test/rdoc/test_rdoc_markup_pre_process.rb:48]:
Expected "Regular expressions (<i>regexp</i>s) are patterns which
describe the\r\ncontents of a string.\r\n", not "Regul
ar expressions (<i>regexp</i>s) are patterns which describe
the\ncontents of a string.\n".

なかださん

  7) Failure:
test_include_file_encoding_incompatible(TestRDocMarkupPreProcess)
[c:/ruby/trunk/test/rdoc/test_rdoc_markup_pre_process.
rb:72]:
Expected "?\r\n", not "?\n".

なかださん

  8) Failure:
test_require_with_unc(TestRequire) [c:/ruby/trunk/test/ruby/test_require.rb:95]:
Failed assertion, no message given.

これは僕の環境固有の問題だと昔きいた記憶がある

  9) Error:
test_abort_on_exception(TestThread):
IOError: stream closed
    c:/ruby/trunk/test/ruby/envutil.rb:60:in `read'
    c:/ruby/trunk/test/ruby/envutil.rb:60:in `block in invoke_ruby'
    c:/ruby/trunk/build/.ext/common/win32ole.rb:13:in `call'
    c:/ruby/trunk/build/.ext/common/win32ole.rb:13:in `block in initialize'

rb_thread_io_blocking_region()問題にしか見えないのでなかださん

 10) Failure:
test_wait_for_invalid_fd(TestWaitForSingleFD)
[c:/ruby/trunk/test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb:27
]:
Errno::EBADF expected but nothing was raised.

これは、僕が最近いれたEricの io/wait テストなんですが、Windowsでの正しい動作が不明なので usa さんの見解が欲しい。


9496 tests, 1877750 assertions, 8 failures, 2 errors, 85 skips
NMAKE : fatal error U1077: '.\ruby.exe' : リターン コード '0xa'
Stop.


以外と直せそうな気がしてきた。