[Mono-devel-list] CAS tests

Sebastien Pouliot sebastien at ximian.com
Fri Jan 28 10:12:23 EST 2005


Hello,

I started adding some new permission tests in SVN. However I've not
(yet) added the filenames to corlib_test.dll.sources (so it shouldn't
change anything today). I still have a few patches to go in before
including the attached patch to /mcs/build/library.make


What the patch does

* exclude the CAS category when executing tests with Mono (this avoids
running a lot of tests that end up being ignored because
SecurityManager.SecurityEnabled is FALSE).

* add -d:WINDOWS when tests are built on Windows. Sadly I need this
(until we support imperative stack modifiers) or the compilation will
fail (either on Linux or Windows) depending on the values used. Please
do not use this in non-CAS tests as it will eventually go away.


What the patch does *NOT*

* exclude CAS category when executing tests on Windows with the MS
runtime (i.e. make run-test-ondotnet);

* add new target to get the tests CAS on Linux (or Windows using Mono).
But this will be added later...


I tested the patch on Linux and Windows without problems - but my
make-fu is limited so please have a look at it.

-- 
Sebastien Pouliot  <sebastien at ximian.com>
blog: http://pages.infinit.net/ctech/poupou.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: library.diff
Type: text/x-patch
Size: 902 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050128/4e3ec958/attachment.bin 


More information about the Mono-devel-list mailing list