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:
-rw-r--r--ChangeLog5
-rw-r--r--runtime/Makefile.am6
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