Author: martin
Date: 2005-03-12 21:39:29 -0500 (Sat, 12 Mar 2005)
New Revision: 41743
Added:
trunk/mcs/errors/error-1.cs
trunk/mcs/errors/error-2.cs
trunk/mcs/errors/error-5.cs
trunk/mcs/errors/mcs-expect-no-error
trunk/mcs/errors/mcs-expect-wrong-error
trunk/mcs/errors/mcs-ignore-tests
Removed:
trunk/mcs/errors/cs0165-4.cs
trunk/mcs/errors/cs0165-5.cs
trunk/mcs/errors/cs0177-2.cs
trunk/mcs/errors/cs0177-3.cs
trunk/mcs/errors/cs0177-4.cs
trunk/mcs/errors/cs0623.cs
Modified:
trunk/mcs/errors/ChangeLog
trunk/mcs/errors/Makefile
trunk/mcs/errors/know-issues-mcs
Log:
2005-03-13 Martin Baulig <[EMAIL PROTECTED]>
Reverted things back to revision 41701, which was the last one
before Marek's changes.
Modified: trunk/mcs/errors/ChangeLog
===================================================================
--- trunk/mcs/errors/ChangeLog 2005-03-13 01:39:07 UTC (rev 41742)
+++ trunk/mcs/errors/ChangeLog 2005-03-13 02:39:29 UTC (rev 41743)
@@ -1,8 +1,7 @@
-2005-03-11 Marek Safar <[EMAIL PROTECTED]>
+2005-03-13 Martin Baulig <[EMAIL PROTECTED]>
- * Makefile: Use new test-runner for mcs compiler.
-
- * mcs-*-error: Merged into know-issues-mcs
+ Reverted things back to revision 41701, which was the last one
+ before Marek's changes.
2004-03-11 Atsushi Enomoto <[EMAIL PROTECTED]>
Modified: trunk/mcs/errors/Makefile
===================================================================
--- trunk/mcs/errors/Makefile 2005-03-13 01:39:07 UTC (rev 41742)
+++ trunk/mcs/errors/Makefile 2005-03-13 02:39:29 UTC (rev 41743)
@@ -26,15 +26,14 @@
$(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 \
- TestRunner.exe know-issues-*
+ generics-expect-no-error generics-expect-wrong-error
#all-local: run-test-local test-multi-local
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 \
CS3005-16-lib.dll CS3013-module.dll
-test-local: TestRunner.exe
+test-local:
run-test-ondotnet-local:
@@ -54,10 +53,11 @@
$(MAKE) PROFILE=default run-test
$(MAKE) PROFILE=net_2_0 run-test
-run-mcs-tests:
- $(RUNTIME) TestRunner.exe '.' $(topdir)/class/lib/$(PROFILE)/mcs.exe
know-issues-mcs
+run-mcs-tests:
+ -rm -f $(TEST_PROFILE).log
+ @./do-tests.pl $(TEST_PROFILE) '$(CSCOMPILE)' "cs*.cs"
-run-generics-tests:
+run-generics-tests:
-rm -f generics.log
@./do-tests.pl generics '$(GENERICS_COMPILE)' "gcs*.cs"
@@ -97,6 +97,3 @@
%-module.dll: %-module.cs
$(BOOTSTRAP_MCS) /target:module /out:$@ $<
-
-TestRunner.exe:
- $(CSCOMPILE) TestRunner.cs
\ No newline at end of file
Deleted: trunk/mcs/errors/cs0165-4.cs
===================================================================
--- trunk/mcs/errors/cs0165-4.cs 2005-03-13 01:39:07 UTC (rev 41742)
+++ trunk/mcs/errors/cs0165-4.cs 2005-03-13 02:39:29 UTC (rev 41743)
@@ -1,17 +0,0 @@
-// cs0165.cs: Use of unassigned local variable
-// Line: 9
-
-class C {
- public static int test4 ()
- {
- int a;
-
- try {
- a = 3;
- } catch {
- }
-
- // CS0165
- return a;
- }
-}
Deleted: trunk/mcs/errors/cs0165-5.cs
===================================================================
--- trunk/mcs/errors/cs0165-5.cs 2005-03-13 01:39:07 UTC (rev 41742)
+++ trunk/mcs/errors/cs0165-5.cs 2005-03-13 02:39:29 UTC (rev 41743)
@@ -1,23 +0,0 @@
-// cs0165.cs: Use of unassigned local variable
-// Line: 9
-
-using System;
-
-class C {
- public static int test5 ()
- {
- int a;
-
- try {
- Console.WriteLine ("TRY");
- a = 8;
- } catch {
- a = 9;
- } finally {
- // CS0165
- Console.WriteLine (a);
- }
-
- return a;
- }
-}
Deleted: trunk/mcs/errors/cs0177-2.cs
===================================================================
--- trunk/mcs/errors/cs0177-2.cs 2005-03-13 01:39:07 UTC (rev 41742)
+++ trunk/mcs/errors/cs0177-2.cs 2005-03-13 02:39:29 UTC (rev 41743)
@@ -1,14 +0,0 @@
-// cs0177.cs: The out parameter 'display' must be assigned to before control
leaves the current method
-// Line: 5
-
-class ClassMain {
- public static void test2 (int a, out float f)
- {
- // CS0177
- if (a == 5)
- return;
-
- f = 8.53F;
- }
-}
-
Deleted: trunk/mcs/errors/cs0177-3.cs
===================================================================
--- trunk/mcs/errors/cs0177-3.cs 2005-03-13 01:39:07 UTC (rev 41742)
+++ trunk/mcs/errors/cs0177-3.cs 2005-03-13 02:39:29 UTC (rev 41743)
@@ -1,14 +0,0 @@
-// cs0177.cs: The out parameter 'f' must be assigned to before control leaves
the current method
-// Line: 5
-
-class C {
- public static void test3 (out float f)
- {
- try {
- f = 8.53F;
- } catch {
- return;
- }
- }
-}
-
Deleted: trunk/mcs/errors/cs0177-4.cs
===================================================================
--- trunk/mcs/errors/cs0177-4.cs 2005-03-13 01:39:07 UTC (rev 41742)
+++ trunk/mcs/errors/cs0177-4.cs 2005-03-13 02:39:29 UTC (rev 41743)
@@ -1,19 +0,0 @@
-// cs0177.cs: The out parameter 'f' must be assigned to before control leaves
the current method
-// Line: 5
-
-class C {
- public static void test (int a, out float f)
- {
- do {
- // CS0177
- if (a == 8) {
- System.Console.WriteLine ("Hello");
- return;
- }
- } while (false);
-
- f = 1.3F;
- return;
- }
-}
-
Deleted: trunk/mcs/errors/cs0623.cs
===================================================================
--- trunk/mcs/errors/cs0623.cs 2005-03-13 01:39:07 UTC (rev 41742)
+++ trunk/mcs/errors/cs0623.cs 2005-03-13 02:39:29 UTC (rev 41743)
@@ -1,8 +0,0 @@
-// cs0623.cs: Array initializers can only be used in a variable or field
initializer. Try using a new expression instead
-// Line: 7
-
-class C
-{
- public int[] a = { 2, {1} };
-}
-
\ No newline at end of file
Copied: trunk/mcs/errors/error-1.cs (from rev 41702,
trunk/mcs/errors/error-1.cs)
Property changes on: trunk/mcs/errors/error-1.cs
___________________________________________________________________
Name: svn:keywords
+ author date id revision
Copied: trunk/mcs/errors/error-2.cs (from rev 41702,
trunk/mcs/errors/error-2.cs)
Property changes on: trunk/mcs/errors/error-2.cs
___________________________________________________________________
Name: svn:keywords
+ author date id revision
Copied: trunk/mcs/errors/error-5.cs (from rev 41702,
trunk/mcs/errors/error-5.cs)
Property changes on: trunk/mcs/errors/error-5.cs
___________________________________________________________________
Name: svn:keywords
+ author date id revision
Modified: trunk/mcs/errors/know-issues-mcs
===================================================================
--- trunk/mcs/errors/know-issues-mcs 2005-03-13 01:39:07 UTC (rev 41742)
+++ trunk/mcs/errors/know-issues-mcs 2005-03-13 02:39:29 UTC (rev 41743)
@@ -34,6 +34,7 @@
cs0642-6.cs
cs0647-15.cs # corlib bug 73143
cs0657-17.cs
+cs0720.cs
cs1501-5.cs
cs1513.cs
cs1518.cs
Copied: trunk/mcs/errors/mcs-expect-no-error (from rev 41702,
trunk/mcs/errors/mcs-expect-no-error)
Property changes on: trunk/mcs/errors/mcs-expect-no-error
___________________________________________________________________
Name: svn:keywords
+ author date id revision
Name: svn:eol-style
+ native
Copied: trunk/mcs/errors/mcs-expect-wrong-error (from rev 41702,
trunk/mcs/errors/mcs-expect-wrong-error)
Property changes on: trunk/mcs/errors/mcs-expect-wrong-error
___________________________________________________________________
Name: svn:keywords
+ author date id revision
Name: svn:eol-style
+ native
Copied: trunk/mcs/errors/mcs-ignore-tests (from rev 41702,
trunk/mcs/errors/mcs-ignore-tests)
Property changes on: trunk/mcs/errors/mcs-ignore-tests
___________________________________________________________________
Name: svn:keywords
+ author date id revision
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches