You've already forked linux-packaging-mono
Imported Upstream version 5.10.0.47
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
This commit is contained in:
parent
88ff76fe28
commit
e46a49ecf1
16
mcs/class/Mono.Runtime.Tests/Makefile
Normal file
16
mcs/class/Mono.Runtime.Tests/Makefile
Normal file
@@ -0,0 +1,16 @@
|
||||
thisdir = class/Mono.Runtime.Tests
|
||||
SUBDIRS =
|
||||
include ../../build/rules.make
|
||||
|
||||
#
|
||||
# This directory is used to run the JIT regression tests in mini/ using the
|
||||
# standard nunit-lite test runner.
|
||||
#
|
||||
LIBRARY = Mono.Runtime.Tests.dll
|
||||
NO_BUILD = 1
|
||||
NO_INSTALL = 1
|
||||
LIB_REFS = System System.Core System.Numerics System.Numerics.Vectors Mono.Simd
|
||||
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -unsafe -d:__MOBILE__ -nowarn:CS0169,CS0649,CS0414,CS0618,CS0219,CS0168
|
||||
|
||||
include ../../build/library.make
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
JitTests.cs
|
||||
../../../../mono/mini/TestDriver.cs
|
||||
../../../../mono/mini/basic.cs
|
||||
../../../../mono/mini/basic-calls.cs
|
||||
../../../../mono/mini/basic-long.cs
|
||||
../../../../mono/mini/bench.cs
|
||||
../../../../mono/mini/builtin-types.cs
|
||||
../../../../mono/mini/objects.cs
|
||||
../../../../mono/mini/arrays.cs
|
||||
../../../../mono/mini/basic-float.cs
|
||||
../../../../mono/mini/basic-math.cs
|
||||
../../../../mono/mini/basic.cs
|
||||
../../../../mono/mini/exceptions.cs
|
||||
../../../../mono/mini/devirtualization.cs
|
||||
../../../../mono/mini/generics.cs
|
||||
../../../../mono/mini/basic-simd.cs
|
||||
../../../../mono/mini/basic-vectors.cs
|
||||
../../../../mono/mini/aot-tests.cs
|
||||
../../../../mono/mini/gc-test.cs
|
||||
../../../../mono/mini/gshared.cs
|
||||
|
||||
|
||||
|
||||
82
mcs/class/Mono.Runtime.Tests/Test/JitTests.cs
Normal file
82
mcs/class/Mono.Runtime.Tests/Test/JitTests.cs
Normal file
@@ -0,0 +1,82 @@
|
||||
using System;
|
||||
using NUnit.Framework;
|
||||
|
||||
//
|
||||
// This test suite is used to run the JIT regression tests using nunit
|
||||
//
|
||||
|
||||
namespace MonoTests.Runtime {
|
||||
|
||||
[TestFixture]
|
||||
public class JitTests {
|
||||
static string[] args = new string[] { "--exclude", "!FULLAOT", "--verbose" };
|
||||
|
||||
[Test]
|
||||
public void Basic () {
|
||||
Console.WriteLine ("AAA");
|
||||
int res = TestDriver.RunTests (typeof (BasicTests), args);
|
||||
Assert.AreEqual (0, res);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public static void Arrays () {
|
||||
int res = TestDriver.RunTests (typeof (ArrayTests), args);
|
||||
Assert.AreEqual (0, res);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public static void Calls () {
|
||||
int res = TestDriver.RunTests (typeof (CallsTests), args);
|
||||
Assert.AreEqual (0, res);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public static void Float () {
|
||||
int res = TestDriver.RunTests (typeof (FloatTests), args);
|
||||
Assert.AreEqual (0, res);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public static void Long () {
|
||||
int res = TestDriver.RunTests (typeof (LongTests), args);
|
||||
Assert.AreEqual (0, res);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public static void Math () {
|
||||
int res = TestDriver.RunTests (typeof (MathTests), args);
|
||||
Assert.AreEqual (0, res);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public static void Objects () {
|
||||
int res = TestDriver.RunTests (typeof (ObjectTests.Tests), args);
|
||||
Assert.AreEqual (0, res);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public static void Generics () {
|
||||
int res = TestDriver.RunTests (typeof (GenericsTests), args);
|
||||
Assert.AreEqual (0, res);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public static void GShared () {
|
||||
int res = TestDriver.RunTests (typeof (GSharedTests), args);
|
||||
Assert.AreEqual (0, res);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public static void Exceptions () {
|
||||
int res = TestDriver.RunTests (typeof (ExceptionTests), args);
|
||||
Assert.AreEqual (0, res);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public static void Aot () {
|
||||
int res = TestDriver.RunTests (typeof (AotTests), args);
|
||||
Assert.AreEqual (0, res);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user