File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed
tests/BenchmarkDotNet.IntegrationTests Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,6 @@ public class WasmTests(ITestOutputHelper output) : BenchmarkTestExecutor(output)
2929 {
3030 private ManualConfig GetConfig ( )
3131 {
32- // Test fails on Linux non-x64.
33- if ( OsDetector . IsLinux ( ) && RuntimeInformation . GetCurrentPlatform ( ) != Platform . X64 )
34- {
35- return ;
36- }
37-
3832 var dotnetVersion = "net8.0" ;
3933 var logger = new OutputLogger ( Output ) ;
4034 var netCoreAppSettings = new NetCoreAppSettings ( dotnetVersion , null , "Wasm" ) ;
@@ -53,12 +47,24 @@ private ManualConfig GetConfig()
5347 [ FactEnvSpecific ( "WASM is only supported on Unix" , EnvRequirement . NonWindows ) ]
5448 public void WasmIsSupported ( )
5549 {
50+ // Test fails on Linux non-x64.
51+ if ( OsDetector . IsLinux ( ) && RuntimeInformation . GetCurrentPlatform ( ) != Platform . X64 )
52+ {
53+ return ;
54+ }
55+
5656 CanExecute < WasmBenchmark > ( GetConfig ( ) ) ;
5757 }
5858
5959 [ FactEnvSpecific ( "WASM is only supported on Unix" , EnvRequirement . NonWindows ) ]
6060 public void WasmSupportsInProcessDiagnosers ( )
6161 {
62+ // Test fails on Linux non-x64.
63+ if ( OsDetector . IsLinux ( ) && RuntimeInformation . GetCurrentPlatform ( ) != Platform . X64 )
64+ {
65+ return ;
66+ }
67+
6268 var diagnoser = new MockInProcessDiagnoser1 ( BenchmarkDotNet . Diagnosers . RunMode . NoOverhead ) ;
6369 var config = GetConfig ( ) . AddDiagnoser ( diagnoser ) ;
6470
You can’t perform that action at this time.
0 commit comments