Skip to content

Commit

Permalink
Disable StackallocBlkTests test on Mono (#84408)
Browse files Browse the repository at this point in the history
* Disable StackallocBlkTests test on Mono

* trigger CI
  • Loading branch information
EgorBo committed Apr 6, 2023
1 parent 238e3d3 commit 688c509
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/JIT/opt/Vectorization/StackallocBlkTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ static void EnsureZeroed(byte* ptr, int size)
}

[MethodImpl(MethodImplOptions.NoInlining)]
static void Consume(byte* ptr) { } // to avoid dead-code elimination
static void Consume(byte* ptr) {} // to avoid dead-code elimination

[MethodImpl(MethodImplOptions.NoInlining)]
static T ToVar<T>(T o) => o; // convert a constant to a variable
Expand Down
3 changes: 3 additions & 0 deletions src/tests/issues.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2197,6 +2197,9 @@
<ExcludeList Include="$(XunitTestBinBase)/Interop/StringMarshalling/VBByRefStr/VBByRefStrTest/*">
<Issue>https://github.com/dotnet/runtime/issues/65698</Issue>
</ExcludeList>
<ExcludeList Include="$(XunitTestBinBase)/JIT/opt/Vectorization/StackallocBlkTests/*">
<Issue>https://github.com/dotnet/runtime/issues/84398</Issue>
</ExcludeList>
<ExcludeList Include="$(XunitTestBinBase)/JIT/Directed/callconv/PlatformDefaultMemberFunction/PlatformDefaultMemberFunctionTest/*">
<Issue>https://github.com/dotnet/runtime/issues/50440</Issue>
</ExcludeList>
Expand Down

0 comments on commit 688c509

Please sign in to comment.