testing MacRuby with RubySpec?
I gather that RubySpec has a small number of 1.9-specific tests at present, but that work needs to be done to: - make sure the infrastructure works under both 1.8 and 1.9 - identify tests which should not be expected to run on 1.9 - create tests which should not be expected to run on 1.8 Is there a place I can go to find out the plans and status for testing MacRuby with RubySpec? -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm@cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development
Hi Rich, On Oct 10, 2008, at 9:36 AM, Rich Morin wrote:
I gather that RubySpec has a small number of 1.9-specific tests at present, but that work needs to be done to:
- make sure the infrastructure works under both 1.8 and 1.9
- identify tests which should not be expected to run on 1.9
- create tests which should not be expected to run on 1.8
Is there a place I can go to find out the plans and status for testing MacRuby with RubySpec?
There is currently no plan to use RubySpec with MacRuby, though I would be very interested to run MacRuby against a 1.9 RubySpec suite. Last time I checked (a couple of months ago) no 1.9 suite was available yet. I do not follow the RubySpec project to know if the situation has changed since, but googling a little bit did not reveal more updates. Ideally both MacRuby and Ruby 1.9 (YARV) should be covered by the same RubySpec suite, so if one is developed for Ruby 1.9 we should be able to reuse it for MacRuby. We could then extend it for MacRuby-only features. If you have any news about this or willing to help the RubySpec guys by working on the 1.9 suite, please let me know. I would be glad to ship a 1.9 suite as part of MacRuby. # Thanks for creating the wiki page on spec.ruby-doc.org :-) Laurent
At 22:29 -0700 10/13/08, Laurent Sansonetti wrote:
If you have any news about this or willing to help the RubySpec guys by working on the 1.9 suite, please let me know. I would be glad to ship a 1.9 suite as part of MacRuby.
I'd like to see more Ruby implementations on the RubySpecResults page. Putting MacRuby up there would probably help to publicize MacRuby (for small values of "publicize") and move the RubySpec effort on 1.9 forward a bit. http://rubyspecresults.org/ http://rubyspecresults.org/about Would you be willing to set up (say) PPC and i386 servers to do test runs whenever either MacRuby or the test suite changes? We could start with the existing 1.9 suite and see what needs to be added/changed for MR. -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm@cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development
On Oct 14, 2008, at 9:50 AM, Rich Morin wrote:
At 22:29 -0700 10/13/08, Laurent Sansonetti wrote:
If you have any news about this or willing to help the RubySpec guys by working on the 1.9 suite, please let me know. I would be glad to ship a 1.9 suite as part of MacRuby.
I'd like to see more Ruby implementations on the RubySpecResults page. Putting MacRuby up there would probably help to publicize MacRuby (for small values of "publicize") and move the RubySpec effort on 1.9 forward a bit.
http://rubyspecresults.org/ http://rubyspecresults.org/about
Would you be willing to set up (say) PPC and i386 servers to do test runs whenever either MacRuby or the test suite changes? We could start with the existing 1.9 suite and see what needs to be added/changed for MR.
I see that there is a 1.9 suite now, it might be interesting to run MacRuby against it. I'm not sure if it's complete, though. http://github.com/rubyspec/rubyspec/tree/master/1.9 I would indeed be willing to set up some local machines here and submit the rubyspec results to the rubyspecresults web app. It won't be possible to make the machines accessible from the outside, but it looks like it's not a requirement. Also, MacRuby's PPC support is very preliminary and I think it will be deprecated soon, principally because of lack of interest and resources to maintain it. I am currently focusing on both 32-bit and 64-bit Intel. Laurent
At 14:06 -0700 10/14/08, Laurent Sansonetti wrote:
I see that there is a 1.9 suite now, it might be interesting to run MacRuby against it. I'm not sure if it's complete, though.
http://github.com/rubyspec/rubyspec/tree/master/1.9
I would indeed be willing to set up some local machines here and submit the rubyspec results to the rubyspecresults web app. It won't be possible to make the machines accessible from the outside, but it looks like it's not a requirement.
No, given that tests can presumably be added to the suite via github.
Also, MacRuby's PPC support is very preliminary and I think it will be deprecated soon, principally because of lack of interest and resources to maintain it. I am currently focusing on both 32-bit and 64-bit Intel.
<rant> My desktop machine is a perfectly lovely Power Mac G5, which does a fine job of everything I ask of it. I don't mind paying Apple $100 a year for their OS, nor in paying the premium needed for Apple to create pretty and reliable hardware. However, it gripes the !@#$%^ out of me when Apple deprecates hardware prematurely. The fact that Apple offers nothing cheaper than a Mac Pro with any card slots (eg, for adding more monitors) adds insult to injury. </rant> Would it be that hard for you to scrounge a PPC mac and have it run the same tests? Even if you don't have the time to resolve issues, having a central resource for current test information might help to encourage others to make fixes, etc. -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm@cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development
On Oct 14, 2008, at 2:39 PM, Rich Morin wrote:
Also, MacRuby's PPC support is very preliminary and I think it will be deprecated soon, principally because of lack of interest and resources to maintain it. I am currently focusing on both 32-bit and 64-bit Intel.
<rant> My desktop machine is a perfectly lovely Power Mac G5, which does a fine job of everything I ask of it. I don't mind paying Apple $100 a year for their OS, nor in paying the premium needed for Apple to create pretty and reliable hardware. However, it gripes the !@#$%^ out of me when Apple deprecates hardware prematurely. The fact that Apple offers nothing cheaper than a Mac Pro with any card slots (eg, for adding more monitors) adds insult to injury. </rant>
Would it be that hard for you to scrounge a PPC mac and have it run the same tests? Even if you don't have the time to resolve issues, having a central resource for current test information might help to encourage others to make fixes, etc.
Sorry about that, I know that there are still people running PPC machines. The PPC support in MacRuby won't disappear but will probably just be deprecated. If one wants to maintain it and fix bugs, he/she is greatly welcome :) As for the central test information machine, it's indeed something I would like to set up. I just haven't found the time to do that yet. Ideally we should run the tests for every architecture / OS every time there is a new commit and show the result on a public-accessible web page. I would also want to write a performance test suite to make sure no performance regression is introduced by mistake. Laurent
participants (2)
-
Laurent Sansonetti
-
Rich Morin