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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Lam
(IRONRUBY)
Sent: Tuesday,01 July 01, 2008 15:33
To: [email protected]
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: [EMAIL PROTECTED] [mailto:ironruby-core-
> [EMAIL PROTECTED] On Behalf Of John Lam (IRONRUBY)
> Sent: Tuesday, July 01, 2008 6:52 AM
> To: [email protected]
> 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: [EMAIL PROTECTED] [mailto:ironruby-core-
> > [EMAIL PROTECTED] On Behalf Of Peter Bacon Darwin
> > Sent: Tuesday, July 01, 2008 6:16 AM
> > To: [email protected]
> > 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: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of John Lam
> > (IRONRUBY)
> > Sent: Tuesday,01 July 01, 2008 00:59
> > To: [email protected]
> > 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
> [email protected]
> http://rubyforge.org/mailman/listinfo/ironruby-core
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core