File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
tests/BenchmarkDotNet.IntegrationTests Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 22using System . IO ;
33using BenchmarkDotNet . Attributes ;
44using BenchmarkDotNet . Configs ;
5+ using BenchmarkDotNet . Detectors ;
56using BenchmarkDotNet . Environments ;
67using BenchmarkDotNet . Jobs ;
78using BenchmarkDotNet . Portability ;
@@ -26,6 +27,12 @@ public class WasmTests(ITestOutputHelper output) : BenchmarkTestExecutor(output)
2627 [ FactEnvSpecific ( "WASM is only supported on Unix" , EnvRequirement . NonWindows ) ]
2728 public void WasmIsSupported ( )
2829 {
30+ // Test fails on Linux non-x64.
31+ if ( OsDetector . IsLinux ( ) && RuntimeInformation . GetCurrentPlatform ( ) != Platform . X64 )
32+ {
33+ return ;
34+ }
35+
2936 var dotnetVersion = "net8.0" ;
3037 var logger = new OutputLogger ( Output ) ;
3138 var netCoreAppSettings = new NetCoreAppSettings ( dotnetVersion , null , "Wasm" ) ;
You can’t perform that action at this time.
0 commit comments