From 5cfda814e1852c37d042e2ae2d0cda3bb169fd0c Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Thu, 5 Sep 2019 20:03:47 +0200 Subject: [PATCH] [netcore] Bump CoreFX, core-setup dependencies (mono/mono#16681) * [netcore] Bump CoreFX, core-setup dependencies * Update .deps.json hacks * Update test exclusions Commit migrated from https://github.com/mono/mono/commit/673c8835fd90c5aa05a8836fcfcf24711d456fc7 --- src/mono/netcore/CoreFX.issues.rsp | 22 ++++++++++++++++++++-- src/mono/netcore/Makefile | 7 ++++--- 2 files changed, 24 insertions(+), 5 deletions(-) diff --git a/src/mono/netcore/CoreFX.issues.rsp b/src/mono/netcore/CoreFX.issues.rsp index dba5ff3..3634ca4 100644 --- a/src/mono/netcore/CoreFX.issues.rsp +++ b/src/mono/netcore/CoreFX.issues.rsp @@ -12,6 +12,12 @@ # https://github.com/mono/mono/issues/14854 -nomethod Microsoft.VisualBasic.Tests.ErrObjectTests.Clear +# Windows-only tests, incorrect platform guards (https://github.com/dotnet/corefx/pull/40365) +-nomethod Microsoft.VisualBasic.Tests.InteractionTests.SaveSetting +-nomethod Microsoft.VisualBasic.Tests.InteractionTests.DeleteSetting +-nomethod Microsoft.VisualBasic.Tests.InteractionTests.GetAllSettings +-nomethod Microsoft.VisualBasic.Tests.InteractionTests.GetSetting + #################################################################### ## System.CodeDom.Tests #################################################################### @@ -734,12 +740,14 @@ -nomethod System.Reflection.Context.Tests.CustomReflectionContextTests.MapType_Interface_Throws #################################################################### -## System.Reflection.TypeExtensions.CoreCLR.Tests +## System.Reflection.Metadata.Tests #################################################################### # Assertion... Expected true, got false # https://github.com/mono/mono/issues/15194 -nomethod System.Reflection.Tests.MetadataTokenTests.SuccessImpliesNonNilWithCorrectTable +# Test broken on Mono, added in https://github.com/dotnet/corefx/pull/40581 +-nomethod System.Reflection.Tests.MetadataLoadContextTests.RelocatableAssembly #################################################################### ## System.Runtime.Loader.DefaultContext.Tests @@ -977,4 +985,14 @@ -nomethod System.IO.Tests.Directory_NotifyFilter_Tests.FileSystemWatcher_Directory_NotifyFilter_LastWriteTime # Flaky test --nomethod System.Security.Cryptography.Rsa.Tests.RSAKeyFileTests.ReadEncryptedRsa16384 \ No newline at end of file +-nomethod System.Security.Cryptography.Rsa.Tests.RSAKeyFileTests.ReadEncryptedRsa16384 + +#################################################################### +## System.Security.Cryptography.Encoding.Tests +#################################################################### + +# Broken array copying (https://github.com/mono/mono/issues/16686) +-nomethod System.Security.Cryptography.Encoding.Tests.OidTests.LookupOidByFriendlyName_Method_InverseCase +-nomethod System.Security.Cryptography.Encoding.Tests.OidTests.LookupOidByValue_Ctor +-nomethod System.Security.Cryptography.Encoding.Tests.OidTests.Oid_StringString_NullFriendlyName +-nomethod System.Security.Cryptography.Encoding.Tests.OidTests.LookupOidByFriendlyName_Ctor diff --git a/src/mono/netcore/Makefile b/src/mono/netcore/Makefile index ac71421a..a583e8a 100644 --- a/src/mono/netcore/Makefile +++ b/src/mono/netcore/Makefile @@ -209,13 +209,14 @@ run-tests-corefx: prepare update-tests-corefx run-tests-corefx-%: prepare update-tests-corefx @echo "" @echo "***************** $* $${TEST_COUNTER}*********************" - @cp corefx/restore/corefx-restore.deps.json corefx/tests/extracted/$*/xunit.console.deps.json - @cp corefx/restore/corefx-restore.deps.json corefx/tests/extracted/$*/Microsoft.DotNet.RemoteExecutorHost.deps.json + @cp corefx/restore/corefx-restore.deps.json corefx/tests/extracted/$*/$*.deps.json @cp corefx/restore/corefx-restore.runtimeconfig.dev.json corefx/tests/extracted/$*/$*.runtimeconfig.dev.json @cp corefx/restore/corefx-restore.dll corefx/tests/extracted/$*/corefx-restore.dll @sed -i -e 's/5.0.0\"/$(NETCOREAPP_VERSION)\"/g' corefx/tests/extracted/$*/*.runtimeconfig.json cd corefx/tests/extracted/$* && \ - COMPlus_DebugWriteToStdErr=1 $(CURDIR)/./dotnet exec --runtimeconfig $*.runtimeconfig.json --fx-version "$(NETCOREAPP_VERSION)" xunit.console.dll $*.dll \ + COMPlus_DebugWriteToStdErr=1 $(CURDIR)/./dotnet exec \ + --runtimeconfig $*.runtimeconfig.json --additional-deps $*.deps.json \ + --fx-version "$(NETCOREAPP_VERSION)" xunit.console.dll $*.dll \ -html ../../TestResult-$*.html -xml ../../TestResult-$*-netcore-xunit.xml \ $(XUNIT_FLAGS) @../../../../CoreFX.issues.rsp \ $(FIXTURE) -- 2.7.4