From 4755b99fc4eb7d05cc91e807328ed29232948e71 Mon Sep 17 00:00:00 2001 From: Steve Pfister Date: Tue, 7 Feb 2023 20:53:22 -0500 Subject: [PATCH] [release/6.0][Android] Disable 32-bit nfloat tests (#81735) Since we're not going to backport the change necessary to use SSE for fp arithmetic, disable the failing tests. Addresses https://github.com/dotnet/runtime/issues/77853 Co-authored-by: Steve Pfister --- .../tests/System/Runtime/InteropServices/NFloatTests.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libraries/System.Runtime.InteropServices/tests/System/Runtime/InteropServices/NFloatTests.cs b/src/libraries/System.Runtime.InteropServices/tests/System/Runtime/InteropServices/NFloatTests.cs index b56ee77c89003..db4e15655abfd 100644 --- a/src/libraries/System.Runtime.InteropServices/tests/System/Runtime/InteropServices/NFloatTests.cs +++ b/src/libraries/System.Runtime.InteropServices/tests/System/Runtime/InteropServices/NFloatTests.cs @@ -271,6 +271,7 @@ public static void op_Increment(float value) [InlineData(0.0f, 3.14f)] [InlineData(4567.0f, -3.14f)] [InlineData(4567.89101f, -3.14569f)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/65557", typeof(PlatformDetection), nameof(PlatformDetection.IsAndroid), nameof(PlatformDetection.Is32BitProcess))] public static void op_Addition(float left, float right) { NFloat result = new NFloat(left) + new NFloat(right); @@ -291,6 +292,7 @@ public static void op_Addition(float left, float right) [InlineData(0.0f, 3.14f)] [InlineData(4567.0f, -3.14f)] [InlineData(4567.89101f, -3.14569f)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/65557", typeof(PlatformDetection), nameof(PlatformDetection.IsAndroid), nameof(PlatformDetection.Is32BitProcess))] public static void op_Subtraction(float left, float right) { NFloat result = new NFloat(left) - new NFloat(right); @@ -311,6 +313,7 @@ public static void op_Subtraction(float left, float right) [InlineData(0.0f, 3.14f)] [InlineData(4567.0f, -3.14f)] [InlineData(4567.89101f, -3.14569f)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/65557", typeof(PlatformDetection), nameof(PlatformDetection.IsAndroid), nameof(PlatformDetection.Is32BitProcess))] public static void op_Multiply(float left, float right) { NFloat result = new NFloat(left) * new NFloat(right); @@ -331,6 +334,7 @@ public static void op_Multiply(float left, float right) [InlineData(0.0f, 3.14f)] [InlineData(4567.0f, -3.14f)] [InlineData(4567.89101f, -3.14569f)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/65557", typeof(PlatformDetection), nameof(PlatformDetection.IsAndroid), nameof(PlatformDetection.Is32BitProcess))] public static void op_Division(float left, float right) { NFloat result = new NFloat(left) / new NFloat(right);