Skip to content

Commit e847c8c

Browse files
mdh1418Mitchell Hwang
andauthored
[libraries][Android] Skip OffsetOfTests on Android x86 (#56909)
* [libraries][Android] Skip OffsetOfTests on Android x86 * Fix typo and import * Check for x86 and retain ActiveIssue Co-authored-by: Mitchell Hwang <mitchell.hwang@microsoft.com>
1 parent 13f8065 commit e847c8c

File tree

1 file changed

+3
-0
lines changed
  • src/libraries/System.Runtime.InteropServices/tests/System/Runtime/InteropServices/Marshal

1 file changed

+3
-0
lines changed

src/libraries/System.Runtime.InteropServices/tests/System/Runtime/InteropServices/Marshal/OffsetOfTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using System.Globalization;
66
using System.Reflection;
77
using System.Reflection.Emit;
8+
using Microsoft.DotNet.XUnitExtensions;
89
using Xunit;
910

1011
namespace System.Runtime.InteropServices.Tests
@@ -33,6 +34,7 @@ public void OffsetOf_ClassWithSequentialLayout_ReturnsExpected()
3334
}
3435

3536
[Fact]
37+
[ActiveIssue("https://github.com/dotnet/runtime/issues/49872", typeof(PlatformDetection), nameof(PlatformDetection.IsAndroid), nameof(PlatformDetection.Is32BitProcess))]
3638
public void OffsetOf_ExplicitLayout_ReturnsExpected()
3739
{
3840
Type t = typeof(ExplicitLayoutTest);
@@ -105,6 +107,7 @@ public void OffsetOf_ValidField_ReturnsExpected()
105107
}
106108

107109
[Fact]
110+
[ActiveIssue("https://github.com/dotnet/runtime/issues/49872", typeof(PlatformDetection), nameof(PlatformDetection.IsAndroid), nameof(PlatformDetection.Is32BitProcess))]
108111
public void OffsetOf_Decimal_ReturnsExpected()
109112
{
110113
Type t = typeof(FieldAlignmentTest_Decimal);

0 commit comments

Comments
 (0)