# 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
$(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'
--- /dev/null
+# 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