Hi guys, I've been running the Rubinius spec test the last few days (and noticed that Wirianto was looking at the bug reports I filed, providing some patches :) ).
Here's what I do (under Linux, it seems that Rubinius specs can't be yet run on Windows): 1. Get the rubinius souces: git clone git://git.rubini.us/code rubinius 2. cd rubinius bin/mspec -t jruby spec/core/ to run the jruby (from the path) against the spec tests for core classes. It worth double-checking the results against the MRI, by: bin/mspec -t ruby spec/core/ If you omit -t parameter, then the tests will be run against the Rubinius implementation (if you have compiled it). 3. There are few major areas where JRuby breaks the whole test run, Kernel and Continuation. You could use the excluse parameter to omit running tests for those areas. Also, currently, the Hash tests hang, and need to be excluded. Also, something wrong with Thread.join, and Thread needs to be excluded (I'll investigate this). bin/mspec -x Kernel -x Continuation -x Hash -x Thread -t jruby spec/core With this, you'll be able to run the core specs to the completion, and see the number of tests that passed and failed (currently 254 core tests fail). 4. It's much more useful to run tests for specific classes like: bin/mspec -t jruby spec/core/object My future plans: I plan to finish the evaluation of all failures in the spec/core tests, and will file as much bugs as I can. Most of the tests are already been investigated, there are 4 MAJOR areas where most of the failures are: dir, file, io, string. I'm currently looking at the file, and then dir. For string, there are some generic bugs files in the Issue Tracker (like, "lots of test failures", most are encoding-related?). Thanks, --Vladimir On Nov 23, 2007 9:59 AM, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote: > Wirianto Djunaidi wrote: > > It will be great if someone can put how to do rubinius spec test against > > JRuby on the wiki. > > > > I had created some patches based on issues submitted by Vladimir which > > were based on the rubinius spec test, > > but I am unable to do the test myself..so I have been doing the tests > > manually :P > > Vladimir is going to post some quick instructions to the wiki, so wait a > few more minutes :) > > - Charlie > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
