[Ironruby-core] Some feedback on the compile/test process

Jimmy Schementi Jimmy.Schementi at microsoft.com
Wed Apr 15 10:09:55 EDT 2009



> -----Original Message-----
> From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-
> bounces at rubyforge.org] On Behalf Of Thibaut Barrère
> Sent: Wednesday, April 15, 2009 6:16 AM
> To: ironruby-core
> Subject: [Ironruby-core] Some feedback on the compile/test process
>
> Some notes as I go though the contributing process, in hope that will
> be useful to make it smoother:
> - after a clean checkout and launching dev.bat, brbd would not compile
> (today). I believe it reported a missing microsoft.scripting.dll
> issue.

Please remove the ClrAssembly.csproj file from the solution ... then all will build fine. That will be removed shortly.

> - opening the solution in VS2008 shows 14 warnings about referenced
> components that cannot be found (System, mscorlib, System.Net), not
> sure if that's an issue or not

Hmm, weird. The build configuration was definitely Debug, not "Silverlight Debug" or something like that?

> - compiling through VS2008 makes the compile using brbd works
> afterwards.
> - first pass at launching irtests opens a bunch of windows - most of
> them fail with failure to load default.mspec (see [1]) - after
> searching, the message was caused by an old .mspecrc that was sitting
> in my home folder. Removing it solved the issue.

If you run dev.bat first, this problem should go away. Irtest opens a bunch of windows, one for each test runner, simply for parallelism.

> - I noticed a runfirst.cmd, should I actually run it or is it obsolete
> ? It seems to have an error in it (references default.mspec.rb which
> has been renamed to default.mspec since).

Runfirst.cmd should be removed, dev.bat is what you want

> - on a french machine, the MiscTests/NumericLiterals1 fails see [2] -
> sounds like a missing InvariantCulture in a float ToString call. I'll
> look into it unless someone fixes it in between.

Please track this with a bug on codeplex, someone else might have context.

> On irtests execution: the end of irtests launches irtest.bat, run.bat
> and 4 mspec in parallels ("start" calls). Is there a need for that (ie
> one process that monitors the others) or could it be run sequentially
> if it's more comfortable for me ? The load is putting my machine down
> on its knees.

You could make a version of irtest that does them sequentially

> cheers,
>
> -- Thibaut
>
> ===== [1] mspec error =====
>
> IronRuby 0.3 0.3.0.0 on .NET 2.0.0.0
> :0:in `load': no such file to load --
> C:\git\ironruby\Merlin\Main\..\External\Languages\IronRuby\mspec\defaul
> t.mspec
> (LoadError)
>
> ===== [2] NumericLiterals1 failure =====
>
> 1) NumericLiterals1
> c:\git\ironruby\Merlin\Main\Languages\Ruby\IronRuby.Tests\Runtime\MiscT
> ests.cs
> : 411
> Unexpected output:
>
> '1\r\n-1\r\n1\r\n1,1\r\n-1,1\r\n1,1\r\n2.0\r\n2.0\r\n2,156\r\n'.
>
> First difference (8):
> actual = ','
> expected = '.'
>
> Repro: C:\git\ironruby\Merlin\Main\bin\debug\IronRuby.Tests.exe
> NumericLiterals1
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core



More information about the Ironruby-core mailing list