[mono/monodevelop] 0d5e1f22: [NUnit] Fix the execution of single tests

"Alan McGovern ([email protected])" <[email protected]> Mon, 11 Nov 2013 21:17:32 +0000
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <000001424906d070-69be84e1-cc7b-440d-8cf0-b8df8f98163d-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/monodevelop
  Compare: https://github.com/mono/monodevelop/compare/f174b586439e...0d5e1f22c49b

   Commit: 0d5e1f22c49bb1a38d83ba17510f6a01fa8eada4
   Author: Alan McGovern <[email protected]> (alanmcgovern)
     Date: 2013-11-11 21:16:25 GMT
      URL: https://github.com/mono/monodevelop/commit/0d5e1f22c49bb1a38d83ba17510f6a01fa8eada4

[NUnit] Fix the execution of single tests

We need to use the TestId as that is the thing which uniquely identifes
both single tests and also test fixtures.

Changed paths:
  M main/external/guiunit
  M main/src/addins/NUnit/Services/NUnitAssemblyTestSuite.cs
  M version-checks

Modified: main/external/guiunit
===================================================================
@@ -1 +1 @@
-Subproject commit 1fe9c1e7f5675a1cbdd9d8cc8c9b93df070501b6
+Subproject commit d7e684423ec8e7a6aaf9ed0bf585b09abb5120fb

Modified: main/src/addins/NUnit/Services/NUnitAssemblyTestSuite.cs
===================================================================
@@ -474,7 +474,7 @@ UnitTestResult RunWithConsoleRunner (ProcessExecutionCommand cmd, UnitTest test,
 
 				bool automaticUpdates = cmd.Command.Contains ("GuiUnit") || (cmd.Command.Contains ("mdtool.exe") && cmd.Arguments.Contains ("run-md-tests"));
 				if (!string.IsNullOrEmpty(pathName))
-					cmd.Arguments += " -run=" + pathName;
+					cmd.Arguments += " -run=" + test.TestId;
 				if (automaticUpdates) {
 					tcpListener = new MonoDevelop.NUnit.External.TcpTestListener (localMonitor, suiteName);
 					cmd.Arguments += " -port=" + tcpListener.Port;

Modified: version-checks
===================================================================
@@ -17,7 +17,7 @@ DEP[0]=md-addins
 DEP_NAME[0]=MDADDINS
 DEP_PATH[0]=${top_srcdir}/../md-addins
 DEP_MODULE[0][email protected]:xamarin/md-addins.git
-DEP_NEEDED_VERSION[0]=f93bf25efa84e91fe134e027a90645666f20346e
+DEP_NEEDED_VERSION[0]=c74f0c3f98f2281692693eb62176b550ba075c5a
 DEP_BRANCH_AND_REMOTE[0]="master origin/master"
 
 # heap-shot


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