Skip to content

Commit

Permalink
Fics build.
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfbjarne committed Mar 3, 2025
1 parent 47d4c41 commit fcf3db6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/common/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -674,15 +674,6 @@ public static bool IsBuildingRemotely {
get => !string.IsNullOrEmpty (Environment.GetEnvironmentVariable ("MAC_AGENT_IP"));
}

public static void IgnoreIfBuildingRemotelyAndPlatformDoesNotSupportRemoteBuilds (ApplePlatform platform)
{
if (!IsBuildingRemotely)
return;
if (platform == ApplePlatform.iOS)
return;
Assert.Ignore ("This platform does not support building remotely");
}

public static string GetTestLibraryDirectory (ApplePlatform platform, bool? simulator = null)
{
string dir;
Expand Down
9 changes: 9 additions & 0 deletions tests/common/ConfigurationNUnit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,5 +152,14 @@ public static void IgnoreIfNotXamarinEnabled ()
Assert.Ignore ($"This test is only applicable if Xamarin-specific bits are enabled.");
}

public static void IgnoreIfBuildingRemotelyAndPlatformDoesNotSupportRemoteBuilds (ApplePlatform platform)
{
if (!IsBuildingRemotely)
return;
if (platform == ApplePlatform.iOS)
return;
Assert.Ignore ("This platform does not support building remotely");
}

}
}

0 comments on commit fcf3db6

Please sign in to comment.