Author: martin
Date: 2007-05-09 12:39:34 -0400 (Wed, 09 May 2007)
New Revision: 77034
Modified:
trunk/debugger/ChangeLog
trunk/debugger/frontend/Makefile.am
trunk/debugger/test/testsuite/NUnit.cs
trunk/debugger/test/testsuite/TestSession.cs
Log:
2007-05-09 Martin Baulig <[EMAIL PROTECTED]>
* test/testsuite/NUnit.cs (TestSuite.Compile): Don't take a
filename argument; use the `FileName' and `ExeFileName' and pass
the output filename to mcs to make things work with
srcdir != builddir.
Modified: trunk/debugger/ChangeLog
===================================================================
--- trunk/debugger/ChangeLog 2007-05-09 16:21:12 UTC (rev 77033)
+++ trunk/debugger/ChangeLog 2007-05-09 16:39:34 UTC (rev 77034)
@@ -8,6 +8,13 @@
2007-05-09 Martin Baulig <[EMAIL PROTECTED]>
+ * test/testsuite/NUnit.cs (TestSuite.Compile): Don't take a
+ filename argument; use the `FileName' and `ExeFileName' and pass
+ the output filename to mcs to make things work with
+ srcdir != builddir.
+
+2007-05-09 Martin Baulig <[EMAIL PROTECTED]>
+
* languages/mono/MonoClassInfo.cs
(MonoClassInfo.GenericClass): New public field.
(MonoClassInfo.GenericContainer): Likewise.
Modified: trunk/debugger/frontend/Makefile.am
===================================================================
--- trunk/debugger/frontend/Makefile.am 2007-05-09 16:21:12 UTC (rev 77033)
+++ trunk/debugger/frontend/Makefile.am 2007-05-09 16:39:34 UTC (rev 77034)
@@ -24,4 +24,5 @@
MyTextReader.cs \
ScriptingContext.cs \
Style.cs \
+ ObjectFormatter.cs \
skeleton
Modified: trunk/debugger/test/testsuite/NUnit.cs
===================================================================
--- trunk/debugger/test/testsuite/NUnit.cs 2007-05-09 16:21:12 UTC (rev
77033)
+++ trunk/debugger/test/testsuite/NUnit.cs 2007-05-09 16:39:34 UTC (rev
77034)
@@ -241,11 +241,12 @@
}
}
- public void Compile (string filename)
+ public void Compile ()
{
SD.ProcessStartInfo start = new SD.ProcessStartInfo (
- BuildInfo.mcs, "-debug " + filename);
+ BuildInfo.mcs, "-debug " + FileName + " -out:"
+ ExeFileName);
start.UseShellExecute = false;
+ start.WorkingDirectory = BuildDirectory;
start.RedirectStandardOutput = true;
start.RedirectStandardError = true;
@@ -254,7 +255,7 @@
if (child.ExitCode != 0)
Assert.Fail ("Compilation of {0} exited with
error: {1}\n{2}",
- filename, child.ExitCode,
child.StandardError.ReadToEnd ());
+ FileName, child.ExitCode,
child.StandardError.ReadToEnd ());
}
[TestFixtureSetUp]
Modified: trunk/debugger/test/testsuite/TestSession.cs
===================================================================
--- trunk/debugger/test/testsuite/TestSession.cs 2007-05-09 16:21:12 UTC
(rev 77033)
+++ trunk/debugger/test/testsuite/TestSession.cs 2007-05-09 16:39:34 UTC
(rev 77034)
@@ -32,7 +32,7 @@
[Category("Session")]
public void Main ()
{
- Compile (FileName);
+ Compile ();
Process process = Start ();
Assert.IsTrue (process.IsManaged);
@@ -56,7 +56,7 @@
[Category("Session")]
public void Load ()
{
- Compile (FileName);
+ Compile ();
Process process;
using (MemoryStream ms = new MemoryStream (session))
@@ -83,7 +83,7 @@
[Category("Session")]
public void LoadAgain ()
{
- Compile (FileName);
+ Compile ();
Process process;
using (MemoryStream ms = new MemoryStream (session))
@@ -110,7 +110,7 @@
[Category("Session")]
public void TestBreakpoint ()
{
- Compile (FileName);
+ Compile ();
AssertExecute ("run");
Process process = AssertMainProcessCreated ();
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches