Skip to content

Commit dfcf884

Browse files
EgorBoakoeplinger
authored andcommitted
Disable DynamicCode_Jit test from System.Runtime.Tests on Mono (#228)
It fails on mono with interpreter (IsDynamicCodeCompiled is false).
1 parent 4fc9e04 commit dfcf884

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/libraries/System.Runtime/tests/System/Runtime/CompilerServices/RuntimeFeatureTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using System;
66
using System.Runtime.CompilerServices;
77
using Xunit;
8+
using Microsoft.DotNet.XUnitExtensions.Attributes;
89

910
namespace System.Runtime.CompilerServices.Tests
1011
{
@@ -29,6 +30,7 @@ public static void DynamicCode()
2930
}
3031

3132
[Fact]
33+
[SkipOnMono]
3234
public static void DynamicCode_Jit()
3335
{
3436
Assert.True(RuntimeFeature.IsDynamicCodeSupported);

0 commit comments

Comments
 (0)