Skip to content

Commit 281d575

Browse files
authored
Disable string comparison and library mode tests on Apple mobile (#116813)
* Disable string comparison tests on Apple mobile * Disable library mode test
1 parent 47a4767 commit 281d575

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/libraries/Common/tests/Tests/System/StringTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2121,6 +2121,7 @@ public static void EndsWithMatchDifferentSpans_StringComparison()
21212121
}
21222122

21232123
[Fact]
2124+
[ActiveIssue("https://github.com/dotnet/runtime/issues/108832", typeof(PlatformDetection), nameof(PlatformDetection.IsAppleMobile))]
21242125
public static void EndsWithNoMatch_StringComparison()
21252126
{
21262127
for (int length = 1; length < 150; length++)
@@ -7308,6 +7309,7 @@ public static void StartsWithMatchDifferentSpans_StringComparison()
73087309
}
73097310

73107311
[Fact]
7312+
[ActiveIssue("https://github.com/dotnet/runtime/issues/112195", typeof(PlatformDetection), nameof(PlatformDetection.IsAppleMobile))]
73117313
public static void StartsWithNoMatch_StringComparison()
73127314
{
73137315
for (int length = 1; length < 150; length++)

src/libraries/tests.proj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,8 @@
347347
<ProjectExclusions Include="$(MSBuildThisFileDirectory)Microsoft.Extensions.Options.ConfigurationExtensions\tests\SourceGenerationTests\Microsoft.Extensions.Options.ConfigurationExtensions.SourceGeneration.Tests.csproj" />
348348
<ProjectExclusions Include="$(MSBuildThisFileDirectory)Microsoft.Extensions.Options/tests/SourceGenerationTests/Microsoft.Extensions.Options.SourceGeneration.Tests.csproj" />
349349
<ProjectExclusions Include="$(MSBuildThisFileDirectory)Microsoft.Extensions.Options/tests/SourceGeneration.Unit.Tests/Microsoft.Extensions.Options.SourceGeneration.Unit.Tests.csproj" />
350+
<!-- Tracking issue: https://github.com/dotnet/runtime/issues/116558 -->
351+
<ProjectExclusions Include="$(RepoRoot)/src/tests/FunctionalTests/iOS/Device/LibraryMode/iOS.Device.LibraryMode.Test.csproj" />
350352
</ItemGroup>
351353

352354
<ItemGroup Condition="'$(TargetOS)' == 'browser' and '$(RunDisabledWasmTests)' != 'true' and '$(RunAOTCompilation)' != 'true'">

0 commit comments

Comments
 (0)