From e3bb98fa7e4be05b7d8c7bb59fb0ff014d155948 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Thu, 10 May 2018 10:42:32 +0200 Subject: [PATCH] [xharness] Create better test clones when creating test variations. (#4062) When creating test variations, make sure to set the 'IsUnitTest' field properly, so that xharness produces better test reports. --- tests/xharness/Jenkins.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/xharness/Jenkins.cs b/tests/xharness/Jenkins.cs index 278a27eaf4..0b36b9ffbb 100644 --- a/tests/xharness/Jenkins.cs +++ b/tests/xharness/Jenkins.cs @@ -713,7 +713,7 @@ namespace xharness TestName = project.Name, IsUnitTest = true, }; - execs = CreateTestVariations (new [] { exec }, (buildTask, test) => new MacExecuteTask (buildTask)); + execs = CreateTestVariations (new [] { exec }, (buildTask, test) => new MacExecuteTask (buildTask) { IsUnitTest = true } ); } exec.Variation = configurations.Length > 1 ? config : project.TargetFrameworkFlavor.ToString ();