Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2005-01-28 23:52:12 +0300
committerZoltan Varga <vargaz@gmail.com>2005-01-28 23:52:12 +0300
commit02940884f1af2c08adf3f64f02561c8e90267523 (patch)
tree2c173d57840baf6921743830b7059395db0abc31 /runtime
parent7691441806b01403ca8a1db143aa950b001093b6 (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
Diffstat (limited to 'runtime')
-rw-r--r--runtime/Makefile.am6
1 files changed, 5 insertions, 1 deletions
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