diff --git a/src/tests/Common/XUnitWrapperGenerator/XUnitWrapperGenerator.cs b/src/tests/Common/XUnitWrapperGenerator/XUnitWrapperGenerator.cs index 42f35185e43a28..6ff36425de25b7 100644 --- a/src/tests/Common/XUnitWrapperGenerator/XUnitWrapperGenerator.cs +++ b/src/tests/Common/XUnitWrapperGenerator/XUnitWrapperGenerator.cs @@ -843,9 +843,9 @@ private static IEnumerable GetTestMethodInfosForMethod(IMethodSymbol continue; } - Xunit.TestPlatforms skippedTestPlatforms = Xunit.TestPlatforms.Any; - Xunit.RuntimeConfiguration skippedConfigurations = Xunit.RuntimeConfiguration.Any; - Xunit.RuntimeTestModes skippedTestModes = Xunit.RuntimeTestModes.Any; + Xunit.TestPlatforms skippedTestPlatforms = 0; + Xunit.RuntimeConfiguration skippedConfigurations = 0; + Xunit.RuntimeTestModes skippedTestModes = 0; for (int i = 1; i < filterAttribute.ConstructorArguments.Length; i++) { @@ -871,9 +871,9 @@ void ReadSkippedInformationFromSkipOnCoreClrAttributeArgument(TypedConstant argu } } - if (skippedTestModes == Xunit.RuntimeTestModes.Any - && skippedConfigurations == Xunit.RuntimeConfiguration.Any - && skippedTestPlatforms == Xunit.TestPlatforms.Any) + if (skippedTestModes == 0 + && skippedConfigurations == 0 + && skippedTestPlatforms == 0) { testInfos = FilterForSkippedRuntime(testInfos, (int)Xunit.TestRuntimes.CoreCLR, options); } diff --git a/src/tests/Interop/COM/ExtensionPoints/ExtensionPoints.cs b/src/tests/Interop/COM/ExtensionPoints/ExtensionPoints.cs index 33f27f520d342a..0aa4edc382b4e1 100644 --- a/src/tests/Interop/COM/ExtensionPoints/ExtensionPoints.cs +++ b/src/tests/Interop/COM/ExtensionPoints/ExtensionPoints.cs @@ -42,6 +42,7 @@ public virtual void PostHeapMinimize() { } [Fact] [Xunit.SkipOnCoreClrAttribute("Depends on marshalled calli", RuntimeTestModes.InterpreterActive)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/126567")] public static unsafe void Validate_Managed_IMallocSpy() { Console.WriteLine($"Running {nameof(Validate_Managed_IMallocSpy)}..."); diff --git a/src/tests/JIT/Methodical/tailcall_v4/hijacking.il b/src/tests/JIT/Methodical/tailcall_v4/hijacking.il index 481f9ea57a49cd..4a5cbf7fb926f5 100644 --- a/src/tests/JIT/Methodical/tailcall_v4/hijacking.il +++ b/src/tests/JIT/Methodical/tailcall_v4/hijacking.il @@ -282,6 +282,10 @@ string('needs triage') int32(0x11E) // AnyJitOptimizationStress } + .custom instance void [Microsoft.DotNet.XUnitExtensions]Xunit.ActiveIssueAttribute::.ctor(string, valuetype [Microsoft.DotNet.XUnitExtensions]Xunit.TestPlatforms) = { + string('System.Threading.Thread.ThrowIfMultithreadingIsNotSupported: PlatformNotSupportedException') + int32(0x400) // TestPlatforms.Browser + } .entrypoint // Code size 300 (0x12c) .maxstack 5