Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264566 - nunit-console2 does not run 2.0 runtime in mono-2.2-r4
Summary: nunit-console2 does not run 2.0 runtime in mono-2.2-r4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-01 23:25 UTC by Mike Mazur
Modified: 2009-04-04 23:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Mazur 2009-04-01 23:25:10 UTC
In mono-2.2-r4, the nunit-console2 command eventually calls /usr/lib/mono/1.0/nunit-console.exe to run unit tests. This causes failure when testing assemblies compiled against the 2.0 runtime.

Manually running tests with `mono /usr/lib/mono/2.0/nunit-console.exe Tests.dll` succeeds.

In the src_install() section of the mono-2.2-r4 ebuild is code for creating symlinks to /usr/lib/mono/1.0/nunit-console.exe but none to /usr/lib/mono/2.0/nunit-console.exe.
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-02 00:29:12 UTC
Confirmed.
I wonder what I was thinking when I wrote that bit...
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-02 00:43:54 UTC
(In reply to comment #1)
> Confirmed.
> I wonder what I was thinking when I wrote that bit...
> 

Oh yes, that was part of my attempt to make some kind of advanced nunit eselect thingie. That won't happen, so I'll probably just rip most of that out.
Comment 3 Mike Mazur 2009-04-02 01:07:05 UTC
(In reply to comment #2)
> Oh yes, that was part of my attempt to make some kind of advanced nunit eselect
> thingie. That won't happen, so I'll probably just rip most of that out.

Yeah, I noticed a comment about eselect-nunit in that src_install() section as well, but couldn't turn up that package in portage.
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-04 23:26:11 UTC
+*mono-2.2-r5 (04 Apr 2009)
+
+  04 Apr 2009; Peter Alfredsen <loki_val@gentoo.org> -mono-2.2-r4.ebuild,
+  +mono-2.2-r5.ebuild, mono-2.4.ebuild:
+  Fix bug 264566, nunit-console2 not using the 2.0 runtime. Thanks to Mike
+  Mazur <mmazur@gmail.com> for reporting.
+