Skip to content

Commit

Permalink
#37093 disable Reciprocal test only for Android x86 (#71541)
Browse files Browse the repository at this point in the history
* #37093 disable Reciprocal test only for Android x86
  • Loading branch information
mkhamoyan authored Jul 7, 2022
1 parent 9768606 commit 8803e61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -659,8 +659,7 @@ private static void VerifyCtorDecimal(decimal value)
VerifyBigIntegerUsingIdentities(bigInteger, 0 == expectedValue);
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/37093", TestPlatforms.Android)]
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotAndroidX86))] // disabled on Android x86, see https://github.com/dotnet/runtime/issues/37093
public static void RunCtorByteArrayTests()
{
ulong tempUInt64;
Expand Down
3 changes: 1 addition & 2 deletions src/libraries/System.Runtime.Numerics/tests/ComplexTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1302,12 +1302,11 @@ private static void VerifyPow_Complex_Complex(double realValue, double imaginary
VerifyRealImaginaryProperties(result, expectedReal, expectedImaginary);
}

[Theory]
[ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.IsNotAndroidX86))] // disabled on Android x86, see https://github.com/dotnet/runtime/issues/37093
[MemberData(nameof(Boundaries_2_TestData))]
[MemberData(nameof(Primitives_2_TestData))]
[MemberData(nameof(SmallRandom_2_TestData))]
[MemberData(nameof(Invalid_2_TestData))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/37093", TestPlatforms.Android)]
public static void Reciprocal(double real, double imaginary)
{
var complex = new Complex(real, imaginary);
Expand Down

0 comments on commit 8803e61

Please sign in to comment.