Skip to content

Commit 5e603d5

Browse files
Disable STJ SG unit tests on x86 hardware. (#99078)
1 parent 207f2bb commit 5e603d5

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/libraries/System.Text.Json/tests/System.Text.Json.SourceGeneration.Unit.Tests/JsonSourceGeneratorDiagnosticsTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ namespace System.Text.Json.SourceGeneration.UnitTests
1212
[ActiveIssue("https://github.com/dotnet/runtime/issues/58226", TestPlatforms.Browser)]
1313
[SkipOnCoreClr("https://github.com/dotnet/runtime/issues/71962", ~RuntimeConfiguration.Release)]
1414
[SkipOnMono("https://github.com/dotnet/runtime/issues/92467")]
15+
[ConditionalClass(typeof(PlatformDetection), nameof(PlatformDetection.IsNotX86Process))] // https://github.com/dotnet/runtime/issues/71962
1516
public class JsonSourceGeneratorDiagnosticsTests
1617
{
1718
/// <summary>

src/libraries/System.Text.Json/tests/System.Text.Json.SourceGeneration.Unit.Tests/JsonSourceGeneratorIncrementalTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace System.Text.Json.SourceGeneration.UnitTests
1414
[ActiveIssue("https://github.com/dotnet/runtime/issues/58226", TestPlatforms.Browser)]
1515
[SkipOnCoreClr("https://github.com/dotnet/runtime/issues/71962", ~RuntimeConfiguration.Release)]
1616
[SkipOnMono("https://github.com/dotnet/runtime/issues/92467")]
17+
[ConditionalClass(typeof(PlatformDetection), nameof(PlatformDetection.IsNotX86Process))] // https://github.com/dotnet/runtime/issues/71962
1718
public static class JsonSourceGeneratorIncrementalTests
1819
{
1920
[Theory]

src/libraries/System.Text.Json/tests/System.Text.Json.SourceGeneration.Unit.Tests/JsonSourceGeneratorTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ namespace System.Text.Json.SourceGeneration.UnitTests
1111
[ActiveIssue("https://github.com/dotnet/runtime/issues/58226", TestPlatforms.Browser)]
1212
[SkipOnCoreClr("https://github.com/dotnet/runtime/issues/71962", ~RuntimeConfiguration.Release)]
1313
[SkipOnMono("https://github.com/dotnet/runtime/issues/92467")]
14+
[ConditionalClass(typeof(PlatformDetection), nameof(PlatformDetection.IsNotX86Process))] // https://github.com/dotnet/runtime/issues/71962
1415
public class GeneratorTests
1516
{
1617
[Fact]

0 commit comments

Comments
 (0)