Re: [Banshee-List] Banshee and NUnit
- From: Gabriel Burt <gabriel burt gmail com>
- To: banshee-list gnome org
- Subject: Re: [Banshee-List] Banshee and NUnit
- Date: Sat, 3 Oct 2009 17:46:16 -0700
Why don't you just disable unit tests?
Our unit tests are built into the assemblies so they can test
non-public (internal) methods.
Gabriel
On Fri, Oct 2, 2009 at 8:11 PM, Michel Alexandre Salim
<michael silvanus gmail com> wrote:
> Hi,
>
> At Fedora, we turned on unit tests in our Banshee builds a few months
> ago. This, however, is resulting in NUnit being referenced as
> dependency by one of Banshee's assemblies.
>
> $ rpm -e mono-nunit | grep banshee
> mono(nunit.framework) = 2.4.8.0 is needed by (installed)
> banshee-1.5.1-0.3.git20090917.fc12.x86_64
>
> If I force-remove mono-nunit (despite the dependency), and then run
> Banshee, I get the error below. Surely the build process for Hyena.dll
> should not be linking it against NUnit unnecessarily?
>
> Thanks,
>
> --
> Michel
>
> [snip]
> ** (Banshee:24673): WARNING **: Could not load file or assembly
> 'nunit.framework, Version=2.4.8.0, Culture=neutral,
> PublicKeyToken=96d09a1eb7f44a77' or one of its dependencies.
>
> ** (Banshee:24673): WARNING **: Missing method .ctor in assembly
> /usr/lib64/banshee-1/Hyena.dll, type
> NUnit.Framework.TestFixtureAttribute
>
> ** (Banshee:24673): WARNING **: Can't find custom attr constructor
> image: /usr/lib64/banshee-1/Hyena.dll mtoken: 0x0a0004c9
>
> Unhandled Exception: System.TypeInitializationException: An exception
> was thrown by the type initializer for Mono.Data.Sqlite.SqliteFunction
> ---> System.IO.FileNotFoundException: Could not load file or assembly
> 'nunit.framework, Version=2.4.8.0, Culture=neutral,
> PublicKeyToken=96d09a1eb7f44a77' or one of its dependencies.
> File name: 'nunit.framework, Version=2.4.8.0, Culture=neutral,
> PublicKeyToken=96d09a1eb7f44a77'
>
>
> --
> Michel Alexandre Salim
> _______________________________________________
> banshee-list mailing list
> banshee-list gnome org
> http://mail.gnome.org/mailman/listinfo/banshee-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]