[Mono-list] Microsoft.Build.Engine Tests Failing
Atsushi Eno
atsushi at ximian.com
Thu Nov 27 20:15:05 EST 2008
Hello,
It does not seem to be specific to MS.Build.Engine.
What if you use good old nunit20 instead of the latest nunit24?
We still have that directory under mcs and it is easy to go back:
cd mcs/nunit24
make clean
make PROFILE=net_1_1 clean
cd ../nunit20
make PROFILE=net_1_1
make
cd ../class/corlib
make PROFILE=net_1_1 clean
make PROFILE=net_1_1 run-test
Atsushi Eno
Michael Franz wrote:
> Hi,
>
> Update to from svn (I also did clean checkouts) for
> mono/mcs/libgdiplus. The build works fine, however when I try to run
> the tests in
> mcs/class/Microsoft.Build.Engine
> using
> make run-test-local && make run-test-local PROFILE=net_2_0
>
> I get the following error:
> Runtime Environment -
> OS Version: OSX 9.5.0.0 <http://9.5.0.0>
> CLR Version: 2.0.50727.1433 ( Mono 2.3 )
>
> Unhandled Exception:
> System.ArgumentOutOfRangeException: Index is less than 0 or more than or
> equal to the list count.
> Parameter name: index
> 0
> at System.Collections.ArrayList.ThrowNewArgumentOutOfRangeException
> (System.String name, System.Object actual, System.String message)
> [0x00000] in
> /Users/mfranz/developer/mono-no-macports/mcs/class/corlib/System.Collections/ArrayList.cs:3258
>
> at System.Collections.ArrayList.get_Item (Int32 index) [0x00013] in
> /Users/mfranz/developer/mono-no-macports/mcs/class/corlib/System.Collections/ArrayList.cs:2649
>
> at System.Diagnostics.ProcessModuleCollection.get_Item (Int32 index)
> [0x00000] in
> /Users/mfranz/developer/mono-no-macports/mcs/class/System/System.Diagnostics/ProcessModuleCollection.cs:63
>
> at System.Diagnostics.Process.get_MainModule () [0x00000] in
> /Users/mfranz/developer/mono-no-macports/mcs/class/System/System.Diagnostics/Process.cs:232
>
> at (wrapper remoting-invoke-with-check)
> System.Diagnostics.Process:get_MainModule ()
> at NUnit.Util.DomainManager.CreateDomain (NUnit.Core.TestPackage
> package) [0x0019f] in
> /Users/mfranz/developer/mono-no-macports/mcs/nunit24/ClientUtilities/util/Services/DomainManager.cs:105
>
> at NUnit.Util.TestDomain.Load (NUnit.Core.TestPackage package)
> [0x00011] in
> /Users/mfranz/developer/mono-no-macports/mcs/nunit24/ClientUtilities/util/TestDomain.cs:52
>
> make: *** [run-test-lib] Error 1
>
> Since this is starting with NUnit, I assume this has todo with the
> upgrade of the NUnit version.
>
> Michael
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
More information about the Mono-list
mailing list