Skip to content

Commit

Permalink
[ARM/Tizen] Fix System.Globalization.Tests Failure (dotnet#21039)
Browse files Browse the repository at this point in the history
Fix #21038
  • Loading branch information
wateret authored and danmoseley committed Jun 14, 2017
1 parent 5344628 commit 401118e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Common/tests/System/PlatformDetection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ private static bool GetIsWindowsSubsystemForLinux()
public static bool IsDebian8 => IsDistroAndVersion("debian", "8");
public static bool IsUbuntu1404 => IsDistroAndVersion("ubuntu", "14.04");
public static bool IsCentos7 => IsDistroAndVersion("centos", "7");
public static bool IsTizen => IsDistroAndVersion("tizen");

/// <summary>
/// Get whether the OS platform matches the given Linux distro and optional version.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public static int[] UrINNumberGroupSizes()
|| (PlatformDetection.IsUbuntu && !PlatformDetection.IsUbuntu1404)
|| PlatformDetection.IsFedora
|| (PlatformDetection.IsDebian && !PlatformDetection.IsDebian8)
|| PlatformDetection.IsTizen
)
{
return new int[] { 3 };
Expand Down

0 comments on commit 401118e

Please sign in to comment.