Re: [Mono-list] [Mono-dev] How to run full mono test suites
I run this to test the C# code. cd mcs/class/corlib make run-test PROFILE=net_4_5 On Tue, Sep 2, 2014 at 8:16 PM, Liwei Peng wrote: > I didn’t see the ‘make test’ rule under the root source directory. Where > do you run it? > > > > *From:* mar...@my2cents.co.uk [mailto:mar...@my2cents.co.uk] *On Behalf > Of *Martin Thwaites > *Sent:* Tuesday, September 2, 2014 5:07 PM > *To:* Liwei Peng > *Cc:* mono-list@lists.ximian.com; mono-devel-list > *Subject:* Re: [Mono-dev] How to run full mono test suites > > > > Does a simple "make test" not run all the tests? Or are you looking for > something else? > > On 2 Sep 2014 22:59, "Liwei Peng" wrote: > > Hi Mono, > > > > I am evaluating mono on a Linux machine (Ubuntu). I’d like to run the full > test suites published on this website: > https://wrench.mono-project.com/Wrench/ > > > > While this link > http://www.mono-project.com/community/contributing/test-suite/ has some > general description on the test framework, my question is: is there > existing script or document that I can use to run the full test suites? So > that I don’t need to spend time to check each class library or runtime > tests individually? > > > > Thanks, > > > > Liwei > > > > > ___ > Mono-devel-list mailing list > mono-devel-l...@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > > > ___ > Mono-list maillist - Mono-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Microsoft.Build.Engine Tests Failing
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 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) [0x0] 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) [0x0] in /Users/mfranz/developer/mono-no-macports/mcs/class/System/System.Diagnostics/ProcessModuleCollection.cs:63 at System.Diagnostics.Process.get_MainModule () [0x0] 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@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] NUnit Version - Upgrade soon?
OK, I thought I read somewhere that there were patches to NUnit that were mono specific. Is it ok to submit patches to mono that depend on the latest version of NUnit? Michael On Tue, Nov 18, 2008 at 3:25 PM, Miguel de Icaza <[EMAIL PROTECTED]> wrote: > Hello, > > > What changes to NUnit were specific to Mono? > > > > Is there a list of these features? > > You are confused; There are no changes, you should just not depend on > Mono's built-in and private copy of NUnit to write your NUnit test > cases. > > You should get the latest NUnit. > > > On Sun, Nov 16, 2008 at 10:54 PM, Miguel de Icaza <[EMAIL PROTECTED]> > > wrote: > > Hello, > > > > > > > I use NUnit for work and have been using the latest version > > for > > > months. I wrote some test for Mono and found out that the > > version > > > that Mono is using does not support some of the asserts I am > > using > > > (IsEmpty). Is there any plan to upgrade the version of > > NUnit that is > > > used with the Mono build/test? > > > > > > The NUnit that ships with Mono should be considered Mono's own > > copy of > > NUnit and not a public version of it. > > > > We should probably make packages of the latest version of > > NUnit, > > encourage the NUnit developer to maintain those and encourage > > developers > > to use the public NUnit as opposed to the private copy that > > Mono ships. > > > > > > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] NUnit Version - Upgrade soon?
What changes to NUnit were specific to Mono? Is there a list of these features? On Sun, Nov 16, 2008 at 10:54 PM, Miguel de Icaza <[EMAIL PROTECTED]> wrote: > Hello, > > > I use NUnit for work and have been using the latest version for > > months. I wrote some test for Mono and found out that the version > > that Mono is using does not support some of the asserts I am using > > (IsEmpty). Is there any plan to upgrade the version of NUnit that is > > used with the Mono build/test? > > The NUnit that ships with Mono should be considered Mono's own copy of > NUnit and not a public version of it. > > We should probably make packages of the latest version of NUnit, > encourage the NUnit developer to maintain those and encourage developers > to use the public NUnit as opposed to the private copy that Mono ships. > > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] NUnit Version - Upgrade soon?
Hi, I use NUnit for work and have been using the latest version for months. I wrote some test for Mono and found out that the version that Mono is using does not support some of the asserts I am using (IsEmpty). Is there any plan to upgrade the version of NUnit that is used with the Mono build/test? Thanks Michael ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] NUnit Tests for ToolLocationHelper
Hi, Here are two tests for ToolLocationHelper. I would have written tests for the entire class but I have not been able to figure out what the results should be. I have also attached the patches to that will allow ToolLocationHelper to pass the tests and adding the class to the build tests. Let me know if I did not create these correctly. Thanks Michael ToolLocationHelperTest.cs Description: Binary data ToolLocationHelper.patch Description: Binary data sources.patch Description: Binary data ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list