Author: marek
Date: 2005-03-16 07:16:39 -0500 (Wed, 16 Mar 2005)
New Revision: 41890
Added:
trunk/mcs/errors/know-issues-gmcs
Modified:
trunk/mcs/errors/ChangeLog
trunk/mcs/errors/Makefile
trunk/mcs/errors/know-issues-mcs
Log:
2005-03-16 Marek Safar <[EMAIL PROTECTED]>
* Makefile: Enabled TestRunner for default profile.
* know-issues-*: Updated.
Modified: trunk/mcs/errors/ChangeLog
===================================================================
--- trunk/mcs/errors/ChangeLog 2005-03-16 11:54:02 UTC (rev 41889)
+++ trunk/mcs/errors/ChangeLog 2005-03-16 12:16:39 UTC (rev 41890)
@@ -1,5 +1,11 @@
2005-03-16 Marek Safar <[EMAIL PROTECTED]>
+ * Makefile: Enabled TestRunner for default profile.
+
+ * know-issues-*: Updated.
+
+2005-03-16 Marek Safar <[EMAIL PROTECTED]>
+
* TestRunner.cs: Add support for (no errors, ignore errors).
2005-03-16 Raja R Harinath <[EMAIL PROTECTED]>
Modified: trunk/mcs/errors/Makefile
===================================================================
--- trunk/mcs/errors/Makefile 2005-03-16 11:54:02 UTC (rev 41889)
+++ trunk/mcs/errors/Makefile 2005-03-16 12:16:39 UTC (rev 41890)
@@ -22,7 +22,8 @@
$(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-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:
+
+run-mcs-tests: TestRunner.exe
+ifeq (net_2_0, $(PROFILE))
-rm -f generics.log
@./do-tests.pl generics '$(GENERICS_COMPILE)' "gcs*.cs"
+
+# Is disabled until we solve problem with running
+# $(RUNTIME) TestRunner.exe "2" $(topdir)/class/lib/$(PROFILE)/gmcs.exe
know-issues-gmcs
+else
+ $(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 @@
%-module.dll: %-module.cs
$(BOOTSTRAP_MCS) /target:module /out:$@ $<
+
+TestRunner.exe:
+ $(CSCOMPILE) TestRunner.cs
\ No newline at end of file
Added: trunk/mcs/errors/know-issues-gmcs
===================================================================
--- trunk/mcs/errors/know-issues-gmcs 2005-03-16 11:54:02 UTC (rev 41889)
+++ trunk/mcs/errors/know-issues-gmcs 2005-03-16 12:16:39 UTC (rev 41890)
@@ -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.
+
+# This file supports extended syntax
+# csXXXX.cs : error test case reports wrong error
+# csXXXX.cs IGNORE : adds test to ignore list
+# csXXXX.cs NO ERROR : error test case doesn't report any error. An
exception is considered
+# as NO ERROR and CS5001 is automatically ignored.
+
+cs0118.cs
+cs0119.cs
+cs0121-3.cs NO ERROR
+cs0122-12.cs
+cs0128.cs
+cs0156-2.cs
+cs0157-5.cs NO ERROR
+cs0192-2.cs
+cs0201.cs
+cs0208-3.cs
+cs0229.cs NO ERROR
+cs0229-2.cs
+cs0266.cs
+cs0266-2.cs NO ERROR
+cs0266-3.cs
+cs0428.cs
+cs0525.cs
+cs0526.cs
+cs0529.cs
+cs0547.cs
+cs0548-4.cs
+cs0548.cs
+cs0560.cs
+cs0567.cs
+cs0642.cs NO ERROR
+cs0642-2.cs NO ERROR
+cs0642-3.cs
+cs0642-4.cs
+cs0642-5.cs NO ERROR
+cs0642-6.cs NO ERROR
+cs0647.cs NO ERROR # corlib bug #73142
+cs0647-15.cs NO ERROR # corlib bug 73143
+cs0652.cs NO ERROR
+cs0657-17.cs NO ERROR
+cs1501-5.cs
+cs1513.cs
+cs1518.cs
+cs1525.cs
+cs1527-2.cs NO ERROR
+cs1527-3.cs NO ERROR
+cs1528.cs
+cs1535.cs
+cs1552.cs
+cs1586.cs
+cs1615.cs
+cs1618-2.cs
+cs1620.cs
+cs1625-2.cs NO ERROR
+cs1626.cs NO ERROR
+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
Modified: trunk/mcs/errors/know-issues-mcs
===================================================================
--- trunk/mcs/errors/know-issues-mcs 2005-03-16 11:54:02 UTC (rev 41889)
+++ trunk/mcs/errors/know-issues-mcs 2005-03-16 12:16:39 UTC (rev 41890)
@@ -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.
-#
+
+# This file supports extended syntax
+# csXXXX.cs : error test case reports wrong error
+# csXXXX.cs IGNORE : adds test to ignore list
+# csXXXX.cs NO ERROR : error test case doesn't report any error. An
exception is considered
+# as NO ERROR and CS5001 is automatically ignored.
cs0118.cs
-cs0119.cs
+cs0119.cs
+cs0121-3.cs NO ERROR
cs0122-12.cs
-cs0128.cs
-cs0156-2.cs
+cs0128.cs
+cs0156-2.cs
+cs0157-5.cs NO ERROR
cs0192-2.cs
cs0201.cs
-cs0208-3.cs
+cs0208-3.cs
+cs0229.cs NO ERROR
cs0229-2.cs
-cs0266.cs
-cs0407.cs
+cs0266.cs
+cs0266-2.cs NO ERROR
+cs0266-3.cs
cs0428.cs
cs0525.cs
-cs0526.cs
+cs0526.cs
cs0529.cs
cs0547.cs
cs0548-4.cs
cs0548.cs
cs0560.cs
-cs0567.cs
-cs0610-4.cs
+cs0567.cs
+cs0642.cs NO ERROR
+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
+cs0647.cs NO ERROR # corlib bug #73142
+cs0647-15.cs NO ERROR # corlib bug 73143
+cs0652.cs NO ERROR
+cs0657-17.cs NO ERROR
cs1501-5.cs
cs1513.cs
cs1518.cs
-cs1525.cs
-cs1527-2.cs
+cs1525.cs
+cs1527-2.cs NO ERROR
+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
+cs1618-2.cs
+cs1620.cs
+cs1625-2.cs NO ERROR
+cs1626.cs NO ERROR
+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
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches