Skip to content

Commit 34294fa

Browse files
authored
[macOS-arm64] Disable failing libraries tests (#49400)
* Disable tests for XUnit crashes on Apple Silicon * Apple Silicon Disable System.IO.MemoryMappedFiles.Tests * Apple Silicon disable DirectoryServices.Protocols.Tests * Apple Silicon disable Cryptography tests M1 helix missing usable libssl * Apple Silicon disable TestVirtualMemorySize64 * Apple Silicon disable ImportCollectionsFromContainerOnly * Apple Silicon disable XmlWriterApi tests * Fix whitespace
1 parent 21c7397 commit 34294fa

File tree

35 files changed

+64
-3
lines changed

35 files changed

+64
-3
lines changed

src/libraries/Microsoft.Extensions.DependencyInjection/tests/DI.External.Tests/Microsoft.Extensions.DependencyInjection.ExternalContainers.Tests.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
<TargetFrameworks>$(NetCoreAppCurrent);net461</TargetFrameworks>
55
<EnableDefaultItems>true</EnableDefaultItems>
66
<NoWarn>$(NoWarn);CS8002</NoWarn>
7+
<!-- ActiveIssue XUnit crashes on Apple Silicon
8+
https://github.com/dotnet/runtime/issues/49110 -->
9+
<IgnoreForCI Condition="'$(TargetOS)' == 'OSX' and '$(TargetArchitecture)' == 'arm64' ">true</IgnoreForCI>
710
</PropertyGroup>
811

912
<!-- DesignTimeBuild requires all the TargetFramework Derived Properties to not be present in the first property group. -->

src/libraries/System.ComponentModel.Composition/tests/System/ComponentModel/Composition/ExportCollectionTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ public class ExporterDefault42
142142

143143
[Fact]
144144
[ActiveIssue("https://github.com/dotnet/runtime/issues/31792", TestRuntimes.Mono)]
145+
[ActiveIssue("https://github.com/dotnet/runtime/issues/49365", typeof(PlatformDetection), nameof(PlatformDetection.IsMacOsAppleSilicon))]
145146
[Trait("Type", "Integration")]
146147
public void ImportCollectionsFromContainerOnly()
147148
{

src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,7 @@ public void PrivateMemorySize64_GetNotStarted_ThrowsInvalidOperationException()
735735
}
736736

737737
[ConditionalFact(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))]
738+
[ActiveIssue("https://github.com/dotnet/runtime/issues/49107", typeof(PlatformDetection), nameof(PlatformDetection.IsMacOsAppleSilicon))]
738739
public void TestVirtualMemorySize64()
739740
{
740741
CreateDefaultProcess();

src/libraries/System.DirectoryServices.Protocols/tests/AsqRequestControlTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
namespace System.DirectoryServices.Protocols.Tests
99
{
1010
[ConditionalClass(typeof(DirectoryServicesTestHelpers), nameof(DirectoryServicesTestHelpers.IsWindowsOrLibLdapIsInstalled))]
11+
[ActiveIssue("https://github.com/dotnet/runtime/issues/49105", typeof(PlatformDetection), nameof(PlatformDetection.IsMacOsAppleSilicon))]
1112
public class AsqRequestControlTests
1213
{
1314
[Fact]

src/libraries/System.DirectoryServices.Protocols/tests/BerConversionExceptionTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
namespace System.DirectoryServices.Protocols.Tests
1111
{
12+
[ActiveIssue("https://github.com/dotnet/runtime/issues/49105", typeof(PlatformDetection), nameof(PlatformDetection.IsMacOsAppleSilicon))]
1213
public class BerConversionExceptionTests
1314
{
1415
[Fact]

src/libraries/System.DirectoryServices.Protocols/tests/BerConverterTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
namespace System.DirectoryServices.Protocols.Tests
1010
{
1111
[ConditionalClass(typeof(DirectoryServicesTestHelpers), nameof(DirectoryServicesTestHelpers.IsWindowsOrLibLdapIsInstalled))]
12+
[ActiveIssue("https://github.com/dotnet/runtime/issues/49105", typeof(PlatformDetection), nameof(PlatformDetection.IsMacOsAppleSilicon))]
1213
public class BerConverterTests
1314
{
1415
public static IEnumerable<object[]> Encode_TestData()

src/libraries/System.DirectoryServices.Protocols/tests/DirSyncRequestControlTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
namespace System.DirectoryServices.Protocols.Tests
99
{
1010
[ConditionalClass(typeof(DirectoryServicesTestHelpers), nameof(DirectoryServicesTestHelpers.IsWindowsOrLibLdapIsInstalled))]
11+
[ActiveIssue("https://github.com/dotnet/runtime/issues/49105", typeof(PlatformDetection), nameof(PlatformDetection.IsMacOsAppleSilicon))]
1112
public class DirSyncRequestControlTests
1213
{
1314
[Fact]

src/libraries/System.DirectoryServices.Protocols/tests/DirectoryControlTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
namespace System.DirectoryServices.Protocols.Tests
77
{
8+
[ActiveIssue("https://github.com/dotnet/runtime/issues/49105", typeof(PlatformDetection), nameof(PlatformDetection.IsMacOsAppleSilicon))]
89
public class DirectoryControlTests
910
{
1011
[Theory]

src/libraries/System.DirectoryServices.Protocols/tests/DirectoryServicesProtocolsTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
namespace System.DirectoryServices.Protocols.Tests
1212
{
13+
[ActiveIssue("https://github.com/dotnet/runtime/issues/49105", typeof(PlatformDetection), nameof(PlatformDetection.IsMacOsAppleSilicon))]
1314
public partial class DirectoryServicesProtocolsTests
1415
{
1516
internal static bool IsLdapConfigurationExist => LdapConfiguration.Configuration != null;

src/libraries/System.DirectoryServices.Protocols/tests/ExtendedDNControlTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
namespace System.DirectoryServices.Protocols.Tests
99
{
1010
[ConditionalClass(typeof(DirectoryServicesTestHelpers), nameof(DirectoryServicesTestHelpers.IsWindowsOrLibLdapIsInstalled))]
11+
[ActiveIssue("https://github.com/dotnet/runtime/issues/49105", typeof(PlatformDetection), nameof(PlatformDetection.IsMacOsAppleSilicon))]
1112
public class ExtendedDNControlTests
1213
{
1314
[Fact]

0 commit comments

Comments
 (0)