diff --git a/eng/testing/tests.targets b/eng/testing/tests.targets index c895afbb27832..ad930a6e74487 100644 --- a/eng/testing/tests.targets +++ b/eng/testing/tests.targets @@ -80,11 +80,10 @@ <_rspFile Include="$(TestRspFile)" Condition="'$(TestRspFile)' != ''" /> - <_rspFile Include="$(MonoProjectRoot)netcore\CoreFX.issues_linux.rsp" Condition="'$(TargetOS)' == 'Linux'" /> <_rspFile Include="$(MonoProjectRoot)netcore\CoreFX.issues_windows.rsp" Condition="'$(TargetOS)' == 'Windows_NT'" /> - <_rspFileContent Include="$([System.IO.File]::ReadAllText(%(_rspFile.Identity)))" Condition="'$(TargetOS)' != 'OSX'" /> + <_rspFileContent Include="$([System.IO.File]::ReadAllText(%(_rspFile.Identity)))" Condition="'$(TargetOS)' != 'OSX' and '$(TargetOS)' != 'Linux'" /> diff --git a/src/libraries/System.Resources.Extensions/tests/BinaryResourceWriterUnitTest.cs b/src/libraries/System.Resources.Extensions/tests/BinaryResourceWriterUnitTest.cs index 085ee9be2ad18..4b7a3b8c3de55 100644 --- a/src/libraries/System.Resources.Extensions/tests/BinaryResourceWriterUnitTest.cs +++ b/src/libraries/System.Resources.Extensions/tests/BinaryResourceWriterUnitTest.cs @@ -264,6 +264,7 @@ public static void PrimitiveResourcesAsStrings() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public static void BinaryFormattedResources() { var values = TestData.BinaryFormatted; @@ -300,6 +301,7 @@ public static void BinaryFormattedResources() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public static void BinaryFormattedResourcesWithoutTypeName() { var values = TestData.BinaryFormatted; @@ -397,6 +399,7 @@ public static void TypeConverterStringResources() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public static void StreamResources() { var values = TestData.Activator; diff --git a/src/libraries/System.Resources.ResourceManager/tests/ResourceManagerTests.cs b/src/libraries/System.Resources.ResourceManager/tests/ResourceManagerTests.cs index d2bacfe49fba1..c4e5f6ddcce45 100644 --- a/src/libraries/System.Resources.ResourceManager/tests/ResourceManagerTests.cs +++ b/src/libraries/System.Resources.ResourceManager/tests/ResourceManagerTests.cs @@ -268,6 +268,7 @@ public static IEnumerable EnglishImageResourceData() } [ConditionalTheory(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(EnglishImageResourceData))] public static void GetObject_Images(string key, object expectedValue) { @@ -277,6 +278,7 @@ public static void GetObject_Images(string key, object expectedValue) } [ConditionalTheory(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(EnglishImageResourceData))] public static void GetObject_Images_ResourceSet(string key, object expectedValue) { @@ -310,6 +312,7 @@ public static void GetResourceSet_NonStrings(string key, object expectedValue, b } [ConditionalTheory(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(EnglishImageResourceData))] public static void GetResourceSet_Images(string key, object expectedValue) { diff --git a/src/libraries/System.Runtime.Extensions/tests/System/AppDomainTests.cs b/src/libraries/System.Runtime.Extensions/tests/System/AppDomainTests.cs index 7f46dc70eb87e..a8e661bafca7b 100644 --- a/src/libraries/System.Runtime.Extensions/tests/System/AppDomainTests.cs +++ b/src/libraries/System.Runtime.Extensions/tests/System/AppDomainTests.cs @@ -747,6 +747,7 @@ public static void GetPermissionSet() } [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34030", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(TestingCreateInstanceFromObjectHandleData))] public static void TestingCreateInstanceFromObjectHandle(string physicalFileName, string assemblyFile, string type, string returnedFullNameType, Type exceptionType) { @@ -846,6 +847,7 @@ public static void TestingCreateInstanceObjectHandle(string assemblyName, string }; [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34030", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(TestingCreateInstanceFromObjectHandleFullSignatureData))] public static void TestingCreateInstanceFromObjectHandleFullSignature(string physicalFileName, string assemblyFile, string type, bool ignoreCase, BindingFlags bindingAttr, Binder binder, object[] args, CultureInfo culture, object[] activationAttributes, string returnedFullNameType) { diff --git a/src/libraries/System.Runtime.Serialization.Formatters/tests/BinaryFormatterTests.cs b/src/libraries/System.Runtime.Serialization.Formatters/tests/BinaryFormatterTests.cs index a54bf833a74b8..8c9777b0f706a 100644 --- a/src/libraries/System.Runtime.Serialization.Formatters/tests/BinaryFormatterTests.cs +++ b/src/libraries/System.Runtime.Serialization.Formatters/tests/BinaryFormatterTests.cs @@ -47,6 +47,7 @@ public void SerializeHugeObjectGraphs(int limit) [Theory] [SkipOnCoreClr("Takes too long on Checked", RuntimeConfiguration.Checked)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(BasicObjectsRoundtrip_MemberData))] public void ValidateBasicObjectsRoundtrip(object obj, FormatterAssemblyStyle assemblyFormat, TypeFilterLevel filterLevel, FormatterTypeStyle typeFormat) { @@ -183,6 +184,7 @@ public void ValidateDeserializationOfObjectWithGenericTypeWhichGenericArgumentHa } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void RoundtripManyObjectsInOneStream() { object[][] objects = SerializableObjects_MemberData().ToArray(); diff --git a/src/libraries/System.Runtime/tests/System/ActivatorTests.cs b/src/libraries/System.Runtime/tests/System/ActivatorTests.cs index 773b80b17d3ee..5cb07283312a4 100644 --- a/src/libraries/System.Runtime/tests/System/ActivatorTests.cs +++ b/src/libraries/System.Runtime/tests/System/ActivatorTests.cs @@ -620,6 +620,7 @@ public void CreateInstance_PublicOnlyValueTypeWithPrivateDefaultConstructor_Thro } [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34030", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(TestingCreateInstanceFromObjectHandleData))] public static void TestingCreateInstanceFromObjectHandle(string physicalFileName, string assemblyFile, string type, string returnedFullNameType, Type exceptionType) { @@ -717,6 +718,7 @@ public static void TestingCreateInstanceObjectHandle(string assemblyName, string }; [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34030", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(TestingCreateInstanceFromObjectHandleFullSignatureData))] public static void TestingCreateInstanceFromObjectHandleFullSignature(string physicalFileName, string assemblyFile, string type, bool ignoreCase, BindingFlags bindingAttr, Binder binder, object[] args, CultureInfo culture, object[] activationAttributes, string returnedFullNameType) { diff --git a/src/mono/netcore/CoreFX.issues_linux.rsp b/src/mono/netcore/CoreFX.issues_linux.rsp deleted file mode 100644 index 5cd79c59942da..0000000000000 --- a/src/mono/netcore/CoreFX.issues_linux.rsp +++ /dev/null @@ -1,49 +0,0 @@ -# See TODO in AssemblyLoadContext.InternalLoadFromPath() --nomethod System.Tests.ActivatorTests.TestingCreateInstanceFromObjectHandleFullSignature --nomethod System.Tests.ActivatorTests.TestingCreateInstanceFromObjectHandle --nomethod System.Tests.AppDomainTests.TestingCreateInstanceFromObjectHandleFullSignature --nomethod System.Tests.AppDomainTests.TestingCreateInstanceFromObjectHandle - -# hangs --nomethod *.HttpClientUsesSslCertEnvironmentVariables --nomethod System.Threading.Tasks.Dataflow.Tests.DataflowBlockExtensionsTests.* - -# dllmap is not working --nonamespace System.IO.MemoryMappedFiles --nonamespace System.Diagnostics.Tests --nonamespace System.IO.Tests --nomethod System.IO.Pipes.Tests.NamedPipeTest_CreateClient.NotSupportedPipePath_Throws_PlatformNotSupportedException --nomethod System.Net.Sockets.Tests.SocketOptionNameTest.ReuseAddressUdp - --nomethod System.Tests.WeakReferenceTests.Generic --nomethod System.Reflection.Tests.AssemblyTests.CreateInstance - -# StackOverflow somewhere here --nonamespace System.Threading.Tasks.Tests - -# Requires precise GC (should be ignored in dotnet/corefx for mono) --nomethod System.Collections.Concurrent.Tests.ConcurrentQueueTests.ReferenceTypes_NulledAfterDequeue --nomethod System.Threading.Tests.ThreadLocalTests.RunThreadLocalTest7_WeakReference --nomethod System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestFinalization - -# fails with some OpenSSL error --nomethod System.Net.Security.Tests.ServerRequireEncryptionTest.ServerRequireEncryption_ClientNoEncryption_NoConnect --nomethod System.Net.Security.Tests.SslStreamAlpnTests.SslStream_StreamToStream_Alpn_NonMatchingProtocols_Fail --nomethod System.Net.Security.Tests.ClientDefaultEncryptionTest.ClientDefaultEncryption_ServerNoEncryption_NoConnect --nomethod System.Net.Security.Tests.ServerNoEncryptionTest.ServerNoEncryption_ClientRequireEncryption_NoConnect --nomethod System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_ServerNoEncryption_NoConnect --nomethod System.Net.Security.Tests.ServerAsyncAuthenticateTest.ServerAsyncAuthenticate_MismatchProtocols_Fails --nomethod System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_MismatchProtocols_Fails - -# https://github.com/mono/mono/issues/18067 LLVM: try-catch doesn't catch an exception --nomethod System.Reflection.Tests.BindingFlagsDoNotWrapTests.* - -# fail on Helix on RedHat systems because libgdiplus can't be loaded --nomethod System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.RoundtripManyObjectsInOneStream --nomethod System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.ValidateBasicObjectsRoundtrip --nomethod System.Resources.Tests.ResourceManagerTests.GetObject_Images --nomethod System.Resources.Tests.ResourceManagerTests.GetObject_Images_ResourceSet --nomethod System.Resources.Tests.ResourceManagerTests.GetResourceSet_Images --nomethod System.Resources.Extensions.Tests.PreserializedResourceWriterTests.BinaryFormattedResources --nomethod System.Resources.Extensions.Tests.PreserializedResourceWriterTests.StreamResources --nomethod System.Resources.Extensions.Tests.PreserializedResourceWriterTests.BinaryFormattedResourcesWithoutTypeName