From 991e8f20ba0247cf313f5443f2252dab885e653e Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Mon, 27 Jul 2020 10:30:34 +0300 Subject: [PATCH 1/2] [wasm] Mark DiagnosticSource.Switches.Tests with an active issue --- .../tests/TestWithConfigSwitches/ActivityTests.cs | 1 + src/libraries/tests.proj | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Diagnostics.DiagnosticSource/tests/TestWithConfigSwitches/ActivityTests.cs b/src/libraries/System.Diagnostics.DiagnosticSource/tests/TestWithConfigSwitches/ActivityTests.cs index 80b7218397a8f8..1f8903cb123638 100644 --- a/src/libraries/System.Diagnostics.DiagnosticSource/tests/TestWithConfigSwitches/ActivityTests.cs +++ b/src/libraries/System.Diagnostics.DiagnosticSource/tests/TestWithConfigSwitches/ActivityTests.cs @@ -6,6 +6,7 @@ namespace System.Diagnostics.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/38433", TestPlatforms.Browser)] public class ActivityTests : IDisposable { [Fact] diff --git a/src/libraries/tests.proj b/src/libraries/tests.proj index 37ddac60b2de01..f8fdf7e368b41f 100644 --- a/src/libraries/tests.proj +++ b/src/libraries/tests.proj @@ -23,7 +23,6 @@ - From 6fbd6397d139e293621289f7baeb6a950d6d081f Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Mon, 27 Jul 2020 15:17:41 +0300 Subject: [PATCH 2/2] Disable the test suite at assembly level --- .../tests/TestWithConfigSwitches/ActivityTests.cs | 1 - .../tests/TestWithConfigSwitches/AssemblyInfo.cs | 6 ++++++ ...ystem.Diagnostics.DiagnosticSource.Switches.Tests.csproj | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 src/libraries/System.Diagnostics.DiagnosticSource/tests/TestWithConfigSwitches/AssemblyInfo.cs diff --git a/src/libraries/System.Diagnostics.DiagnosticSource/tests/TestWithConfigSwitches/ActivityTests.cs b/src/libraries/System.Diagnostics.DiagnosticSource/tests/TestWithConfigSwitches/ActivityTests.cs index 1f8903cb123638..80b7218397a8f8 100644 --- a/src/libraries/System.Diagnostics.DiagnosticSource/tests/TestWithConfigSwitches/ActivityTests.cs +++ b/src/libraries/System.Diagnostics.DiagnosticSource/tests/TestWithConfigSwitches/ActivityTests.cs @@ -6,7 +6,6 @@ namespace System.Diagnostics.Tests { - [ActiveIssue("https://github.com/dotnet/runtime/issues/38433", TestPlatforms.Browser)] public class ActivityTests : IDisposable { [Fact] diff --git a/src/libraries/System.Diagnostics.DiagnosticSource/tests/TestWithConfigSwitches/AssemblyInfo.cs b/src/libraries/System.Diagnostics.DiagnosticSource/tests/TestWithConfigSwitches/AssemblyInfo.cs new file mode 100644 index 00000000000000..7fe77fb2043e78 --- /dev/null +++ b/src/libraries/System.Diagnostics.DiagnosticSource/tests/TestWithConfigSwitches/AssemblyInfo.cs @@ -0,0 +1,6 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Xunit; + +[assembly: ActiveIssue("https://github.com/dotnet/runtime/issues/38433", TestPlatforms.Browser)] \ No newline at end of file diff --git a/src/libraries/System.Diagnostics.DiagnosticSource/tests/TestWithConfigSwitches/System.Diagnostics.DiagnosticSource.Switches.Tests.csproj b/src/libraries/System.Diagnostics.DiagnosticSource/tests/TestWithConfigSwitches/System.Diagnostics.DiagnosticSource.Switches.Tests.csproj index 04a992f8cd81cc..1d596d074a3ad4 100644 --- a/src/libraries/System.Diagnostics.DiagnosticSource/tests/TestWithConfigSwitches/System.Diagnostics.DiagnosticSource.Switches.Tests.csproj +++ b/src/libraries/System.Diagnostics.DiagnosticSource/tests/TestWithConfigSwitches/System.Diagnostics.DiagnosticSource.Switches.Tests.csproj @@ -2,8 +2,10 @@ $(NetCoreAppCurrent) true + true + \ No newline at end of file