diff options
author | Zoltan Varga <vargaz@gmail.com> | 2005-01-28 23:52:12 +0300 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2005-01-28 23:52:12 +0300 |
commit | 02940884f1af2c08adf3f64f02561c8e90267523 (patch) | |
tree | 2c173d57840baf6921743830b7059395db0abc31 | |
parent | 7691441806b01403ca8a1db143aa950b001093b6 (diff) |
2005-01-28 Zoltan Varga <vargaz@freemail.hu>
* runtime/Makefile.am (mcs-compileall): New test to compile all methods
in our assemblies.
svn path=/trunk/mono/; revision=39727
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | runtime/Makefile.am | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 721ebce4401..2d5efdeef90 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-01-28 Zoltan Varga <vargaz@freemail.hu> + + * runtime/Makefile.am (mcs-compileall): New test to compile all methods + in our assemblies. + 2005-01-25 Raja R Harinath <rharinath@novell.com> * runtime/Makefile.am ($(tmpinst)/config): New test support file. 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 |