Laurent Sansonetti
lsans****@apple*****
Mon Jul 2 21:56:01 JST 2007
Hi Satoshi-san, The TC_PrintfFormat errors are "normal". The problems are in libffi, I have a patch and I will fix the problem as soon as possible (at least for the next release). The other problem (TC_BoolTypeConversion) is unknown to me. I will perhaps investigate tonight if I can. # Right now I'm fixing the big threading bug. Thanks for your report and work! Laurent On Jul 2, 2007, at 2:37 PM, Satoshi Nakagawa wrote: > Hi Laurent. > > I have tested again on PPC. > The result is: > > http://limechat.net/rubycocoa/bridge_test.html > > It seems the conversions for informal protocols are with something > wrong even now. > > And I checked in new test cases for this problem as r1878. > In result there are no test failures on Intel. > But there are 3 failures on PPC. > The first fault is on my test. > The other 2 failures seems to be caused by recent fixes. > > > $ pwd > /Users/psychs/svn/rubycocoa > $ ruby install.rb test > install.rb: entering test phase... > ---> tests > extention ok: dyld: loaded: ../ext/rubycocoa/rubycocoa.bundle > framework ok: dyld: loaded: ../framework/build/Default/ > RubyCocoa.framework/Versions/A/RubyCocoa > "/usr/bin/ruby" -I../ext/rubycocoa -I../lib testall.rb > ActiveRecord was not found, if you have it installed as a gem you > have to require 'rubygems' before you require 'osx/active_record' > Skipping osx/active_record tests, you need to have active_record and > sqlite3 > Loaded suite testall > Started > ................F > .........................................................................................................FF > ............................................................. > Finished in 3.60202 seconds. > > 1) Failure: > test_bool_type_conversions(TC_BoolTypeConversion) > [./tc_bool.rb:100:in `do_conversion_tests' > ./tc_bool.rb:97:in `each' > ./tc_bool.rb:97:in `do_conversion_tests' > ./tc_bool.rb:88:in > `do_ruby_to_objc_conversion_tests_with_bridgesupport' > ./tc_bool.rb:48:in `test_bool_type_conversions']: > testing ruby to objc char conversion (informal protocol): true <=> 1. > <"1"> expected but was > <"0">. > > 2) Failure: > test_complex(TC_PrintfFormat) > [./tc_printf_format.rb:27:in `verify' > ./tc_printf_format.rb:20:in `test_complex']: > <"blah 123.123000/42 %gruik"> expected but was > <"blah 0.000000/42 %gruik">. > > 3) Failure: > test_float(TC_PrintfFormat) > [./tc_printf_format.rb:27:in `verify' > ./tc_printf_format.rb:11:in `test_float']: > <"42.420000"> expected but was > <"-0.000000">. > > 185 tests, 795 assertions, 3 failures, 0 errors > test failed > 'system "/usr/bin/ruby" -I../ext/rubycocoa -I../lib testall.rb' failed > > -- > Satoshi Nakagawa > > _______________________________________________ > Rubycocoa-devel mailing list > Rubyc****@lists***** > http://lists.sourceforge.jp/mailman/listinfo/rubycocoa-devel