Skip to content

Commit e2874db

Browse files
vargazakoeplinger
authored andcommitted
[jit] Make some JIT regression test files compile in the mobile profile (mono#7059)
Remove tests from Mono.Runtime.Tests which depend on assemblies not in the mobile profile.
1 parent ea1fac3 commit e2874db

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

mcs/class/Mono.Runtime.Tests/Mono.Runtime.Tests_test.dll.sources

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,9 @@ JitTests.cs
99
../../../../mono/mini/arrays.cs
1010
../../../../mono/mini/basic-float.cs
1111
../../../../mono/mini/basic-math.cs
12-
../../../../mono/mini/basic.cs
1312
../../../../mono/mini/exceptions.cs
1413
../../../../mono/mini/devirtualization.cs
1514
../../../../mono/mini/generics.cs
16-
../../../../mono/mini/basic-simd.cs
17-
../../../../mono/mini/basic-vectors.cs
1815
../../../../mono/mini/aot-tests.cs
1916
../../../../mono/mini/gc-test.cs
2017
../../../../mono/mini/gshared.cs

mono/mini/bench.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@
2626

2727
class Tests {
2828

29+
#if !__MOBILE__
2930
static int Main (string[] args) {
3031
return TestDriver.RunTests (typeof (Tests), args);
3132
}
33+
#endif
3234

3335
static public int test_0_many_nested_loops () {
3436
// we do the loop a few times otherwise it's too fast

mono/mini/builtin-types.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,9 @@ public static int Main (String[] args) {
799799
#endif
800800
}
801801

802+
#if !__MOBILE__
803+
804+
// These are already defined in the mobile profile
802805

803806
// !!! WARNING - GENERATED CODE - DO NOT EDIT !!!
804807
//
@@ -2396,3 +2399,5 @@ public static void CopyArray (nfloat [] source, int startIndex, IntPtr destinati
23962399
}
23972400
}
23982401
}
2402+
2403+
#endif // !__MOBILE__

0 commit comments

Comments
 (0)