From 02940884f1af2c08adf3f64f02561c8e90267523 Mon Sep 17 00:00:00 2001 From: Zoltan Varga Date: Fri, 28 Jan 2005 20:52:12 +0000 Subject: 2005-01-28 Zoltan Varga * runtime/Makefile.am (mcs-compileall): New test to compile all methods in our assemblies. svn path=/trunk/mono/; revision=39727 --- runtime/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'runtime') diff --git a/runtime/Makefile.am b/runtime/Makefile.am index 2b8b798fa1b..e804b011da4 100644 --- a/runtime/Makefile.am +++ b/runtime/Makefile.am @@ -89,7 +89,11 @@ mcs-do-run-test-profiles: ( cd $(mcs_topdir) && $(MAKE) RUNTIME=$$d/$(tmpinst)/bin/mono PROFILES='$(build_profiles)' run-test-profiles ) || ret=false ; \ rm -fr $(tmpinst) ; $$ret -check-local: mcs-do-test-profiles +# Use --compile-all as a poor man's PEVerify to detect invalid IL +mcs-compileall: + d=`pwd`; for profile in $(build_profiles); do for i in $(mcs_topdir)/class/lib/$$profile/*.dll $(mcs_topdir)/class/lib/$$profile/*.exe; do echo $$i; $$d/mono-wrapper --compile-all $$i || exit 1; done; done + +check-local: mcs-compileall mcs-do-test-profiles $(MAKE) $(test_select) mcs-do-run-test-profiles $(tmpinst)/config: ../data/config -- cgit v1.2.3