Skip to content
Merged
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
Prev Previous commit
Next Next commit
Adjust the test supported platforms
  • Loading branch information
tarekgh committed Oct 15, 2022
commit 299d25503a46eed519e579cfd129888f73c1d4ff
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@ namespace System.Globalization.Tests
public class IcuAppLocalTests
{

[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.Is64BitProcess))]
[PlatformSpecific(TestPlatforms.Windows | TestPlatforms.Linux)]
private static bool SupportIcuPackageDownload => PlatformDetection.Is64BitProcess &&
PlatformDetection.IsNotOSX &&
PlatformDetection.IsNotMobile &&
!PlatformDetection.IsAlpine &&
!PlatformDetection.IsLinuxBionic;

[ConditionalFact(nameof(SupportIcuPackageDownload))]
public void TestIcuAppLocal()
{
Type? interopGlobalization = Type.GetType("Interop+Globalization, System.Private.CoreLib");
Expand Down