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.
Confirmed. I wonder what I was thinking when I wrote that bit...
(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.
(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.
+*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. +