From a35df7118cc5a5b62447b801c74be0d96115be03 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Thu, 19 Sep 2019 11:13:21 +0200 Subject: [PATCH] [xharness] Fix incorrect merge. Add new device tasks to the right list so that they're processed and marked as ignored correctly later. --- tests/xharness/Jenkins.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/xharness/Jenkins.cs b/tests/xharness/Jenkins.cs index 692d2f2278cc..19c84d50222c 100644 --- a/tests/xharness/Jenkins.cs +++ b/tests/xharness/Jenkins.cs @@ -603,7 +603,7 @@ async Task> CreateRunDeviceTasksAsync () TestName = project.Name, }; buildWatch32.CloneTestProject (watchOSProject); - rv.Add (new RunDeviceTask (buildWatch32, Devices.ConnectedWatch) { Ignored = !IncludewatchOS }); + projectTasks.Add (new RunDeviceTask (buildWatch32, Devices.ConnectedWatch) { Ignored = !IncludewatchOS }); } if (!project.SkipwatchOSARM64_32Variation) { @@ -615,7 +615,7 @@ async Task> CreateRunDeviceTasksAsync () TestName = project.Name, }; buildWatch64_32.CloneTestProject (watchOSProject); - rv.Add (new RunDeviceTask (buildWatch64_32, Devices.ConnectedWatch32_64.Where (d => d.IsSupported (project))) { Ignored = !IncludewatchOS }); + projectTasks.Add (new RunDeviceTask (buildWatch64_32, Devices.ConnectedWatch32_64.Where (d => d.IsSupported (project))) { Ignored = !IncludewatchOS }); } } foreach (var task in projectTasks) {