Add 4.0 profile
authorMarek Safar <marek.safar@gmail.com>
Wed, 29 Jul 2009 13:57:36 +0000 (13:57 -0000)
committerMarek Safar <marek.safar@gmail.com>
Wed, 29 Jul 2009 13:57:36 +0000 (13:57 -0000)
svn path=/trunk/mcs/; revision=138960

mcs/errors/Makefile
mcs/errors/known-issues-dmcs [new file with mode: 0644]

index 678b03306a0e87f8089a4f2668ca3c3edefb5148..cf789ae5d868a3d5bfa04cb8fa2a16f9396f3d03 100644 (file)
@@ -42,7 +42,7 @@ TEST_SUPPORT_FILES = \
 # mention all targets
 all-local $(STD_TARGETS:=-local):
 
-VALID_PROFILE := $(filter net_1_1 net_2_0 net_2_1, $(PROFILE))
+VALID_PROFILE := $(filter net_1_1 net_2_0 net_2_1 net_4_0, $(PROFILE))
 ifdef VALID_PROFILE
 
 check: run-mcs-tests 
@@ -60,6 +60,10 @@ test-everything:
        $(MAKE) PROFILE=net_1_1 run-test
        $(MAKE) PROFILE=net_2_0 run-test
 
+ifeq (net_4_0, $(PROFILE))
+COMPILER_NAME = dmcs
+TEST_PATTERN = '*cs*.cs'
+endif
 ifeq (net_2_1, $(PROFILE))
 COMPILER_NAME = smcs
 TEST_PATTERN = '*cs*.cs'
diff --git a/mcs/errors/known-issues-dmcs b/mcs/errors/known-issues-dmcs
new file mode 100644 (file)
index 0000000..ee28aff
--- /dev/null
@@ -0,0 +1,29 @@
+# These files are give the wrong warning when compiled.
+# If you add a new test that should generate an error but generates the
+# wrong one, it should be added here.
+
+# If you fix the compiler so that it emits the correct error,
+# the file should be removed.
+
+# This file supports extended syntax
+# csXXXX.cs            : error test case reports wrong error
+# csXXXX.cs IGNORE     : adds test to ignore list (should ONLY be used if the runtime crashes)
+# csXXXX.cs NO ERROR   : error test case doesn't report any error. An exception is considered
+#                        as NO ERROR and CS5001 is automatically ignored.
+
+cs0158-5.cs
+cs0162-7.cs NO ERROR
+cs0619-42.cs
+cs1041.cs # new in GMCS; grammar issue
+
+# Operators
+cs0457-2.cs
+cs0457.cs
+
+cs1540-6.cs
+cs1540-9.cs
+
+# Fixed in cecil branch
+gcs0111-8.cs
+
+cs1644-11.cs IGNORE