From: Jan Kotas Date: Wed, 28 Nov 2018 19:18:54 +0000 (-0800) Subject: Delete test dev10_630880 (dotnet/coreclr#21239) X-Git-Tag: submit/tizen/20210909.063632~11030^2~3231 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=28b93b574ed713897503fa575201ad8af6f2be8f;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Delete test dev10_630880 (dotnet/coreclr#21239) * Revert "Disable test Dev10_630880" This reverts commit dotnet/coreclr@4fb76de35184fb80054f29779f51af82a4aa7ad8. * Delete test dev10_630880 This test has been exercising internal CoreLib details that have been deleted. Commit migrated from https://github.com/dotnet/coreclr/commit/f7c46a3847ded886135e055962e0d9136fdb77d9 --- diff --git a/src/coreclr/tests/arm/Tests.lst b/src/coreclr/tests/arm/Tests.lst index f143b78..4b59e10 100644 --- a/src/coreclr/tests/arm/Tests.lst +++ b/src/coreclr/tests/arm/Tests.lst @@ -62444,14 +62444,6 @@ MaxAllowedDurationSeconds=600 Categories=EXPECTED_PASS;Pri1 HostStyle=0 -[Dev10_630880.cmd_9588] -RelativePath=reflection\regression\dev10bugs\Dev10_630880\Dev10_630880.cmd -WorkingDir=reflection\regression\dev10bugs\Dev10_630880 -Expected=0 -MaxAllowedDurationSeconds=600 -Categories=EXPECTED_PASS;Pri1 -HostStyle=0 - [box-unbox006.cmd_9590] RelativePath=JIT\jit64\valuetypes\nullable\box-unbox\box-unbox\box-unbox006\box-unbox006.cmd WorkingDir=JIT\jit64\valuetypes\nullable\box-unbox\box-unbox\box-unbox006 diff --git a/src/coreclr/tests/arm64/Tests.lst b/src/coreclr/tests/arm64/Tests.lst index b6de14a..e14eab2 100644 --- a/src/coreclr/tests/arm64/Tests.lst +++ b/src/coreclr/tests/arm64/Tests.lst @@ -59444,14 +59444,6 @@ MaxAllowedDurationSeconds=600 Categories=Pri1;RT;EXPECTED_PASS HostStyle=0 -[Dev10_630880.cmd_9793] -RelativePath=reflection\regression\dev10bugs\Dev10_630880\Dev10_630880.cmd -WorkingDir=reflection\regression\dev10bugs\Dev10_630880 -Expected=0 -MaxAllowedDurationSeconds=600 -Categories=Pri1;RT;EXPECTED_PASS -HostStyle=0 - [test.cmd_9794] RelativePath=Regressions\assemblyref\test\test.cmd WorkingDir=Regressions\assemblyref\test diff --git a/src/coreclr/tests/issues.targets b/src/coreclr/tests/issues.targets index 1a62cc8..5fe1694 100644 --- a/src/coreclr/tests/issues.targets +++ b/src/coreclr/tests/issues.targets @@ -47,9 +47,6 @@ 11408 - - 21173 - 20322 diff --git a/src/coreclr/tests/src/reflection/regression/dev10bugs/Dev10_630880.csproj b/src/coreclr/tests/src/reflection/regression/dev10bugs/Dev10_630880.csproj deleted file mode 100644 index dba0afd..0000000 --- a/src/coreclr/tests/src/reflection/regression/dev10bugs/Dev10_630880.csproj +++ /dev/null @@ -1,36 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Exe - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - ..\..\ - true - BuildAndRun - 1 - - - - - - - - - False - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/coreclr/tests/src/reflection/regression/dev10bugs/dev10_630880.cs b/src/coreclr/tests/src/reflection/regression/dev10bugs/dev10_630880.cs deleted file mode 100644 index 7c5f590..0000000 --- a/src/coreclr/tests/src/reflection/regression/dev10bugs/dev10_630880.cs +++ /dev/null @@ -1,44 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. -using System; -using System.Runtime.CompilerServices; -using System.Security; - -/* Regression case for Dev10 #630880 - SL4: User Breaking Change: Users are not able to run critical class constructors in platform assembles */ - -public class Dev10_630880 -{ - public static int Main() - { - int failures = 0; - - Console.WriteLine("Getting type of System.AppDomainManager."); - Type t = Type.GetType("System.AppDomainManager"); - - Console.WriteLine("Getting type handle of System.AppDomainManager type."); - RuntimeTypeHandle h = t.TypeHandle; - - Console.WriteLine("Calling RuntimeHelpers.RunClassConstructor with type handle of System.AppDomainManager type."); - try - { - // In V2, this throws TypeLoadException. - // In V4, this shouldn't throw any exception - RuntimeHelpers.RunClassConstructor(h); - - Console.WriteLine("PASS> No exception is thrown."); - } - catch (Exception e) - { - failures++; - Console.WriteLine("FAIL> Unexpected {0}!", e.GetType()); - Console.WriteLine("Please revisit Dev10 #630880."); - Console.WriteLine(); - Console.WriteLine(e); - } - - Console.WriteLine(); - Console.WriteLine("TEST {0}", failures == 0 ? "PASSED." : "FAILED!"); - return 100 + failures; - } -}