Delete test dev10_630880 (dotnet/coreclr#21239)
authorJan Kotas <jkotas@microsoft.com>
Wed, 28 Nov 2018 19:18:54 +0000 (11:18 -0800)
committerGitHub <noreply@github.com>
Wed, 28 Nov 2018 19:18:54 +0000 (11:18 -0800)
* 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

src/coreclr/tests/arm/Tests.lst
src/coreclr/tests/arm64/Tests.lst
src/coreclr/tests/issues.targets
src/coreclr/tests/src/reflection/regression/dev10bugs/Dev10_630880.csproj [deleted file]
src/coreclr/tests/src/reflection/regression/dev10bugs/dev10_630880.cs [deleted file]

index f143b78..4b59e10 100644 (file)
@@ -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
index b6de14a..e14eab2 100644 (file)
@@ -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
index 1a62cc8..5fe1694 100644 (file)
@@ -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/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 (file)
index dba0afd..0000000
+++ /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/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 (file)
index 7c5f590..0000000
+++ /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;
-    }
-}