Hi All,
Couple of days back, I watched Brian's Rubinius VM talk available @
Galois's Viemo channel. I knew about Rubinius before, but the talk
opened up lot more details; like why new implementation, why implement
most part in Ruby than in C/C++, how to test and validate etc.
So decided to give it a try.
It was just amazing to see complete Ruby VM with JIT support getting
built in front of your eyes and your everyday ruby code is running
successfully on it!
Now while running specs, I am seeing few failures. e.g.
siddha...@jupiter:~/tools/src/rubinius$ mspec -t
~/tools/rubinius/bin/ruby
spec/ruby/library/parsedate/parsedate_spec.rb
rubinius 1.1.1 (1.8.7 ae95ec31 2010-11-16 JI) [i686-pc-linux-gnu]
..................F..
1)
ParseDate.parsedate returns Array with year and month set, given a
String like nn-nn FAILED
Expected [nil, nil, 8, nil, nil, nil, "-09", nil]
to equal [8, 9, nil, nil, nil, nil, nil, nil]
...
..
..
1 file, 21 examples, 26 expectations, 1 failure, 0 errors
What is the general procedure if I want to fix a failure and submit a patch?
In above example, should the fix be applied to parsedate library
implementation or to spec file? What to consider as baseline? MRI?
Thanks,
Siddharth
--
--- !ruby/object:MailingList
name: rubinius-dev
view: http://groups.google.com/group/rubinius-dev?hl=en
post: [email protected]
unsubscribe: [email protected]