diff options
author | Zoltan Varga <vargaz@gmail.com> | 2017-11-24 20:41:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-24 20:41:21 +0300 |
commit | d29cc4770a6e30fab3e74d458b3fe438d38c8ce3 (patch) | |
tree | 3344ed9e9b5db7a2b2b9a5ee4dfa7ba4ee577c40 /mcs/class/corlib | |
parent | ec117584a251d4c777e4c9c77efa30ace3cc0287 (diff) |
[bcl] Remove the test for ExecutingAssembly.EntryPoint, it behaves in different ways on different configurations. (#6095)
* [bcl] Remove the test for ExecutingAssembly.EntryPoint, it behaves in different ways on different configurations.
* Simplify ifdef
Diffstat (limited to 'mcs/class/corlib')
-rw-r--r-- | mcs/class/corlib/Test/System.Reflection/AssemblyTest.cs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/mcs/class/corlib/Test/System.Reflection/AssemblyTest.cs b/mcs/class/corlib/Test/System.Reflection/AssemblyTest.cs index a07923d229c..ca4581a0b94 100644 --- a/mcs/class/corlib/Test/System.Reflection/AssemblyTest.cs +++ b/mcs/class/corlib/Test/System.Reflection/AssemblyTest.cs @@ -264,14 +264,9 @@ namespace MonoTests.System.Reflection public void Corlib_test () { Assembly corlib_test = Assembly.GetExecutingAssembly (); -#if MONODROID || FULL_AOT_DESKTOP || __WATCHOS__ - Assert.IsNull (corlib_test.EntryPoint, "EntryPoint"); - Assert.IsNull (corlib_test.Evidence, "Evidence"); -#elif MOBILE - Assert.IsNotNull (corlib_test.EntryPoint, "EntryPoint"); +#if MOBILE Assert.IsNull (corlib_test.Evidence, "Evidence"); #else - Assert.IsNull (corlib_test.EntryPoint, "EntryPoint"); Assert.IsNotNull (corlib_test.Evidence, "Evidence"); #endif Assert.IsFalse (corlib_test.GlobalAssemblyCache, "GlobalAssemblyCache"); |