Skip to content

Commit e0fcd71

Browse files
committed
Skip new Mono tests on Windows Arm.
1 parent 0e7034c commit e0fcd71

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/BenchmarkDotNet.IntegrationTests/MemoryDiagnoserTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public void MemoryDiagnoserSupportsNativeAOT()
8080
MemoryDiagnoserIsAccurate(NativeAotToolchain.Net80);
8181
}
8282

83-
[FactEnvSpecific("We don't want to test MonoVM twice (for .NET Framework 4.6.2 and .NET 8.0)", EnvRequirement.DotNetCoreOnly)]
83+
[FactEnvSpecific("We don't want to test MonoVM twice (for .NET Framework 4.6.2 and .NET 8.0), and it's not supported on Windows+Arm", [EnvRequirement.DotNetCoreOnly, EnvRequirement.NonWindowsArm])]
8484
public void MemoryDiagnoserSupportsModernMono()
8585
{
8686
MemoryDiagnoserIsAccurate(MonoToolchain.Mono80);

tests/BenchmarkDotNet.IntegrationTests/MonoTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class MonoTests : BenchmarkTestExecutor
1414
{
1515
public MonoTests(ITestOutputHelper output) : base(output) { }
1616

17-
[FactEnvSpecific("UseMonoRuntime option is available in .NET Core only starting from .NET 6", EnvRequirement.DotNetCoreOnly)]
17+
[FactEnvSpecific("UseMonoRuntime option is available in .NET Core only starting from .NET 6, and it's not supported on Windows+Arm", [EnvRequirement.DotNetCoreOnly, EnvRequirement.NonWindowsArm])]
1818
public void Mono80IsSupported()
1919
{
2020
var logger = new OutputLogger(Output);

0 commit comments

Comments
 (0)