Author: martin
Date: 2006-11-14 03:40:46 -0500 (Tue, 14 Nov 2006)
New Revision: 67829

Added:
   branches/martin/anonymous-methods2/work/Makefile
   branches/martin/anonymous-methods2/work/known-issues
   branches/martin/anonymous-methods2/work/test-martin-1.cs
   branches/martin/anonymous-methods2/work/test-martin-2.cs
Modified:
   branches/martin/anonymous-methods2/work/
   branches/martin/anonymous-methods2/work/martin-test.sh
Log:
Makefile stuff.


Property changes on: branches/martin/anonymous-methods2/work
___________________________________________________________________
Name: svn:ignore
   + *.exe
*.dll
martin.log


Added: branches/martin/anonymous-methods2/work/Makefile
===================================================================
--- branches/martin/anonymous-methods2/work/Makefile    2006-11-14 08:39:05 UTC 
(rev 67828)
+++ branches/martin/anonymous-methods2/work/Makefile    2006-11-14 08:40:46 UTC 
(rev 67829)
@@ -0,0 +1,17 @@
+PREFIX = /work/asgard
+MONO   = $(PREFIX)/INSTALL/bin/mono
+
+all:   mcs gmcs
+
+mcs:
+       $(MAKE) -C $(PREFIX)/mono/mcs/mcs MCS_FLAGS='/debug /define:MCS_DEBUG'
+
+gmcs:
+       $(MAKE) -C $(PREFIX)/mono/mcs/gmcs PROFILE=net_2_0 DEBUG_FLAGS='/debug 
/define:MCS_DEBUG'
+
+test:
+       $(MONO) --debug 
$(PREFIX)/mono/mcs/class/lib/net_2_0/compiler-tester.exe positive 
'martin-test-*.cs' $(PREFIX)/mono/mcs/gmcs/gmcs.exe known-issues martin.log
+
+test-all:      test
+       $(MAKE) -C $(PREFIX)/mono/mcs/tests test-everything
+

Added: branches/martin/anonymous-methods2/work/known-issues
===================================================================

Modified: branches/martin/anonymous-methods2/work/martin-test.sh
===================================================================
--- branches/martin/anonymous-methods2/work/martin-test.sh      2006-11-14 
08:39:05 UTC (rev 67828)
+++ branches/martin/anonymous-methods2/work/martin-test.sh      2006-11-14 
08:40:46 UTC (rev 67829)
@@ -1,7 +1,7 @@
 #!/bin/bash
 
-MONO=/work/gondor/INSTALL/bin/mono
-PREFIX=/work/gondor/mono
+PREFIX=/work/asgard
+MONO=${PREFIX}/INSTALL/bin/mono
 
-${MONO} --debug ${PREFIX}/mcs/class/lib/net_2_0/compiler-tester.exe positive 
'martin-test-*.cs' ${PREFIX}/mcs/gmcs/gmcs.exe known-issues martin.log
+${MONO} --debug ${PREFIX}/mono/mcs/class/lib/net_2_0/compiler-tester.exe 
positive 'martin-test-*.cs' ${PREFIX}/mcs/gmcs/gmcs.exe known-issues martin.log
 

Added: branches/martin/anonymous-methods2/work/test-martin-1.cs
===================================================================
--- branches/martin/anonymous-methods2/work/test-martin-1.cs    2006-11-14 
08:39:05 UTC (rev 67828)
+++ branches/martin/anonymous-methods2/work/test-martin-1.cs    2006-11-14 
08:40:46 UTC (rev 67829)
@@ -0,0 +1,22 @@
+using System;
+
+public class Test
+{
+       public delegate void TestDelegate ();
+
+       public static void Main ()
+       {
+               TestDelegate d = null;
+               for (int i = 1; i <= 5; i++) {
+                       int k = i;
+                       TestDelegate temp = delegate {
+                               Console.WriteLine (i);
+                               Console.WriteLine (k);
+                               Console.WriteLine ();
+                       };
+                       temp ();
+                       d += temp;
+               }
+               d();
+       }
+}


Property changes on: branches/martin/anonymous-methods2/work/test-martin-1.cs
___________________________________________________________________
Name: svn:executable
   + *

Added: branches/martin/anonymous-methods2/work/test-martin-2.cs
===================================================================
--- branches/martin/anonymous-methods2/work/test-martin-2.cs    2006-11-14 
08:39:05 UTC (rev 67828)
+++ branches/martin/anonymous-methods2/work/test-martin-2.cs    2006-11-14 
08:40:46 UTC (rev 67829)
@@ -0,0 +1,28 @@
+using System;
+
+public class Test<T>
+{
+       public delegate void TestDelegate ();
+
+       public static void Hello<S> (T t, S s)
+       {
+               TestDelegate d = null;
+               for (int i = 1; i <= 5; i++) {
+                       int k = i;
+                       TestDelegate temp = delegate {
+                               Console.WriteLine (k);
+                               Console.WriteLine (i);
+                               Console.WriteLine ();
+                       };
+                       temp ();
+                       d += temp;
+               }
+               d();
+       }
+}
+
+class X
+{
+       static void Main ()
+       { }
+}


Property changes on: branches/martin/anonymous-methods2/work/test-martin-2.cs
___________________________________________________________________
Name: svn:executable
   + *

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to