Skip to content

Commit e210245

Browse files
committed
Skip WasmIsSupported test on Linux Arm.
1 parent c8e386e commit e210245

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/BenchmarkDotNet.IntegrationTests/WasmTests.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using System.Linq;
44
using BenchmarkDotNet.Attributes;
55
using BenchmarkDotNet.Configs;
6+
using BenchmarkDotNet.Detectors;
67
using BenchmarkDotNet.Environments;
78
using BenchmarkDotNet.IntegrationTests.Diagnosers;
89
using BenchmarkDotNet.Jobs;
@@ -28,6 +29,12 @@ public class WasmTests(ITestOutputHelper output) : BenchmarkTestExecutor(output)
2829
{
2930
private ManualConfig GetConfig()
3031
{
32+
// Test fails on Linux non-x64.
33+
if (OsDetector.IsLinux() && RuntimeInformation.GetCurrentPlatform() != Platform.X64)
34+
{
35+
return;
36+
}
37+
3138
var dotnetVersion = "net8.0";
3239
var logger = new OutputLogger(Output);
3340
var netCoreAppSettings = new NetCoreAppSettings(dotnetVersion, null, "Wasm");

0 commit comments

Comments
 (0)