Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs
diff options
context:
space:
mode:
authorManuel de la Pena <mandel@microsoft.com>2017-10-27 00:59:03 +0300
committerMarek Safar <marek.safar@gmail.com>2018-01-15 11:26:27 +0300
commit001d4d5082197f57cd5b70e7d26fbc86b0212966 (patch)
treed8ed87293109249955a1d420c446469849f17ec4 /mcs
parentfaecfce5d0c29dec56a18f10473a81e52d6acad5 (diff)
[Tests] Ensure that tests are runnable on xamarin-macios (#5875)
Diffstat (limited to 'mcs')
-rw-r--r--mcs/class/Mono.CSharp/Test/Evaluator/CompletionTest.cs4
-rw-r--r--mcs/class/Mono.CSharp/Test/Evaluator/EvaluatorTest.cs5
-rw-r--r--mcs/class/Mono.CSharp/Test/Evaluator/ExpressionsTest.cs3
-rw-r--r--mcs/class/Mono.CSharp/Test/Evaluator/TypesTest.cs5
4 files changed, 11 insertions, 6 deletions
diff --git a/mcs/class/Mono.CSharp/Test/Evaluator/CompletionTest.cs b/mcs/class/Mono.CSharp/Test/Evaluator/CompletionTest.cs
index 0a276d4d303..4c3a2774918 100644
--- a/mcs/class/Mono.CSharp/Test/Evaluator/CompletionTest.cs
+++ b/mcs/class/Mono.CSharp/Test/Evaluator/CompletionTest.cs
@@ -26,6 +26,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+#if !FULL_AOT_RUNTIME
using System;
using NUnit.Framework;
using Mono.CSharp;
@@ -75,4 +76,5 @@ namespace MonoTests.EvaluatorTest
Assert.IsNull (res);
}
}
-} \ No newline at end of file
+}
+#endif \ No newline at end of file
diff --git a/mcs/class/Mono.CSharp/Test/Evaluator/EvaluatorTest.cs b/mcs/class/Mono.CSharp/Test/Evaluator/EvaluatorTest.cs
index 71af4f4c073..8c4c5770b0f 100644
--- a/mcs/class/Mono.CSharp/Test/Evaluator/EvaluatorTest.cs
+++ b/mcs/class/Mono.CSharp/Test/Evaluator/EvaluatorTest.cs
@@ -25,7 +25,7 @@
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-
+#if !FULL_AOT_RUNTIME
using NUnit.Framework;
using Mono.CSharp;
@@ -41,4 +41,5 @@ namespace MonoTests.EvaluatorTest
evaluator2.Run ("int i = 0;");
}
}
- } \ No newline at end of file
+ }
+ #endif \ No newline at end of file
diff --git a/mcs/class/Mono.CSharp/Test/Evaluator/ExpressionsTest.cs b/mcs/class/Mono.CSharp/Test/Evaluator/ExpressionsTest.cs
index 8c414dad79f..054e164aee2 100644
--- a/mcs/class/Mono.CSharp/Test/Evaluator/ExpressionsTest.cs
+++ b/mcs/class/Mono.CSharp/Test/Evaluator/ExpressionsTest.cs
@@ -25,7 +25,7 @@
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-
+#if !FULL_AOT_RUNTIME
using System;
using NUnit.Framework;
using Mono.CSharp;
@@ -203,3 +203,4 @@ namespace MonoTests.EvaluatorTest
}
}
+#endif
diff --git a/mcs/class/Mono.CSharp/Test/Evaluator/TypesTest.cs b/mcs/class/Mono.CSharp/Test/Evaluator/TypesTest.cs
index f8bf63455de..dbfe1331880 100644
--- a/mcs/class/Mono.CSharp/Test/Evaluator/TypesTest.cs
+++ b/mcs/class/Mono.CSharp/Test/Evaluator/TypesTest.cs
@@ -25,7 +25,7 @@
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-
+#if !FULL_AOT_RUNTIME
using System;
using NUnit.Framework;
using Mono.CSharp;
@@ -144,4 +144,5 @@ namespace MonoTests.EvaluatorTest
}
}
}
-} \ No newline at end of file
+}
+#endif \ No newline at end of file