From 1a8cd32ab3c67e92cc14fddead3f7556baa0fc7b 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 dab1d2ac2974..fca2dbc203a5 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) {