[Mono-dev] [Mono-list] How to run full mono test suites

Liwei Peng Liwei.Peng at microsoft.com
Thu Sep 4 17:02:54 UTC 2014


Hi I read more on the Makefiles and found out the following command can run all the MCS tests:

-        Cd mcs/class

-        make run-test-recursive PROFILE=net_2_0 (or any other supported profiles)

By default, when one test fails, the recursive test will exit . For my case,  I want the tests to continue. So I changed file mcs/build/rules.make,

%-recursive:
               @set . $$MAKEFLAGS; final_exit=:; \
               case $$2 in --unix) shift ;; esac; \
               case $$2 in *=*) dk="exit 1" ;; *k*) dk=: ;; *) dk="exit 1" ;; esac; \
               list='$(PROFILE_SUBDIRS)'; for d in $$list ; do \
                    (cd $$d && $(MAKE) $*)  ; \
               done; \
               $$final_exit
From: Michael Franz [mailto:mvfranz at gmail.com]
Sent: Tuesday, September 2, 2014 6:05 PM
To: Liwei Peng
Cc: Martin Thwaites; mono-list at lists.ximian.com; mono-devel-list
Subject: Re: [Mono-list] [Mono-dev] How to run full mono test suites

On Tue, Sep 2, 2014 at 8:45 PM, Liwei Peng <Liwei.Peng at microsoft.com<mailto:Liwei.Peng at microsoft.com>> wrote:
Thanks Michael. That’s one library. When I checked here https://wrench.mono-project.com/Wrench/ViewLane.aspx?lane_id=14&host_id=10&revision_id=74118, there are many libraries like below. I am wondering whether there is a quick way to run all of them




From: Michael Franz [mailto:mvfranz at gmail.com<mailto:mvfranz at gmail.com>]
Sent: Tuesday, September 2, 2014 5:18 PM
To: Liwei Peng
Cc: Martin Thwaites; mono-list at lists.ximian.com<mailto:mono-list at lists.ximian.com>; mono-devel-list
Subject: 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 <Liwei.Peng at microsoft.com<mailto:Liwei.Peng at microsoft.com>> wrote:
I didn’t see the ‘make test’ rule under the root source directory. Where do you run it?

From: martin at my2cents.co.uk<mailto:martin at my2cents.co.uk> [mailto:martin at my2cents.co.uk<mailto:martin at my2cents.co.uk>] On Behalf Of Martin Thwaites
Sent: Tuesday, September 2, 2014 5:07 PM
To: Liwei Peng
Cc: mono-list at lists.ximian.com<mailto:mono-list at 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" <Liwei.Peng at microsoft.com<mailto:Liwei.Peng at microsoft.com>> 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-list at lists.ximian.com<mailto:Mono-devel-list at lists.ximian.com>
http://lists.ximian.com/mailman/listinfo/mono-devel-list

_______________________________________________
Mono-list maillist  -  Mono-list at lists.ximian.com<mailto:Mono-list at lists.ximian.com>
http://lists.ximian.com/mailman/listinfo/mono-list

I think it is 'make check'

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20140904/e5961aaf/attachment-0001.html>


More information about the Mono-devel-list mailing list