Disable crypto tests affected by libssl in OSX (#31879)
authorSantiago Fernandez Madero <safern@microsoft.com>
Thu, 6 Feb 2020 20:48:32 +0000 (12:48 -0800)
committerGitHub <noreply@github.com>
Thu, 6 Feb 2020 20:48:32 +0000 (12:48 -0800)
src/libraries/System.Security.Cryptography.Algorithms/tests/AesCcmTests.cs
src/libraries/System.Security.Cryptography.Algorithms/tests/AesGcmTests.cs
src/libraries/System.Security.Cryptography.OpenSsl/tests/AssemblyInfo.cs [new file with mode: 0644]
src/libraries/System.Security.Cryptography.OpenSsl/tests/System.Security.Cryptography.OpenSsl.Tests.csproj

index db15801..bb42895 100644 (file)
@@ -9,6 +9,7 @@ using Xunit;
 
 namespace System.Security.Cryptography.Algorithms.Tests
 {
+    [ActiveIssue("https://github.com/dotnet/runtime/issues/2176", TestPlatforms.OSX)]
     public class AesCcmTests : AesAEADTests
     {
         [Theory]
index 7557600..1114764 100644 (file)
@@ -9,6 +9,7 @@ using Xunit;
 
 namespace System.Security.Cryptography.Algorithms.Tests
 {
+    [ActiveIssue("https://github.com/dotnet/runtime/issues/2176", TestPlatforms.OSX)]
     public class AesGcmTests : AesAEADTests
     {
         [Theory]
diff --git a/src/libraries/System.Security.Cryptography.OpenSsl/tests/AssemblyInfo.cs b/src/libraries/System.Security.Cryptography.OpenSsl/tests/AssemblyInfo.cs
new file mode 100644 (file)
index 0000000..015a299
--- /dev/null
@@ -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 Xunit;
+
+[assembly: SkipOnCoreClr("https://github.com/dotnet/runtime/issues/2176", TestPlatforms.OSX)]
+[assembly: SkipOnMono("https://github.com/dotnet/runtime/issues/2176", TestPlatforms.OSX)]
\ No newline at end of file
index 7a4b8af..3d988df 100644 (file)
@@ -4,6 +4,7 @@
     <TargetFrameworks>$(NetCoreAppCurrent)-Unix</TargetFrameworks>
   </PropertyGroup>
   <ItemGroup>
+    <Compile Include="AssemblyInfo.cs" />
     <Compile Include="EcDsaOpenSslTests.cs" />
     <Compile Include="RSAOpenSslProvider.cs" />
     <Compile Include="$(CommonPath)Interop\Unix\Interop.Libraries.cs">