[tests] If listing included platforms for .NET, don't include anything if .NET isn't enabled. (#18637)
This commit is contained in:
Родитель
2a3dc56463
Коммит
1e7e084fd1
|
@ -918,6 +918,9 @@ namespace Xamarin.Tests {
|
|||
|
||||
public static IEnumerable<ApplePlatform> GetIncludedPlatforms (bool dotnet)
|
||||
{
|
||||
if (dotnet && !include_dotnet)
|
||||
yield break;
|
||||
|
||||
if (include_ios)
|
||||
yield return ApplePlatform.iOS;
|
||||
if (include_tvos)
|
||||
|
|
Загрузка…
Ссылка в новой задаче