Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/tests/Common/XUnitWrapperGenerator/XUnitWrapperGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -843,9 +843,9 @@ private static IEnumerable<ITestInfo> 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++)
{
Expand All @@ -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);
}
Expand Down
1 change: 1 addition & 0 deletions src/tests/Interop/COM/ExtensionPoints/ExtensionPoints.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)}...");
Expand Down
4 changes: 4 additions & 0 deletions src/tests/JIT/Methodical/tailcall_v4/hijacking.il
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading