Test looks good. JD
From: Tomas Matousek Sent: Monday, April 20, 2009 9:32 AM To: Shri Borde; IronRuby External Code Reviewers Cc: ironruby-core@rubyforge.org Subject: RE: Review: Array#hash and irtests.bat Re RubyArray.Equals(object)/GetHashCode: is it desirable to use value equality here? These methods are only used from .NET libraries - e.g. if the array is added into a dictionary as a key. Unless RubyArray is bound to a runtime its .NET hash/equality implementation won't be the same as Ruby's (ie. calling hash/eql? one each element). Wouldn't be better if RubyArray behaved like List<object> in .NET collections? Tomas From: Shri Borde Sent: Friday, April 17, 2009 3:22 PM To: IronRuby External Code Reviewers Cc: ironruby-core@rubyforge.org Subject: Review: Array#hash and irtests.bat http://github.com/shri/ironruby/commit/7f3d766216c2fa533e208ac2a44b8de39cb03f7c * Fixes Array#hash to work with recursive arrays * Also updated ArraySpecs.recursive_array to produce a cycle of length 3. Previously, it was doing "a << a" multiple times, but this does not increase the length of the cycle above 2. It just increase the number of cycles. This change required an update to many files. * Also added a new ArraySpecs.recursive_arrays function which should be used when dealing with two arrays (comparisons, merge, etc). I have only used it in equal_value_spec and eql_spec for now... * Also removed entries from critical_tags.txt since recursive hashing and comparison now works. http://github.com/shri/ironruby/commit/a011753ebab46652992a0d82a94437811f456381 * Changed irtests.bat to not use "mspec -V" (unless you are using "irtests -par") which was causing very verbose output * Changed irtests.bat to only use two "mspec" tasks so that "irtest -par" will spawn fewer processes. * Changed IronRuby.Tests.exe to show dots for each test instead of printing a new line which is very verbose * Changed irtests.bat to continue running tests even if previous test task failed. It remembers the failed results and prints the summary at the end. * Added ruby19.bat so that "mspec -tr19" runs with Ruby 1.9. It requires you to set RUBY19_EXE to point to your copy of the 1.9 version of ruby.exe Thanks, Shri
_______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core