From 7194fc59448edfbbb590280a41cac262afd2e996 Mon Sep 17 00:00:00 2001 From: Meri Khamoyan Date: Tue, 28 Jun 2022 14:44:01 +0200 Subject: [PATCH] #71252 disable AtanPiTest on Android x86 --- src/libraries/System.Runtime/tests/System/DoubleTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Runtime/tests/System/DoubleTests.cs b/src/libraries/System.Runtime/tests/System/DoubleTests.cs index 2c7a52207981c..20cf05dfd09b6 100644 --- a/src/libraries/System.Runtime/tests/System/DoubleTests.cs +++ b/src/libraries/System.Runtime/tests/System/DoubleTests.cs @@ -1486,7 +1486,7 @@ public static void Atan2PiTest(double y, double x, double expectedResult, double AssertExtensions.Equal(+expectedResult, double.Atan2Pi(+y, +x), allowedVariance); } - [Theory] + [ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.IsNotAndroid), nameof(PlatformDetection.IsNotX86Process))] // disabled on Android x86, see https://github.com/dotnet/runtime/issues/71252 [InlineData( double.NaN, double.NaN, 0.0)] [InlineData( 0.0, 0.0, 0.0)] [InlineData( 1.5574077246549022, 0.31830988618379067, CrossPlatformMachineEpsilon)]