Skip to content

Commit df32788

Browse files
committed
Fix bad rebase.
1 parent e210245 commit df32788

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

tests/BenchmarkDotNet.IntegrationTests/WasmTests.cs

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)