During our pair programming session today, Shri, Kevin, and I walked through
some issues running RubySpecs from irtests and rake test:spec_a. The issue
appears to have something to do with the path, as we tried numerous usages
of system with various commands. We finally solved it by adding mspec_path
"#{root}\\..\\External.LCA_RESTRICTED\\Languages\\IronRuby\\mspec\\mspec\\
bin" and including mspec_path at the beginning of mspec_base
"#{mspec_path}\\mspec ci -fd", effectively hard-coding the path.
I believe Kevin also had this problem, so if anyone else is having the
problem, you can try that. After making those changes, everything ran fine
for me.
Ryan Riley
ryan.riley at panesofglass.org
http://panesofglass.org/
http://wizardsofsmart.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/ironruby-core/attachments/20090806/b27eb930/attachment.html>
To add to that, running ?mspec ci ?fd :lang? worked from the command line. When
irtests.rb tried to call system() with that exact same command line (we verified
that it was the exact same value), system() failed returning false. Doing
system(?where mspec?) from within irtests.rb did show the correct version of
(mspec and) mspec.bat, which implies that the value of PATH of the ?rake?
process was also correct.
Ryan, one thought just occurred to me. What happens if you do ?mspec_base =
"mspec.bat ci -fd"??? ie. add ?.bat?. I wonder if system(?mspec ci
?fd?) is trying to run the ?mspec? Ruby file.
In either case, using the full path sounds like a good idea anyway.
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at
rubyforge.org] On Behalf Of Ryan Riley
Sent: Thursday, August 06, 2009 2:15 PM
To: ironruby-core at rubyforge.org
Subject: [Ironruby-core] Problems running irtests.bat
During our pair programming session today, Shri, Kevin, and I walked through
some issues running RubySpecs from irtests and rake test:spec_a. The issue
appears to have something to do with the path, as we tried numerous usages of
system with various commands. We finally solved it by adding mspec_path =
"#{root}\\..\\External.LCA_RESTRICTED\\Languages\\IronRuby\\mspec\\mspec\\bin"
and including mspec_path at the beginning of mspec_base =
"#{mspec_path}\\mspec ci -fd", effectively hard-coding the path.
I believe Kevin also had this problem, so if anyone else is having the problem,
you can try that. After making those changes, everything ran fine for me.
Ryan Riley
ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org>
http://panesofglass.org/
http://wizardsofsmart.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/ironruby-core/attachments/20090806/19bca3de/attachment.html>
That''s a good point, and I forgot to add the ".bat" to mspec in my original email. And of course, that fixes the problem. :) I removed the full path and just added ".bat" and I can run the tests just fine. Ryan Riley ryan.riley at panesofglass.org http://panesofglass.org/ http://wizardsofsmart.net/ On Thu, Aug 6, 2009 at 4:24 PM, Shri Borde <Shri.Borde at microsoft.com> wrote:> To add to that, running ?mspec ci ?fd :lang? worked from the command > line. When irtests.rb tried to call system() with that exact same command > line (we verified that it was the exact same value), system() failed > returning false. Doing system(?where mspec?) from within irtests.rb did show > the correct version of (mspec and) mspec.bat, which implies that the value > of PATH of the ?rake? process was also correct. > > > > Ryan, one thought just occurred to me. What happens if you do ?mspec_base > = "mspec.bat ci -fd"??? ie. add ?.bat?. I wonder if system(?mspec ci ?fd?) > is trying to run the ?mspec? Ruby file. > > > > In either case, using the full path sounds like a good idea anyway. > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ryan Riley > *Sent:* Thursday, August 06, 2009 2:15 PM > *To:* ironruby-core at rubyforge.org > *Subject:* [Ironruby-core] Problems running irtests.bat > > > > During our pair programming session today, Shri, Kevin, and I walked > through some issues running RubySpecs from irtests and rake test:spec_a. > The issue appears to have something to do with the path, as we tried > numerous usages of system with various commands. We finally solved it by > adding mspec_path = "#{root}\\..\\ > External.LCA_RESTRICTED\\Languages\\IronRuby\\mspec\\mspec\\bin" and > including mspec_path at the beginning of mspec_base > "#{mspec_path}\\mspec.bat ci -fd", effectively hard-coding the path. > > > > I believe Kevin also had this problem, so if anyone else is having the > problem, you can try that. After making those changes, everything ran fine > for me. > > > Ryan Riley > ryan.riley at panesofglass.org > http://panesofglass.org/ > http://wizardsofsmart.net/ > > _______________________________________________ > 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/20090806/122ab7cd/attachment.html>
for mono I use mspec-ci and that works..but after it runs the 3rd set of ruby specs it won''t continue to the rubygems tests. --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim Author of IronRuby in Action (http://manning.com/carrero) On Thu, Aug 6, 2009 at 11:44 PM, Ryan Riley <ryan.riley at panesofglass.org>wrote:> That''s a good point, and I forgot to add the ".bat" to mspec in my original > email. And of course, that fixes the problem. :) I removed the full path and > just added ".bat" and I can run the tests just fine. > > > Ryan Riley > ryan.riley at panesofglass.org > http://panesofglass.org/ > http://wizardsofsmart.net/ > > > On Thu, Aug 6, 2009 at 4:24 PM, Shri Borde <Shri.Borde at microsoft.com>wrote: > >> To add to that, running ?mspec ci ?fd :lang? worked from the command >> line. When irtests.rb tried to call system() with that exact same command >> line (we verified that it was the exact same value), system() failed >> returning false. Doing system(?where mspec?) from within irtests.rb did show >> the correct version of (mspec and) mspec.bat, which implies that the value >> of PATH of the ?rake? process was also correct. >> >> >> >> Ryan, one thought just occurred to me. What happens if you do ?mspec_base >> = "mspec.bat ci -fd"??? ie. add ?.bat?. I wonder if system(?mspec ci >> ?fd?) is trying to run the ?mspec? Ruby file. >> >> >> >> In either case, using the full path sounds like a good idea anyway. >> >> >> >> *From:* ironruby-core-bounces at rubyforge.org [mailto: >> ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ryan Riley >> *Sent:* Thursday, August 06, 2009 2:15 PM >> *To:* ironruby-core at rubyforge.org >> *Subject:* [Ironruby-core] Problems running irtests.bat >> >> >> >> During our pair programming session today, Shri, Kevin, and I walked >> through some issues running RubySpecs from irtests and rake test:spec_a. >> The issue appears to have something to do with the path, as we tried >> numerous usages of system with various commands. We finally solved it by >> adding mspec_path = "#{root}\\..\\ >> External.LCA_RESTRICTED\\Languages\\IronRuby\\mspec\\mspec\\bin" and >> including mspec_path at the beginning of mspec_base >> "#{mspec_path}\\mspec.bat ci -fd", effectively hard-coding the path. >> >> >> >> I believe Kevin also had this problem, so if anyone else is having the >> problem, you can try that. After making those changes, everything ran fine >> for me. >> >> >> Ryan Riley >> ryan.riley at panesofglass.org >> http://panesofglass.org/ >> http://wizardsofsmart.net/ >> >> _______________________________________________ >> 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/20090807/3bb80125/attachment.html>
What does happen after the 3rd set of ruby specs? Does irtests.rb exit or does
it hang? Are results printed out from the 3rd set of ruby specs?
You could try all the individual test tasks by themselves to isolate problems.
?rake ?T? will show you all the available test tasks.
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at
rubyforge.org] On Behalf Of Ivan Porto Carrero
Sent: Thursday, August 06, 2009 3:08 PM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] Problems running irtests.bat
for mono I use mspec-ci and that works..
but after it runs the 3rd set of ruby specs it won''t continue to the
rubygems tests.
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
On Thu, Aug 6, 2009 at 11:44 PM, Ryan Riley <ryan.riley at
panesofglass.org<mailto:ryan.riley at panesofglass.org>> wrote:
That''s a good point, and I forgot to add the ".bat" to mspec
in my original email. And of course, that fixes the problem. :) I removed the
full path and just added ".bat" and I can run the tests just fine.
Ryan Riley
ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org>
http://panesofglass.org/
http://wizardsofsmart.net/
On Thu, Aug 6, 2009 at 4:24 PM, Shri Borde <Shri.Borde at
microsoft.com<mailto:Shri.Borde at microsoft.com>> wrote:
To add to that, running ?mspec ci ?fd :lang? worked from the command line. When
irtests.rb tried to call system() with that exact same command line (we verified
that it was the exact same value), system() failed returning false. Doing
system(?where mspec?) from within irtests.rb did show the correct version of
(mspec and) mspec.bat, which implies that the value of PATH of the ?rake?
process was also correct.
Ryan, one thought just occurred to me. What happens if you do ?mspec_base =
"mspec.bat ci -fd"??? ie. add ?.bat?. I wonder if system(?mspec ci
?fd?) is trying to run the ?mspec? Ruby file.
In either case, using the full path sounds like a good idea anyway.
From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at
rubyforge.org> [mailto:ironruby-core-bounces at
rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of
Ryan Riley
Sent: Thursday, August 06, 2009 2:15 PM
To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org>
Subject: [Ironruby-core] Problems running irtests.bat
During our pair programming session today, Shri, Kevin, and I walked through
some issues running RubySpecs from irtests and rake test:spec_a. The issue
appears to have something to do with the path, as we tried numerous usages of
system with various commands. We finally solved it by adding mspec_path =
"#{root}\\..\\External.LCA_RESTRICTED\\Languages\\IronRuby\\mspec\\mspec\\bin"
and including mspec_path at the beginning of mspec_base =
"#{mspec_path}\\mspec.bat ci -fd", effectively hard-coding the path.
I believe Kevin also had this problem, so if anyone else is having the problem,
you can try that. After making those changes, everything ran fine for me.
Ryan Riley
ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org>
http://panesofglass.org/
http://wizardsofsmart.net/
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org<mailto: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/20090806/a692372a/attachment.html>
It just doesn''t fall through reallyso it doesn''t really hang but rather stalls or hibernates or something. I think the process just doesn''t exit after printing everything but it''s also not doing any work anymore. The specs execute completely. Apart from the smoke tests and legacy tests i can run all the tests in 2 blocks. I can run the specs and then I can run the rubygems, rake and yaml tests but I have to choose which bit I want to run --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim Author of IronRuby in Action (http://manning.com/carrero) On Fri, Aug 7, 2009 at 12:21 AM, Shri Borde <Shri.Borde at microsoft.com>wrote:> What does happen after the 3rd set of ruby specs? Does irtests.rb exit or > does it hang? Are results printed out from the 3rd set of ruby specs? > > > > You could try all the individual test tasks by themselves to isolate > problems. ?rake ?T? will show you all the available test tasks. > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ivan Porto Carrero > *Sent:* Thursday, August 06, 2009 3:08 PM > > *To:* ironruby-core at rubyforge.org > *Subject:* Re: [Ironruby-core] Problems running irtests.bat > > > > for mono I use mspec-ci and that works.. > > but after it runs the 3rd set of ruby specs it won''t continue to the > rubygems tests. > --- > Met vriendelijke groeten - Best regards - Salutations > Ivan Porto Carrero > Blog: http://flanders.co.nz > Twitter: http://twitter.com/casualjim > Author of IronRuby in Action (http://manning.com/carrero) > > > On Thu, Aug 6, 2009 at 11:44 PM, Ryan Riley <ryan.riley at panesofglass.org> > wrote: > > That''s a good point, and I forgot to add the ".bat" to mspec in my original > email. And of course, that fixes the problem. :) I removed the full path and > just added ".bat" and I can run the tests just fine. > > > > > Ryan Riley > ryan.riley at panesofglass.org > http://panesofglass.org/ > http://wizardsofsmart.net/ > > On Thu, Aug 6, 2009 at 4:24 PM, Shri Borde <Shri.Borde at microsoft.com> > wrote: > > To add to that, running ?mspec ci ?fd :lang? worked from the command > line. When irtests.rb tried to call system() with that exact same command > line (we verified that it was the exact same value), system() failed > returning false. Doing system(?where mspec?) from within irtests.rb did show > the correct version of (mspec and) mspec.bat, which implies that the value > of PATH of the ?rake? process was also correct. > > > > Ryan, one thought just occurred to me. What happens if you do ?mspec_base > = "mspec.bat ci -fd"??? ie. add ?.bat?. I wonder if system(?mspec ci ?fd?) > is trying to run the ?mspec? Ruby file. > > > > In either case, using the full path sounds like a good idea anyway. > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ryan Riley > *Sent:* Thursday, August 06, 2009 2:15 PM > *To:* ironruby-core at rubyforge.org > *Subject:* [Ironruby-core] Problems running irtests.bat > > > > During our pair programming session today, Shri, Kevin, and I walked > through some issues running RubySpecs from irtests and rake test:spec_a. The > issue appears to have something to do with the path, as we tried numerous > usages of system with various commands. We finally solved it by adding > mspec_path = "#{root}\\..\\ > External.LCA_RESTRICTED\\Languages\\IronRuby\\mspec\\mspec\\bin" and > including mspec_path at the beginning of mspec_base > "#{mspec_path}\\mspec.bat ci -fd", effectively hard-coding the path. > > > > I believe Kevin also had this problem, so if anyone else is having the > problem, you can try that. After making those changes, everything ran fine > for me. > > > Ryan Riley > ryan.riley at panesofglass.org > http://panesofglass.org/ > http://wizardsofsmart.net/ > > > _______________________________________________ > 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/20090807/c7cd75ef/attachment.html>
Everything now passes except the RakeTests. I''ll respond with those results below. The 3rd set prints out, and the test run doesn''t hang. On Thu, Aug 6, 2009 at 5:21 PM, Shri Borde <Shri.Borde at microsoft.com> wrote:> What does happen after the 3rd set of ruby specs? Does irtests.rb exit or > does it hang? Are results printed out from the 3rd set of ruby specs? > > > > You could try all the individual test tasks by themselves to isolate > problems. ?rake ?T? will show you all the available test tasks. > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ivan Porto Carrero > *Sent:* Thursday, August 06, 2009 3:08 PM > > *To:* ironruby-core at rubyforge.org > *Subject:* Re: [Ironruby-core] Problems running irtests.bat > > > > for mono I use mspec-ci and that works.. > > but after it runs the 3rd set of ruby specs it won''t continue to the > rubygems tests. > --- > Met vriendelijke groeten - Best regards - Salutations > Ivan Porto Carrero > Blog: http://flanders.co.nz > Twitter: http://twitter.com/casualjim > Author of IronRuby in Action (http://manning.com/carrero) > > > On Thu, Aug 6, 2009 at 11:44 PM, Ryan Riley <ryan.riley at panesofglass.org> > wrote: > > That''s a good point, and I forgot to add the ".bat" to mspec in my original > email. And of course, that fixes the problem. :) I removed the full path and > just added ".bat" and I can run the tests just fine. > > > > > Ryan Riley > ryan.riley at panesofglass.org > http://panesofglass.org/ > http://wizardsofsmart.net/ > > On Thu, Aug 6, 2009 at 4:24 PM, Shri Borde <Shri.Borde at microsoft.com> > wrote: > > To add to that, running ?mspec ci ?fd :lang? worked from the command > line. When irtests.rb tried to call system() with that exact same command > line (we verified that it was the exact same value), system() failed > returning false. Doing system(?where mspec?) from within irtests.rb did show > the correct version of (mspec and) mspec.bat, which implies that the value > of PATH of the ?rake? process was also correct. > > > > Ryan, one thought just occurred to me. What happens if you do ?mspec_base > = "mspec.bat ci -fd"??? ie. add ?.bat?. I wonder if system(?mspec ci ?fd?) > is trying to run the ?mspec? Ruby file. > > > > In either case, using the full path sounds like a good idea anyway. > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ryan Riley > *Sent:* Thursday, August 06, 2009 2:15 PM > *To:* ironruby-core at rubyforge.org > *Subject:* [Ironruby-core] Problems running irtests.bat > > > > During our pair programming session today, Shri, Kevin, and I walked > through some issues running RubySpecs from irtests and rake test:spec_a. The > issue appears to have something to do with the path, as we tried numerous > usages of system with various commands. We finally solved it by adding > mspec_path = "#{root}\\..\\ > External.LCA_RESTRICTED\\Languages\\IronRuby\\mspec\\mspec\\bin" and > including mspec_path at the beginning of mspec_base > "#{mspec_path}\\mspec.bat ci -fd", effectively hard-coding the path. > > > > I believe Kevin also had this problem, so if anyone else is having the > problem, you can try that. After making those changes, everything ran fine > for me. > > > Ryan Riley > ryan.riley at panesofglass.org > http://panesofglass.org/ > http://wizardsofsmart.net/ > > > _______________________________________________ > 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/20090806/7951f977/attachment.html>
Oops! Not to me; sorry ''bout that. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090806/cc5612bc/attachment.html>
Could you check which processes are lying around? Do you run irtests.rb using
MRI or ir.exe? You should be able to run it with MRI. That way, you can check if
there is a ruby.exe process lying around (which would be irtests.rb), or an
ir.exe process (for the actual test tasks spawned by irtests.rb). If its an
ir.exe process, it would be helpful if you could attach with a debugger, and see
what its blocked on.
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at
rubyforge.org] On Behalf Of Ivan Porto Carrero
Sent: Thursday, August 06, 2009 3:33 PM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] Problems running irtests.bat
It just doesn''t fall through really
so it doesn''t really hang but rather stalls or hibernates or something.
I think the process just doesn''t exit after printing everything but
it''s also not doing any work anymore.
The specs execute completely.
Apart from the smoke tests and legacy tests i can run all the tests in 2 blocks.
I can run the specs and then I can run the rubygems, rake and yaml tests but I
have to choose which bit I want to run
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
On Fri, Aug 7, 2009 at 12:21 AM, Shri Borde <Shri.Borde at
microsoft.com<mailto:Shri.Borde at microsoft.com>> wrote:
What does happen after the 3rd set of ruby specs? Does irtests.rb exit or does
it hang? Are results printed out from the 3rd set of ruby specs?
You could try all the individual test tasks by themselves to isolate problems.
?rake ?T? will show you all the available test tasks.
From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at
rubyforge.org> [mailto:ironruby-core-bounces at
rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of
Ivan Porto Carrero
Sent: Thursday, August 06, 2009 3:08 PM
To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org>
Subject: Re: [Ironruby-core] Problems running irtests.bat
for mono I use mspec-ci and that works..
but after it runs the 3rd set of ruby specs it won''t continue to the
rubygems tests.
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
On Thu, Aug 6, 2009 at 11:44 PM, Ryan Riley <ryan.riley at
panesofglass.org<mailto:ryan.riley at panesofglass.org>> wrote:
That''s a good point, and I forgot to add the ".bat" to mspec
in my original email. And of course, that fixes the problem. :) I removed the
full path and just added ".bat" and I can run the tests just fine.
Ryan Riley
ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org>
http://panesofglass.org/
http://wizardsofsmart.net/
On Thu, Aug 6, 2009 at 4:24 PM, Shri Borde <Shri.Borde at
microsoft.com<mailto:Shri.Borde at microsoft.com>> wrote:
To add to that, running ?mspec ci ?fd :lang? worked from the command line. When
irtests.rb tried to call system() with that exact same command line (we verified
that it was the exact same value), system() failed returning false. Doing
system(?where mspec?) from within irtests.rb did show the correct version of
(mspec and) mspec.bat, which implies that the value of PATH of the ?rake?
process was also correct.
Ryan, one thought just occurred to me. What happens if you do ?mspec_base =
"mspec.bat ci -fd"??? ie. add ?.bat?. I wonder if system(?mspec ci
?fd?) is trying to run the ?mspec? Ruby file.
In either case, using the full path sounds like a good idea anyway.
From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at
rubyforge.org> [mailto:ironruby-core-bounces at
rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of
Ryan Riley
Sent: Thursday, August 06, 2009 2:15 PM
To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org>
Subject: [Ironruby-core] Problems running irtests.bat
During our pair programming session today, Shri, Kevin, and I walked through
some issues running RubySpecs from irtests and rake test:spec_a. The issue
appears to have something to do with the path, as we tried numerous usages of
system with various commands. We finally solved it by adding mspec_path =
"#{root}\\..\\External.LCA_RESTRICTED\\Languages\\IronRuby\\mspec\\mspec\\bin"
and including mspec_path at the beginning of mspec_base =
"#{mspec_path}\\mspec.bat ci -fd", effectively hard-coding the path.
I believe Kevin also had this problem, so if anyone else is having the problem,
you can try that. After making those changes, everything ran fine for me.
Ryan Riley
ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org>
http://panesofglass.org/
http://wizardsofsmart.net/
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org<mailto: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/20090806/87d1fc35/attachment.html>