[ubuntu-mono] [Bug 38801] Re: nunit broken when using .Net 2.0 library

Arthur Peters amp at singingwizard.org
Fri Apr 21 03:05:10 UTC 2006


Yes and no. I am using the 1.1 nunit libraries, but I built nunit-console with gmcs. I used the above unit tests.

Here is a log:

$ apt-get source nunit
...
$ cd nunit-2.2.0/nunit-console
$ gmcs -r:/usr/lib/nunit/nunit.core.dll -r:/usr/lib/nunit/nunit.util.dll ConsoleUi.cs AssemblyInfo.cs -out:nunit-console-2.0.exe
...
[copy nunit-with-2.0.exe produced from the nunit-with-2.0.cs attached above into this directory]
$ MONO_PATH=/usr/lib/nunit ./nunit-console-2.0.exe nunit-with-2.0.exe 
NUnit version 2.2.0
Copyright (C) 2002-2003 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov, Charlie Poole.
Copyright (C) 2000-2003 Philip Craig.
All Rights Reserved.

OS Version: Unix 2.6.15.20    Mono Version: 2.0.50727.42

.
Tests run: 1, Failures: 0, Not run: 0, Time: 0.150514 seconds

[cut]

I have used this technic with a larger test suite too and it works fine (the tests for a program I am writting in nemerle).

Hope this helps.

-- 
nunit broken when using .Net 2.0 library
https://launchpad.net/bugs/38801




More information about the Ubuntu-mono mailing list