Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorManish Sinha <manish.sinha@xamarin.com>2019-08-22 18:05:59 +0300
committermonojenkins <jo.shields+jenkins@xamarin.com>2019-08-29 15:10:55 +0300
commit95f2a8fa83b6ae26734d6fe88fae9570a25fb4e8 (patch)
tree1ecaf120b1bce4b49ad80327f088800a3c2ad1d3 /main
parent5bb695cad1f7d58f2757936513fba1a6d2e08b7f (diff)
[AutoTest] SetActiveRuntime: Filter out seperators
Diffstat (limited to 'main')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest.Results/NSObjectResult.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest.Results/NSObjectResult.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest.Results/NSObjectResult.cs
index 6c5c13ee79..e4fa46275d 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest.Results/NSObjectResult.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest.Results/NSObjectResult.cs
@@ -369,6 +369,7 @@ namespace MonoDevelop.Components.AutoTest.Results
LoggingService.LogDebug ($"'RuntimeModel' property on '{type}' is '{pObject}' and is of type '{pinfo.PropertyType}'");
var topRunTimeModels = (IEnumerable<IRuntimeModel>)pObject;
var model = AllRuntimes (topRunTimeModels);
+ model = model.Where (x => !x.IsSeparator);
var runtime = model.FirstOrDefault (r => {
var mutableModel = r.GetMutableModel ();