Skip to content

Commit 8aad2ab

Browse files
authored
[mono] Disable failing tests on Mono AOT linux-x64 (#120669)
* Disable failing tests * Disable failing tests * Add ActiveIssue attribute to TestConvertToInt64NativeSingle for tracking * Disable failing tests * Disable failing tests * Update DisableProjectBuild condition * Add TestRuntimes.Mono to ActiveIssue attributes * Add TestRuntimes.Mono to ActiveIssue attributes
1 parent e66906a commit 8aad2ab

File tree

5 files changed

+11
-1
lines changed

5 files changed

+11
-1
lines changed

src/tests/JIT/Regression/JitBlue/Runtime_101731/Runtime_101731.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public static void TestConvertToInt64NativeDouble(double value)
3535

3636
[Theory]
3737
[InlineData(float.MaxValue)]
38+
[ActiveIssue("https://github.com/dotnet/runtime/issues/112557", TestRuntimes.Mono)]
3839
public static void TestConvertToInt64NativeSingle(float value)
3940
{
4041
Func<float, long> func = float.ConvertToIntegerNative<long>;
@@ -44,6 +45,7 @@ public static void TestConvertToInt64NativeSingle(float value)
4445

4546
[Theory]
4647
[InlineData(double.MaxValue)]
48+
[ActiveIssue("https://github.com/dotnet/runtime/issues/112557", TestRuntimes.Mono)]
4749
public static void TestConvertToUInt32NativeDouble(double value)
4850
{
4951
Func<double, uint> func = double.ConvertToIntegerNative<uint>;
@@ -53,6 +55,7 @@ public static void TestConvertToUInt32NativeDouble(double value)
5355

5456
[Theory]
5557
[InlineData(float.MaxValue)]
58+
[ActiveIssue("https://github.com/dotnet/runtime/issues/112557", TestRuntimes.Mono)]
5659
public static void TestConvertToUInt32NativeSingle(float value)
5760
{
5861
Func<float, uint> func = float.ConvertToIntegerNative<uint>;
@@ -62,6 +65,7 @@ public static void TestConvertToUInt32NativeSingle(float value)
6265

6366
[Theory]
6467
[InlineData(double.MaxValue)]
68+
[ActiveIssue("https://github.com/dotnet/runtime/issues/112557", TestRuntimes.Mono)]
6569
public static void TestConvertToUInt64NativeDouble(double value)
6670
{
6771
Func<double, ulong> func = double.ConvertToIntegerNative<ulong>;
@@ -71,6 +75,7 @@ public static void TestConvertToUInt64NativeDouble(double value)
7175

7276
[Theory]
7377
[InlineData(float.MaxValue)]
78+
[ActiveIssue("https://github.com/dotnet/runtime/issues/112557", TestRuntimes.Mono)]
7479
public static void TestConvertToUInt64NativeSingle(float value)
7580
{
7681
Func<float, ulong> func = float.ConvertToIntegerNative<ulong>;

src/tests/Loader/classloader/ExtendedLayout/ExtendedLayout.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<!-- Tracking issue: https://github.com/dotnet/runtime/issues/119948 -->
66
<MonoAotIncompatible>true</MonoAotIncompatible>
7-
<DisableProjectBuild Condition="'$(RuntimeFlavor)' == 'mono'">true</DisableProjectBuild>
7+
<DisableProjectBuild Condition="'$(RuntimeFlavor)' == 'mono' and '$(RuntimeVariant)' == 'minifullaot'">true</DisableProjectBuild>
88
</PropertyGroup>
99
<ItemGroup>
1010
<Compile Include="ExtendedLayout.cs" />

src/tests/Loader/classloader/ExtendedLayout/ExtendedLayoutTypes.ilproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<Project Sdk="Microsoft.NET.Sdk.IL">
22
<PropertyGroup>
33
<OutputType>Library</OutputType>
4+
<!-- Tracking issue: https://github.com/dotnet/runtime/issues/119948 -->
5+
<MonoAotIncompatible>true</MonoAotIncompatible>
6+
<DisableProjectBuild Condition="'$(RuntimeFlavor)' == 'mono' and '$(RuntimeVariant)' == 'minifullaot'">true</DisableProjectBuild>
47
</PropertyGroup>
58
<ItemGroup>
69
<Compile Include="ExtendedLayoutTypes.il" />

src/tests/Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ public ref struct Explicit5b_Invalid64
155155
}
156156

157157
[Fact]
158+
[ActiveIssue("https://github.com/dotnet/runtime/issues/112557", TestRuntimes.Mono)]
158159
public static void Validate_Explicit5_Invalid()
159160
{
160161
if (Environment.Is64BitProcess)

src/tests/Regressions/coreclr/GitHub_76531/test76531.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<!-- This test removes one of its dependencies at runtime, so it is not compatible with AOT -->
66
<MonoAotIncompatible>true</MonoAotIncompatible>
77
<NativeAotIncompatible>true</NativeAotIncompatible>
8+
<DisableProjectBuild Condition="'$(RuntimeFlavor)' == 'mono' and '$(RuntimeVariant)' == 'minifullaot'">true</DisableProjectBuild>
89
</PropertyGroup>
910
<ItemGroup>
1011
<Compile Include="test76531.cs" />

0 commit comments

Comments
 (0)