[Ironruby-core] SVN r118 and RubySpec integration

Jirapong Nanta jirapong.nanta at gmail.com
Tue Jul 1 13:45:37 EDT 2008


Hi John,
    It was fail to run...  attached file is the fixed version.

Thank you,
-Jirapong

On Tue, Jul 1, 2008 at 11:53 PM, John Lam (IRONRUBY) <jflam at microsoft.com>
wrote:

> Can you try out r119 that I just pushed out? It should have a test that
> catches the wrong folder problem that you ran into.
>
> Thanks,
> -John
>
>
> -----Original Message-----
> From: ironruby-core-bounces at rubyforge.org [mailto:
> ironruby-core-bounces at rubyforge.org] On Behalf Of Peter Bacon Darwin
> Sent: Tuesday, July 01, 2008 9:30 AM
> To: ironruby-core at rubyforge.org
> Subject: Re: [Ironruby-core] SVN r118 and RubySpec integration
>
> Oops.  Sorry my fault.
> My irconfig.rb was referring to the wrong folders.  (I had c: rather than
> d:).
> The line 668 in context.rb
>        Dir["#{UserEnvironment::RUBYSPEC}/1.8/core/*"].each do |path|
> was never picking up the tests.
> Pete
>
> -----Original Message-----
> From: ironruby-core-bounces at rubyforge.org
> [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of John Lam
> (IRONRUBY)
> Sent: Tuesday,01 July 01, 2008 15:33
> To: ironruby-core at rubyforge.org
> Subject: Re: [Ironruby-core] SVN r118 and RubySpec integration
>
> I just looked at the files on SVN and they're the same as mine - I'm
> attaching default.irconfig.rb and context.rb - can you diff to see if
> they're the same as what's on your machine?
>
> I've fixed the quoting problem on this end.
>
> Thanks,
> -John
>
>
> > -----Original Message-----
> > From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-
> > bounces at rubyforge.org] On Behalf Of John Lam (IRONRUBY)
> > Sent: Tuesday, July 01, 2008 6:52 AM
> > To: ironruby-core at rubyforge.org
> > Subject: Re: [Ironruby-core] SVN r118 and RubySpec integration
> >
> > Hmm ... looks like an older version made it out to r118. Let me
> > investigate.
> >
> > Thanks,
> > -John
> >
> >
> > > -----Original Message-----
> > > From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-
> > > bounces at rubyforge.org] On Behalf Of Peter Bacon Darwin
> > > Sent: Tuesday, July 01, 2008 6:16 AM
> > > To: ironruby-core at rubyforge.org
> > > Subject: Re: [Ironruby-core] SVN r118 and RubySpec integration
> > >
> > > And finally when I run rake regression I get a suspiciously quick
> > > result:
> > >
> > >
> > >
> > > D:\dev\ruby\ironruby\head>rake regression
> > >
> > > (in D:/dev/ruby/ironruby/head)
> > >
> > > C:\Documents and Settings\pete/.irconfig.rb:19: warning: already
> > > initialized constant TAGS
> > >
> > > C:\Documents and Settings\pete/.irconfig.rb:20: warning: already
> > > initialized constant RUBYSPEC
> > >
> > > C:\Documents and Settings\pete/.irconfig.rb:21: warning: already
> > > initialized constant MSPEC
> > >
> > >
> > >
> > > Summary:
> > >
> > > 0 types, 0 files, 0 examples, 0 expectations, 0 failures, 0 errors
> > >
> > >
> > >
> > > Nothing seems to be getting run?  If I run rake spec then it does
> > > run the tests:
> > >
> > >
> > >
> > > D:\dev\ruby\ironruby\head>rake spec
> > >
> > > (in D:/dev/ruby/ironruby/head)
> > >
> > > C:\Documents and Settings\pete/.irconfig.rb:19: warning: already
> > > initialized constant TAGS
> > >
> > > C:\Documents and Settings\pete/.irconfig.rb:20: warning: already
> > > initialized constant RUBYSPEC
> > >
> > > C:\Documents and Settings\pete/.irconfig.rb:21: warning: already
> > > initialized constant MSPEC
> > >
> > > 2199 examples, 0 failures
> > >
> > > 0
> > >
> > >
> > >
> > > Is this what is expected?
> > >
> > >
> > >
> > > Pete
> > >
> > >
> > >
> > > From: ironruby-core-bounces at rubyforge.org
> > > [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of John Lam
> > > (IRONRUBY)
> > > Sent: Tuesday,01 July 01, 2008 00:59
> > > To: ironruby-core at rubyforge.org
> > > Subject: [Ironruby-core] SVN r118 and RubySpec integration
> > >
> > >
> > >
> > > I just pushed SVN r118 out which contains RubySpec integration.
> > > There are a few things that you'll need to do:
> > >
> > >
> > >
> > > 1.       (Optional) get a GitHub account (http://github.com)
> > >
> > > 2.       (Optional) install GIT:
> > >
> > > a.       Goto the msysgit project and download the .exe based
> > > installer:
> > > http://code.google.com/p/msysgit/
> > >
> > > b.      Make sure in the GIT setup that you click on the radio button
> > > labeled "Run Git from the Windows Command Prompt"
> > >
> > > c.       Restart your command prompt
> > >
> > > 3.       Navigate to my page: http://github.com/jflam to see the
> > three
> > > GIT projects that you'll need to clone: ironruby-tags, mspec, and
> > > rubyspec. mspec and rubyspec are forks of the main projects so that
> > we
> > > can add IronRuby specific tests and potential changes to mspec. The
> > > RubySpec committers can pull from these repositories to incorporate
> > > our changes. ironruby-tags is a project that contains the list of
> > > rubyspec specs that we currently exclude to get a clean regression
> > baseline.
> > >
> > > 4.       If you have GIT installed, create a directory to hold these
> > > projects. I use %USERPROFILE%\dev:
> > >
> > > a.       in ~\dev\ironruby-tags run: git clone
> > > git://github.com/jflam/ironruby-tags.git
> > >
> > > b.      in ~\dev\mspec run: git clone
> > git://github.com/jflam/mspec.git
> > >
> > > c.       in ~\dev\rubyspec run: git clone
> > > git://github.com/jflam/rubyspec.git
> > >
> > > 5.       If you don't have GIT installed (and why don't you??? J) you
> > > can download the tarball using the download button in each project.
> > >
> > >
> > >
> > > Once you have those projects in place, you'll need to grab r118 from
> > > RubyForge. There's a file in \trunk called runfirst.cmd. This will
> > > enable skip verification for projects signed with our public key,
> > > and it will create a default configuration file at
> > > %USERPROFILE%\.irconfig.rb.
> > >
> > >
> > >
> > > If you followed my instructions and created
> > > %USERPROFILE%\dev\[ironruby-tags,mspec,rubyspec] you're good to go.
> > If
> > > you didn't, you'll need to edit the paths in .irconfig.rb
> > >
> > >
> > >
> > > You can test your setup by running the new regression test baseline
> > > rake
> > > task:
> > >
> > >
> > >
> > > rake regression
> > >
> > >
> > >
> > > This should report 0 failures and 0 errors.
> > >
> > >
> > >
> > > This is the first test of this stuff outside of my machine, so
> > > please kick the tires!
> > >
> > >
> > >
> > > Thanks,
> > >
> > > -John
> > >
> > >
> >
> > _______________________________________________
> > Ironruby-core mailing list
> > Ironruby-core at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/ironruby-core
>
>
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080702/f7effe55/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Rakefile
Type: application/octet-stream
Size: 24974 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080702/f7effe55/attachment-0001.obj>


More information about the Ironruby-core mailing list