2005-03-16 Marek Safar <marek.safar@seznam.cz>
authorMarek Safar <marek.safar@gmail.com>
Wed, 16 Mar 2005 12:16:39 +0000 (12:16 -0000)
committerMarek Safar <marek.safar@gmail.com>
Wed, 16 Mar 2005 12:16:39 +0000 (12:16 -0000)
* Makefile: Enabled TestRunner for default profile.

* know-issues-*: Updated.

svn path=/trunk/mcs/; revision=41890

mcs/errors/ChangeLog
mcs/errors/Makefile
mcs/errors/know-issues-gmcs [new file with mode: 0644]
mcs/errors/know-issues-mcs

index 99ae794ffa4551165dc7ddc85fb5fe50bff9c5ea..34692fe9476b9e3cadf86f9b8217b3646bf44a08 100644 (file)
@@ -1,3 +1,9 @@
+2005-03-16 Marek Safar <marek.safar@seznam.cz>
+
+       * Makefile: Enabled TestRunner for default profile.
+       
+       * know-issues-*: Updated.
+
 2005-03-16 Marek Safar <marek.safar@seznam.cz>
 
        * TestRunner.cs: Add support for (no errors, ignore errors).
index 15a748b7271c547ad50faf38114c2e1f994b1583..a84160a63b3dde0a98c30429a57a7da870f749a1 100644 (file)
@@ -22,7 +22,8 @@ DISTFILES = \
        $(wildcard *.response)  \
        mcs-expect-no-error mcs-expect-wrong-error mcs-ignore-tests \
        gmcs-expect-no-error gmcs-expect-wrong-error gmcs-ignore-tests \
-       generics-expect-no-error generics-expect-wrong-error
+       generics-expect-no-error generics-expect-wrong-error \
+       TestRunner.exe know-issues-*
 
 all-local: CS0118-2-lib.dll CS0122-10-lib.dll CS0534-3-lib.dll CS0534-4-lib.dll CS0571-3-lib.dll \
        CS0612-2-lib.dll CS0618-2-lib.dll CS0619-8-lib.dll CS0619-17-lib.dll CS0619-32-lib.dll CS0619-33-lib.dll CS0619-36-lib.dll \
@@ -37,24 +38,20 @@ run-test-ondotnet-local:
 
 run-test-local: run-mcs-tests 
 
-TEST_PROFILE=mcs
-
-ifeq (net_2_0, $(PROFILE))
-TEST_PROFILE=gmcs
-run-test-local: run-generics-tests
-endif
-
 test-everything:
        $(MAKE) PROFILE=default run-test
        $(MAKE) PROFILE=net_2_0 run-test
-
-run-mcs-tests:
-       -rm -f $(TEST_PROFILE).log
-       @./do-tests.pl $(TEST_PROFILE) '$(CSCOMPILE)' "cs*.cs"
-
-run-generics-tests:
+\r
+run-mcs-tests: TestRunner.exe\r
+ifeq (net_2_0, $(PROFILE))\r
        -rm -f generics.log
        @./do-tests.pl generics '$(GENERICS_COMPILE)' "gcs*.cs"
+\r
+#      Is disabled until we solve problem with running
+#      $(RUNTIME) TestRunner.exe "2" $(topdir)/class/lib/$(PROFILE)/gmcs.exe know-issues-gmcs
+else\r
+       $(RUNTIME) TestRunner.exe "1" $(topdir)/class/lib/$(PROFILE)/mcs.exe know-issues-mcs
+endif
 
 clean-local:
        rm -f *.exe *.dll *.log *.mdb dummy.xml *.junk
@@ -68,3 +65,6 @@ install-local uninstall-local:
 
 %-module.dll: %-module.cs
        $(BOOTSTRAP_MCS) /target:module /out:$@ $<
+
+TestRunner.exe:
+       $(CSCOMPILE) TestRunner.cs
\ No newline at end of file
diff --git a/mcs/errors/know-issues-gmcs b/mcs/errors/know-issues-gmcs
new file mode 100644 (file)
index 0000000..2a38d39
--- /dev/null
@@ -0,0 +1,70 @@
+# 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.
+\r
+# This file supports extended syntax\r
+# csXXXX.cs            : error test case reports wrong error\r
+# csXXXX.cs IGNORE     : adds test to ignore list\r
+# csXXXX.cs NO ERROR   : error test case doesn't report any error. An exception is considered\r
+#                        as NO ERROR and CS5001 is automatically ignored.\r
+
+cs0118.cs
+cs0119.cs\r
+cs0121-3.cs NO ERROR
+cs0122-12.cs
+cs0128.cs\r
+cs0156-2.cs\r
+cs0157-5.cs NO ERROR
+cs0192-2.cs
+cs0201.cs
+cs0208-3.cs\r
+cs0229.cs NO ERROR
+cs0229-2.cs
+cs0266.cs\r
+cs0266-2.cs NO ERROR
+cs0266-3.cs
+cs0428.cs
+cs0525.cs
+cs0526.cs\r
+cs0529.cs
+cs0547.cs
+cs0548-4.cs
+cs0548.cs
+cs0560.cs
+cs0567.cs\r
+cs0642.cs NO ERROR\r
+cs0642-2.cs NO ERROR
+cs0642-3.cs
+cs0642-4.cs
+cs0642-5.cs NO ERROR
+cs0642-6.cs NO ERROR\r
+cs0647.cs NO ERROR # corlib bug #73142
+cs0647-15.cs NO ERROR # corlib bug 73143\r
+cs0652.cs NO ERROR
+cs0657-17.cs NO ERROR
+cs1501-5.cs
+cs1513.cs
+cs1518.cs
+cs1525.cs\r
+cs1527-2.cs NO ERROR\r
+cs1527-3.cs NO ERROR
+cs1528.cs
+cs1535.cs
+cs1552.cs
+cs1586.cs
+cs1615.cs\r
+cs1618-2.cs
+cs1620.cs\r
+cs1625-2.cs NO ERROR\r
+cs1626.cs NO ERROR\r
+cs1626-2.cs NO ERROR
+cs1638.cs NO ERROR
+cs1641.cs
+cs1656.cs
+cs1657.cs
+cs1666.cs NO ERROR
+cs2007.cs
+cs2023.cs NO ERROR\r
index 5126171e12bc408358f03dc4c25b5f0d0aa76d11..2a38d39868caa4d277129f8e5e4ad860f841f4d2 100644 (file)
@@ -1,66 +1,70 @@
-#
 # 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.
-#
+\r
+# This file supports extended syntax\r
+# csXXXX.cs            : error test case reports wrong error\r
+# csXXXX.cs IGNORE     : adds test to ignore list\r
+# csXXXX.cs NO ERROR   : error test case doesn't report any error. An exception is considered\r
+#                        as NO ERROR and CS5001 is automatically ignored.\r
 
 cs0118.cs
-cs0119.cs
+cs0119.cs\r
+cs0121-3.cs NO ERROR
 cs0122-12.cs
-cs0128.cs
-cs0156-2.cs
+cs0128.cs\r
+cs0156-2.cs\r
+cs0157-5.cs NO ERROR
 cs0192-2.cs
 cs0201.cs
-cs0208-3.cs
+cs0208-3.cs\r
+cs0229.cs NO ERROR
 cs0229-2.cs
-cs0266.cs
-cs0407.cs
+cs0266.cs\r
+cs0266-2.cs NO ERROR
+cs0266-3.cs
 cs0428.cs
 cs0525.cs
-cs0526.cs
+cs0526.cs\r
 cs0529.cs
 cs0547.cs
 cs0548-4.cs
 cs0548.cs
 cs0560.cs
-cs0567.cs
-cs0610-4.cs
+cs0567.cs\r
+cs0642.cs NO ERROR\r
+cs0642-2.cs NO ERROR
 cs0642-3.cs
 cs0642-4.cs
-cs0642-5.cs
-cs0642-6.cs
-cs0647-15.cs # corlib bug 73143
-cs0657-17.cs
-cs0720.cs
+cs0642-5.cs NO ERROR
+cs0642-6.cs NO ERROR\r
+cs0647.cs NO ERROR # corlib bug #73142
+cs0647-15.cs NO ERROR # corlib bug 73143\r
+cs0652.cs NO ERROR
+cs0657-17.cs NO ERROR
 cs1501-5.cs
 cs1513.cs
 cs1518.cs
-cs1525.cs
-cs1527-2.cs
+cs1525.cs\r
+cs1527-2.cs NO ERROR\r
+cs1527-3.cs NO ERROR
 cs1528.cs
 cs1535.cs
 cs1552.cs
 cs1586.cs
-cs1615.cs
-cs1620.cs
-cs1622.cs
-cs1626.cs
-cs1638.cs
+cs1615.cs\r
+cs1618-2.cs
+cs1620.cs\r
+cs1625-2.cs NO ERROR\r
+cs1626.cs NO ERROR\r
+cs1626-2.cs NO ERROR
+cs1638.cs NO ERROR
 cs1641.cs
 cs1656.cs
 cs1657.cs
-cs1666.cs
-cs1715.cs
+cs1666.cs NO ERROR
 cs2007.cs
-
-cs0121-3.cs
-cs0229.cs
-cs0266-2.cs
-cs0642-2.cs
-cs0642.cs
-cs0647.cs # corlib bug #73142
-cs0652.cs
-cs2023.cs
+cs2023.cs NO ERROR\r