Remove runtime regression tests, nobody is going to fix them anyway
authorMarek Safar <marek.safar@gmail.com>
Fri, 20 Apr 2012 15:09:52 +0000 (16:09 +0100)
committerMarek Safar <marek.safar@gmail.com>
Fri, 20 Apr 2012 15:12:42 +0000 (16:12 +0100)
mcs/tests/gtest-437.cs [deleted file]
mcs/tests/known-issues-net_4_5
mcs/tests/test-106.cs [deleted file]
mcs/tests/test-795.cs

diff --git a/mcs/tests/gtest-437.cs b/mcs/tests/gtest-437.cs
deleted file mode 100644 (file)
index 45e4aba..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-// Compiler options: -unsafe
-
-using System;
-using System.Reflection;
-
-class C
-{
-       public static int Main ()
-       {
-               object[] o = Assembly.GetExecutingAssembly ().GetCustomAttributes (typeof (System.Security.Permissions.SecurityPermissionAttribute), false);
-               if (o.Length != 1)
-                       return 1;
-
-               System.Security.Permissions.SecurityPermissionAttribute a = (System.Security.Permissions.SecurityPermissionAttribute) o[0];
-
-               if (a.Action != System.Security.Permissions.SecurityAction.RequestMinimum)
-                       return 2;
-
-               if (!a.SkipVerification)
-                       return 3;
-
-               Console.WriteLine (a);
-               return 0;
-       }
-}
\ No newline at end of file
index 05ff2071ba225390dab0c3de1a4ccf9d4a9e66c2..51d0b2086fda73f48a672f0c03f5224f8d26104f 100644 (file)
@@ -5,6 +5,3 @@
 # csXXXX.cs IGNORE     : adds test to ignore list
 
 gtest-230.cs
-gtest-437.cs
-
-test-106.cs bug #628662
diff --git a/mcs/tests/test-106.cs b/mcs/tests/test-106.cs
deleted file mode 100644 (file)
index c4d7a77..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-using System;
-using System.Threading;
-using System.Runtime.InteropServices;
-
-class Test
-{
-       delegate int SimpleDelegate (int a);
-
-       static int cb_state = 0;
-
-       static int F (int a)
-       {
-               Console.WriteLine ("Test.F from delegate: " + a);
-               throw new NotImplementedException ("F");
-       }
-
-       static void async_callback (IAsyncResult ar)
-       {
-               Console.WriteLine ("Async Callback " + ar.AsyncState);
-               cb_state = 1;
-       }
-
-       static int Main ()
-       {
-               SimpleDelegate d = new SimpleDelegate (F);
-               AsyncCallback ac = new AsyncCallback (async_callback);
-               string state1 = "STATE1";
-               int res = 0;
-
-               // Call delegate via ThreadPool and check that the exception is rethrown correctly
-               IAsyncResult ar1 = d.BeginInvoke (1, ac, state1);
-
-               while (cb_state == 0)
-                       Thread.Sleep (0);
-
-               try {
-                       res = d.EndInvoke (ar1);
-                       Console.WriteLine ("NO EXCEPTION");
-                       return 1;
-               } catch (NotImplementedException) {
-                       Console.WriteLine ("received exception ... OK");
-               }
-
-               return 0;
-       }
-}
index ba533cee22545449439f8e255171239147b1b588..9654d6dc6e6c1c77a907f80a41048a01cd2c1ab5 100644 (file)
@@ -1,3 +1,5 @@
+// Compiler options: -warnaserror
+
 using System;
 using System.Reflection;