[Mono-devel-list] Detecting Mono
ndrochak at gol.com
Mon Feb 16 10:27:11 EST 2004
| -----Original Message-----
| From: mono-devel-list-admin at lists.ximian.com
| [mailto:mono-devel-list-admin at lists.ximian.com] On Behalf Of Charlie Poole
| Sent: Monday, February 16, 2004 4:02 AM
| To: mono-devel-list at lists.ximian.com
| Subject: [Mono-devel-list] Detecting Mono
| Hi All,
| I'm working under Windows to develop the next release of NUnit, and I'm
| testing under Mono as well as MS .NET.
| In order to be sure I'm running under mono in a particlular test
It'd be great if we had some attributes like "IgnoreDotNet" and "IgnoreMono"
with which we could decorate a test to avoid running tests on specific
CLR's. My quick hack to the code would be to change
TestCaseBuilder.HasIgnoreAttribute() check for the full Ignore, or see what
runtime we are on and check for the specific attributes accordingly.
More information about the Mono-devel-list