* Makefile: Enabled TestRunner for default profile.
* know-issues-*: Updated.
svn path=/trunk/mcs/; revision=41890
+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).
$(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 \
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
%-module.dll: %-module.cs
$(BOOTSTRAP_MCS) /target:module /out:$@ $<
+
+TestRunner.exe:
+ $(CSCOMPILE) TestRunner.cs
\ No newline at end of file
--- /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.
+\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
-#
# 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