[mono/monodevelop] 6f9d589c: [Projects Tests] Change mdb to pdb compatibility for projects using msbuild.

"Therzok ([email protected])" <[email protected]>
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <00000141feab867e-84717081-e226-476f-9927-7feef69c6288-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/monodevelop
  Compare: https://github.com/mono/monodevelop/compare/869fd73858a0...6f9d589c24d5

   Commit: 6f9d589c24d5f8cb9a5110cd8016b7628e148210
   Author: Therzok <[email protected]> (Therzok)
     Date: 2013-10-28 10:44:46 GMT
      URL: https://github.com/mono/monodevelop/commit/6f9d589c24d5f8cb9a5110cd8016b7628e148210

[Projects Tests] Change mdb to pdb compatibility for projects using msbuild.

Changed paths:
  M main/tests/UnitTests/MonoDevelop.Projects/LocalCopyTests.cs

Modified: main/tests/UnitTests/MonoDevelop.Projects/LocalCopyTests.cs
===================================================================
@@ -50,16 +50,19 @@ public void CheckLocalCopy ()
 			
 			AssertCleanBuild (sol, "Debug");
 			AssertCleanBuild (sol, "Release");
+
+			string dllDebug = Platform.IsWindows ? ".pdb" : ".dll.mdb";
+			string exeDebug = Platform.IsWindows ? ".pdb" : ".exe.mdb";
 			
 			AssertOutputFiles (sol, "VSLocalCopyTest", "Debug", new string[] {
 				"ClassLibrary1.dll",
-				"ClassLibrary1.dll.mdb",
+				"ClassLibrary1" + dllDebug,
 				"ClassLibrary2.dll",
-				"ClassLibrary2.dll.mdb",
+				"ClassLibrary2" + dllDebug,
 				"ClassLibrary4.dll",
-				"ClassLibrary4.dll.mdb",
+				"ClassLibrary4" + dllDebug,
 				"VSLocalCopyTest.exe",
-				"VSLocalCopyTest.exe.mdb",
+				"VSLocalCopyTest" + exeDebug,
 				"TextFile1.txt",
 				"TextFile2.txt",
 				"app.config",
@@ -87,9 +90,9 @@ public void CheckLocalCopy ()
 			
 			AssertOutputFiles (sol, "ClassLibrary1", "Debug", new string[] {
 				"ClassLibrary1.dll",
-				"ClassLibrary1.dll.mdb",
+				"ClassLibrary1" + dllDebug,
 				"ClassLibrary2.dll",
-				"ClassLibrary2.dll.mdb",
+				"ClassLibrary2" + dllDebug,
 				"TextFile1.txt",
 				"TextFile2.txt",
 				"foo/bar.txt",
@@ -105,7 +108,7 @@ public void CheckLocalCopy ()
 			
 			AssertOutputFiles (sol, "ClassLibrary2", "Debug", new string[] {
 				"ClassLibrary2.dll",
-				"ClassLibrary2.dll.mdb",
+				"ClassLibrary2" + dllDebug,
 				"TextFile2.txt"
 			});
 			
@@ -116,7 +119,7 @@ public void CheckLocalCopy ()
 			
 			AssertOutputFiles (sol, "ClassLibrary3", "Debug", new string[] {
 				"ClassLibrary3.dll",
-				"ClassLibrary3.dll.mdb"
+				"ClassLibrary3" + dllDebug
 			});
 			
 			AssertOutputFiles (sol, "ClassLibrary3", "Release", new string[] {
@@ -125,7 +128,7 @@ public void CheckLocalCopy ()
 			
 			AssertOutputFiles (sol, "ClassLibrary4", "Debug", new string[] {
 				"ClassLibrary4.dll",
-				"ClassLibrary4.dll.mdb"
+				"ClassLibrary4" + dllDebug
 			});
 			
 			AssertOutputFiles (sol, "ClassLibrary4", "Release", new string[] {
@@ -134,7 +137,7 @@ public void CheckLocalCopy ()
 			
 			AssertOutputFiles (sol, "ClassLibrary5", "Debug", new string[] {
 				"ClassLibrary5.dll",
-				"ClassLibrary5.dll.mdb",
+				"ClassLibrary5" + dllDebug,
 			});
 			
 			AssertOutputFiles (sol, "ClassLibrary5", "Release", new string[] {


_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.