Re: [Mono-dev] [Mono-list] How to run full mono test suites
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:mvfr...@gmail.com] Sent: Tuesday, September 2, 2014 6:05 PM To: Liwei Peng Cc: Martin Thwaites; mono-l...@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.p...@microsoft.commailto:liwei.p...@microsoft.com wrote: Thanks Michael. That’s one library. When I checked here https://wrench.mono-project.com/Wrench/ViewLane.aspx?lane_id=14host_id=10revision_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:mvfr...@gmail.commailto:mvfr...@gmail.com] Sent: Tuesday, September 2, 2014 5:18 PM To: Liwei Peng Cc: Martin Thwaites; mono-l...@lists.ximian.commailto:mono-l...@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.p...@microsoft.commailto:liwei.p...@microsoft.com wrote: I didn’t see the ‘make test’ rule under the root source directory. Where do you run it? From: mar...@my2cents.co.ukmailto:mar...@my2cents.co.uk [mailto:mar...@my2cents.co.ukmailto:mar...@my2cents.co.uk] On Behalf Of Martin Thwaites Sent: Tuesday, September 2, 2014 5:07 PM To: Liwei Peng Cc: mono-l...@lists.ximian.commailto:mono-l...@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.p...@microsoft.commailto:liwei.p...@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@lists.ximian.commailto:Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-list maillist - mono-l...@lists.ximian.commailto:mono-l...@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list I think it is 'make check' ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [Mono-list] 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.p...@microsoft.com 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-l...@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.p...@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@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-list maillist - mono-l...@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [Mono-list] How to run full mono test suites
Thanks Michael. That’s one library. When I checked here https://wrench.mono-project.com/Wrench/ViewLane.aspx?lane_id=14host_id=10revision_id=74118, there are many libraries like below. I am wondering whether there is a quick way to run all of them [cid:image001.png@01CFC6D5.A55EC960] From: Michael Franz [mailto:mvfr...@gmail.com] Sent: Tuesday, September 2, 2014 5:18 PM To: Liwei Peng Cc: Martin Thwaites; mono-l...@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.p...@microsoft.commailto:liwei.p...@microsoft.com wrote: I didn’t see the ‘make test’ rule under the root source directory. Where do you run it? From: mar...@my2cents.co.ukmailto:mar...@my2cents.co.uk [mailto:mar...@my2cents.co.ukmailto:mar...@my2cents.co.uk] On Behalf Of Martin Thwaites Sent: Tuesday, September 2, 2014 5:07 PM To: Liwei Peng Cc: mono-l...@lists.ximian.commailto:mono-l...@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.p...@microsoft.commailto:liwei.p...@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@lists.ximian.commailto:Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-list maillist - mono-l...@lists.ximian.commailto:mono-l...@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [Mono-list] How to run full mono test suites
On Tue, Sep 2, 2014 at 8:45 PM, Liwei Peng liwei.p...@microsoft.com wrote: Thanks Michael. That’s one library. When I checked here https://wrench.mono-project.com/Wrench/ViewLane.aspx?lane_id=14host_id=10revision_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:mvfr...@gmail.com] *Sent:* Tuesday, September 2, 2014 5:18 PM *To:* Liwei Peng *Cc:* Martin Thwaites; mono-l...@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.p...@microsoft.com 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-l...@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.p...@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@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-list maillist - mono-l...@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list I think it is 'make check' ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list