From cfd0172f89d237f79c47de51b64d5778c440bbc6 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Sat, 4 Jul 2020 16:58:43 +0300 Subject: [PATCH] Skip System.Configuration.ConfigurationManager tests on WASM (#38749) --- .../tests/AssemblyInfo.cs | 8 ++++++++ .../tests/System.Configuration.ConfigurationManager.Tests.csproj | 1 + src/libraries/tests.proj | 1 - 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 src/libraries/System.Configuration.ConfigurationManager/tests/AssemblyInfo.cs diff --git a/src/libraries/System.Configuration.ConfigurationManager/tests/AssemblyInfo.cs b/src/libraries/System.Configuration.ConfigurationManager/tests/AssemblyInfo.cs new file mode 100644 index 0000000..d76d58d --- /dev/null +++ b/src/libraries/System.Configuration.ConfigurationManager/tests/AssemblyInfo.cs @@ -0,0 +1,8 @@ +// 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 Xunit; + +[assembly: SkipOnMono("System.Configuration.ConfigurationManager is not supported on WASM", TestPlatforms.Browser)] \ No newline at end of file diff --git a/src/libraries/System.Configuration.ConfigurationManager/tests/System.Configuration.ConfigurationManager.Tests.csproj b/src/libraries/System.Configuration.ConfigurationManager/tests/System.Configuration.ConfigurationManager.Tests.csproj index 77b8fba..e4572e3 100644 --- a/src/libraries/System.Configuration.ConfigurationManager/tests/System.Configuration.ConfigurationManager.Tests.csproj +++ b/src/libraries/System.Configuration.ConfigurationManager/tests/System.Configuration.ConfigurationManager.Tests.csproj @@ -23,6 +23,7 @@ Link="Source\UrlPath.cs" /> + diff --git a/src/libraries/tests.proj b/src/libraries/tests.proj index d481b5d..84ba206 100644 --- a/src/libraries/tests.proj +++ b/src/libraries/tests.proj @@ -22,7 +22,6 @@ - -- 2.7.4