Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[xcode14.3] [tests] If listing included platforms for .NET, don't include anything if .NET isn't enabled. #18638

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tests/common/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,9 @@ public static void AssertiOS32BitAvailable ()

public static IEnumerable<ApplePlatform> GetIncludedPlatforms (bool dotnet)
{
if (dotnet && !include_dotnet)
yield break;

if (include_ios)
yield return ApplePlatform.iOS;
if (include_tvos)
Expand Down