[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.
This commit is contained in:
Родитель
fc9b799b86
Коммит
e3bb98fa7e
|
@ -713,7 +713,7 @@ namespace xharness
|
||||||
TestName = project.Name,
|
TestName = project.Name,
|
||||||
IsUnitTest = true,
|
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 ();
|
exec.Variation = configurations.Length > 1 ? config : project.TargetFrameworkFlavor.ToString ();
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче