Disable verifier checks on 4.0 profile
authorMarek Safar <marek.safar@gmail.com>
Fri, 1 Jun 2012 08:47:47 +0000 (09:47 +0100)
committerMarek Safar <marek.safar@gmail.com>
Fri, 1 Jun 2012 08:47:47 +0000 (09:47 +0100)
runtime/Makefile.am

index eaa758d8a057f0dec1c03407e714916ace6ba8d4..eb3f47413376c007592de47a798f4191c5f16f66 100644 (file)
@@ -139,12 +139,12 @@ endif
 
 # Compile all assemblies with the verifier turned on. Code must be valid but not verifiable.
 # TODO it would be nice to split assemblies without unsafe code to use the verifier with verifiable mode.
-# Skip net 2.1 assemblies for now because of visibility problems
+# Skip net 4.0 assemblies because the contain metadata only
 mcs-compileall: mono-wrapper etc/mono/config
        save_MONO_PATH=$$MONO_PATH; mcs_topdir=`cd $(mcs_topdir) && $(cur_dir_cmd)`; ok=:; \
        for profile in $(test_profiles); do \
-         if [ "moonlight" = "$$profile" ]; then \
-          break; \
+         if [ "net_4_0" = "$$profile" ]; then \
+          continue; \
       fi; \
          if [ "net_3_5" = "$$profile" ]; then \
                  MONO_PATH="$$mcs_topdir/class/lib/$$profile$(PLATFORM_PATH_SEPARATOR)$$mcs_topdir/class/lib/net_2_0$(PLATFORM_PATH_SEPARATOR)$$save_MONO_PATH"; \