diff options
author | Sergey Andreenko <seandree@microsoft.com> | 2019-06-05 21:38:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-05 21:38:08 -0700 |
commit | 1a495118c005b9a5409c81fea1813bd2b3044cbd (patch) | |
tree | 5f86c51253d2fea3fc2b376865a4818cd4c13968 | |
parent | 986f3598235c3a7f4140297d1eebddb88225597b (diff) | |
download | coreclr-1a495118c005b9a5409c81fea1813bd2b3044cbd.tar.gz coreclr-1a495118c005b9a5409c81fea1813bd2b3044cbd.tar.bz2 coreclr-1a495118c005b9a5409c81fea1813bd2b3044cbd.zip |
Delete TwoKeywords test. (#24982)
-rw-r--r-- | tests/issues.targets | 3 | ||||
-rw-r--r-- | tests/src/tracing/keyword/TwoKeywords/TwoKeywords.cs | 52 | ||||
-rw-r--r-- | tests/src/tracing/keyword/TwoKeywords/TwoKeywords.csproj | 33 |
3 files changed, 0 insertions, 88 deletions
diff --git a/tests/issues.targets b/tests/issues.targets index 7025efbe13..a8117c811d 100644 --- a/tests/issues.targets +++ b/tests/issues.targets @@ -68,9 +68,6 @@ <ExcludeList Include="$(XunitTestBinBase)/baseservices/threading/waithandle/waitany/waitanyex2a/*"> <Issue>19406</Issue> </ExcludeList> - <ExcludeList Include="$(XunitTestBinBase)/tracing/keyword/TwoKeywords/TwoKeywords/*"> - <Issue>23224, often fails with timeout in release</Issue> - </ExcludeList> <ExcludeList Include="$(XunitTestBinBase)/tracing/tracecontrol/tracecontrol/*"> <Issue>20299</Issue> </ExcludeList> diff --git a/tests/src/tracing/keyword/TwoKeywords/TwoKeywords.cs b/tests/src/tracing/keyword/TwoKeywords/TwoKeywords.cs deleted file mode 100644 index 89b38cec8a..0000000000 --- a/tests/src/tracing/keyword/TwoKeywords/TwoKeywords.cs +++ /dev/null @@ -1,52 +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.Diagnostics.Tracing; -using System.IO; -using System.Reflection; -using System.Threading; -using System.Threading.Tasks; -using Tracing.Tests.Common; - -using Microsoft.Diagnostics.Tracing; -using Microsoft.Diagnostics.Tracing.Parsers.Clr; - -namespace Tracing.Tests -{ - public static class TwoKeywordsTest - { - public static int Main(string[] args) - { - return new TwoKeywordsTraceTest().Execute(); - } - } - - public class TwoKeywordsTraceTest : AbstractTraceTest - { - private bool pass; - - protected override string GetConfigFileContents() - { - return @" -OutputPath=. -CircularMB=2048 -Providers=My-Simple-Event-Source:0xFFFFFFFFFFFFFFFF:5:Key1=Value1;Key2=Value2 -";; - } - - public override void OnEventCommand(object sender, EventCommandEventArgs command) - { - if (command.Command == EventCommand.Enable) - { - this.pass = (command.Arguments.Count == 2); - } - } - - protected override bool Pass() - { - return this.pass; - } - } -} diff --git a/tests/src/tracing/keyword/TwoKeywords/TwoKeywords.csproj b/tests/src/tracing/keyword/TwoKeywords/TwoKeywords.csproj deleted file mode 100644 index e5882f01c3..0000000000 --- a/tests/src/tracing/keyword/TwoKeywords/TwoKeywords.csproj +++ /dev/null @@ -1,33 +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>{8E3244CB-407F-4142-BAAB-E7A55901A5FA}</ProjectGuid> - <OutputType>Exe</OutputType> - <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> - <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir> - <CLRTestKind>BuildAndRun</CLRTestKind> - <DefineConstants>$(DefineConstants);STATIC</DefineConstants> - <CLRTestPriority>0</CLRTestPriority> - <GCStressIncompatible>true</GCStressIncompatible> - <!-- Due to https://github.com/dotnet/coreclr/issues/22247 --> - <UnloadabilityIncompatible>true</UnloadabilityIncompatible> - <DisableProjectBuild Condition="'$(Platform)' == 'arm'">true</DisableProjectBuild> - </PropertyGroup> - <!-- Default configurations to help VS understand the configurations --> - <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"></PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"></PropertyGroup> - <ItemGroup> - <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies"> - <Visible>False</Visible> - </CodeAnalysisDependentAssemblyPaths> - </ItemGroup> - <ItemGroup> - <Compile Include="TwoKeywords.cs" /> - <ProjectReference Include="../../common/common.csproj" /> - </ItemGroup> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> -</Project>
\ No newline at end of file |