Author: spouliot
Date: 2005-03-11 08:14:14 -0500 (Fri, 11 Mar 2005)
New Revision: 41693
Added:
trunk/mono/mono/tests/cas/ChangeLog
trunk/mono/mono/tests/cas/Makefile
Log:
2005-03-11 Sebastien Pouliot <[EMAIL PROTECTED]>
* Makefile: This makefiles calls all CAS tests (in subdirectories)
that shouldn't fail in SVN. It can be called to see if any regressions
occured that affects the security manager.
Added: trunk/mono/mono/tests/cas/ChangeLog
===================================================================
--- trunk/mono/mono/tests/cas/ChangeLog 2005-03-11 13:10:43 UTC (rev 41692)
+++ trunk/mono/mono/tests/cas/ChangeLog 2005-03-11 13:14:14 UTC (rev 41693)
@@ -0,0 +1,5 @@
+2005-03-11 Sebastien Pouliot <[EMAIL PROTECTED]>
+
+ * Makefile: This makefiles calls all CAS tests (in subdirectories)
+ that shouldn't fail in SVN. It can be called to see if any regressions
+ occured that affects the security manager.
Added: trunk/mono/mono/tests/cas/Makefile
===================================================================
--- trunk/mono/mono/tests/cas/Makefile 2005-03-11 13:10:43 UTC (rev 41692)
+++ trunk/mono/mono/tests/cas/Makefile 2005-03-11 13:14:14 UTC (rev 41693)
@@ -0,0 +1,27 @@
+RUNTIME = mono --debug --security
+CSCOMPILE = mcs --debug
+PROFILE = net_1_1
+
+SUBDIRS = assembly linkdemand inheritance
+
+test:
+ @failed=0; \
+ passed=0; \
+ for i in $(SUBDIRS); do \
+ cd $$i; \
+ $(MAKE) test; \
+ if [ "$$?" != "0" ]; then \
+ failed=`expr $${failed} + 1`; \
+ failed_tests="$${failed_tests} $$i"; \
+ fi; \
+ cd ..; \
+ done; \
+ if [ "$${failed}" == "0" ]; then \
+ echo -e "Perfect score :-)"; \
+ else \
+ echo -e "Failure(s) in category:"; \
+ for i in $${failed_tests}; \
+ do echo -e "\t$${i}"; \
+ done; \
+ exit 1; \
+ fi
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches