diff options
author | Jan Kotas <jkotas@microsoft.com> | 2018-11-28 11:18:54 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-28 11:18:54 -0800 |
commit | f7c46a3847ded886135e055962e0d9136fdb77d9 (patch) | |
tree | 73571760b278ac0dc52eec66fa4b6998f2969375 | |
parent | 841b61bf2c74ae00665295dfc53225e4a5fa91a5 (diff) | |
download | coreclr-f7c46a3847ded886135e055962e0d9136fdb77d9.tar.gz coreclr-f7c46a3847ded886135e055962e0d9136fdb77d9.tar.bz2 coreclr-f7c46a3847ded886135e055962e0d9136fdb77d9.zip |
Delete test dev10_630880 (#21239)
* Revert "Disable test Dev10_630880"
This reverts commit 4fb76de35184fb80054f29779f51af82a4aa7ad8.
* Delete test dev10_630880
This test has been exercising internal CoreLib details that have been deleted.
-rw-r--r-- | tests/arm/Tests.lst | 8 | ||||
-rw-r--r-- | tests/arm64/Tests.lst | 8 | ||||
-rw-r--r-- | tests/issues.targets | 3 | ||||
-rw-r--r-- | tests/src/reflection/regression/dev10bugs/Dev10_630880.csproj | 36 | ||||
-rw-r--r-- | tests/src/reflection/regression/dev10bugs/dev10_630880.cs | 44 |
5 files changed, 0 insertions, 99 deletions
diff --git a/tests/arm/Tests.lst b/tests/arm/Tests.lst index f143b783ab..4b59e10897 100644 --- a/tests/arm/Tests.lst +++ b/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/tests/arm64/Tests.lst b/tests/arm64/Tests.lst index b6de14a624..e14eab2d13 100644 --- a/tests/arm64/Tests.lst +++ b/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/tests/issues.targets b/tests/issues.targets index 1a62cc8849..5fe1694a95 100644 --- a/tests/issues.targets +++ b/tests/issues.targets @@ -47,9 +47,6 @@ <ExcludeList Include="$(XunitTestBinBase)/JIT/Regression/JitBlue/GitHub_11408/GitHub_11408/*"> <Issue>11408</Issue> </ExcludeList> - <ExcludeList Include="$(XunitTestBinBase)/reflection/regression/dev10bugs/Dev10_630880/*"> - <Issue>21173</Issue> - </ExcludeList> <ExcludeList Include="$(XunitTestBinBase)/baseservices/exceptions/StackTracePreserve/StackTracePreserveTests/*"> <Issue>20322</Issue> </ExcludeList> diff --git a/tests/src/reflection/regression/dev10bugs/Dev10_630880.csproj b/tests/src/reflection/regression/dev10bugs/Dev10_630880.csproj deleted file mode 100644 index dba0afd990..0000000000 --- a/tests/src/reflection/regression/dev10bugs/Dev10_630880.csproj +++ /dev/null @@ -1,36 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> - <PropertyGroup> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <SchemaVersion>2.0</SchemaVersion> - <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid> - <OutputType>Exe</OutputType> - <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> - <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir> - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> - <CLRTestKind>BuildAndRun</CLRTestKind> - <CLRTestPriority>1</CLRTestPriority> - </PropertyGroup> - <!-- Default configurations to help VS understand the configurations --> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> - </PropertyGroup> - <ItemGroup> - <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies"> - <Visible>False</Visible> - </CodeAnalysisDependentAssemblyPaths> - </ItemGroup> - <ItemGroup> - <!-- Add Compile Object Here --> - <Compile Include="dev10_630880.cs" /> - </ItemGroup> - <ItemGroup> - <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> - </ItemGroup> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> - <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' "> - </PropertyGroup> -</Project>
\ No newline at end of file diff --git a/tests/src/reflection/regression/dev10bugs/dev10_630880.cs b/tests/src/reflection/regression/dev10bugs/dev10_630880.cs deleted file mode 100644 index 7c5f590f97..0000000000 --- a/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; - } -} |