logo       

RE: NUnit Version Numbering: msg#00035

windows.dotnet.nunit.devel

Subject: RE: NUnit Version Numbering

Hi Kamil,

> I checked the NUnit 2.2.3 binaries from
> http://prdownloads.sourceforge.net/nunit/NUnit-2.2.3.zip?download
> with latest mono svn and they work very well with the same tricks as
> on MS.NET (2.0 compiled tests work when I uncomment the supported
> runtimes part of config).

Cool!

> /framework parameter does not work on mono:
>
> Unhandled Exception: System.ComponentModel.Win32Exception: Cannot find
> the specified file
> in <0x002d1> System.Diagnostics.Process:Start_noshell
> (System.Diagnostics.ProcessStartInfo startInfo,
> System.Diagnostics.Process process)
> in <0x0007c> System.Diagnostics.Process:Start_common
> (System.Diagnostics.ProcessStartInfo startInfo,
> System.Diagnostics.Process process)
> in <0x0002e> System.Diagnostics.Process:Start
> (System.Diagnostics.ProcessStartInfo startInfo)
> in <0x001ca> NUnit.ConsoleRunner.ConsoleUi:Main (System.String[] args)
> in <0x0000d> NUnit.ConsoleRunner.Class1:Main (System.String[] args)
>
> I didn't investigate it, but I suspect you are doing some Windows
> specific trick to execute program under different CLR version.

Yes, I realized this was likely as I was writing my last note. It is indeed
a Windows-specific trick involving the COMPLUS_Version environment variable.
I'll make that option unavailable under mono for now.

It's not such a great feature anyway. Since the exe has to read the switch
in order to launch another copy of itself, it only works if you can run the
exe in the first place!

> BTW. I updated the patch for mono, now it just installs the tweaked
> config files and nunit-console2 script.

Great. Unfortunately, I'm only running Mono on Windows and Monoppix right
now. I'm working on getting a machine set up for building form source, at
which point I'll get to see what you've done. :-)

Charlie

> --
> Kamil Skalski
> http://nazgul.omega.pl




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise