Make CoreFx.Private.TestUtilites RID-agnostic (dotnet/corefx#36207)
authorViktor Hofer <viktor.hofer@microsoft.com>
Sat, 29 Jun 2019 19:53:19 +0000 (21:53 +0200)
committerGitHub <noreply@github.com>
Sat, 29 Jun 2019 19:53:19 +0000 (21:53 +0200)
commit0f67ef28f86a9aa935857a38f5cc1d47aae073d1
tree8f5ee7ae6389bf59cca972dcba1a9f58e3f70a11
parent5ba66fefdb835aff62c20afc8d076b8b6ec7463c
Make CoreFx.Private.TestUtilites RID-agnostic (dotnet/corefx#36207)

* Make CoreFx.Private.TestUtilites RID-agnostic

* Add version checks for other distros

https://github.com/dotnet/corefx/commit/dotnet/corefx@4f0d10773ccbb4849b869b6a0a73d5938f1804bd
Porting fix over into PlatformDetection.

* Build test lib in advance for VS support

* Disable pretest in AllConfigurations

Commit migrated from https://github.com/dotnet/corefx/commit/d3d144fad9b600a0fc1ca6fc7d65c247fddd9f04
65 files changed:
src/libraries/Common/tests/CoreFx.Private.TestUtilities/Configurations.props [moved from src/libraries/CoreFx.Private.TestUtilities/ref/Configurations.props with 88% similarity]
src/libraries/Common/tests/CoreFx.Private.TestUtilities/CoreFx.Private.TestUtilities.csproj [new file with mode: 0644]
src/libraries/Common/tests/CoreFx.Private.TestUtilities/Interop/Interop.Libraries.cs [new file with mode: 0644]
src/libraries/Common/tests/CoreFx.Private.TestUtilities/System/AdminHelpers.cs [moved from src/libraries/CoreFx.Private.TestUtilities/src/System/AdminHelpers.Windows.cs with 62% similarity]
src/libraries/Common/tests/CoreFx.Private.TestUtilities/System/AssertExtensions.cs [moved from src/libraries/CoreFx.Private.TestUtilities/src/System/AssertExtensions.cs with 100% similarity]
src/libraries/Common/tests/CoreFx.Private.TestUtilities/System/Buffers/BoundedMemory.Creation.cs [moved from src/libraries/CoreFx.Private.TestUtilities/src/System/Buffers/BoundedMemory.Creation.cs with 88% similarity]
src/libraries/Common/tests/CoreFx.Private.TestUtilities/System/Buffers/BoundedMemory.Unix.cs [moved from src/libraries/CoreFx.Private.TestUtilities/src/System/Buffers/BoundedMemory.Unix.cs with 93% similarity]
src/libraries/Common/tests/CoreFx.Private.TestUtilities/System/Buffers/BoundedMemory.Windows.cs [moved from src/libraries/CoreFx.Private.TestUtilities/src/System/Buffers/BoundedMemory.Windows.cs with 99% similarity]
src/libraries/Common/tests/CoreFx.Private.TestUtilities/System/Buffers/BoundedMemory.cs [moved from src/libraries/CoreFx.Private.TestUtilities/src/System/Buffers/BoundedMemory.cs with 100% similarity]
src/libraries/Common/tests/CoreFx.Private.TestUtilities/System/Buffers/PoisonPagePlacement.cs [moved from src/libraries/CoreFx.Private.TestUtilities/src/System/Buffers/PoisonPagePlacement.cs with 100% similarity]
src/libraries/Common/tests/CoreFx.Private.TestUtilities/System/IO/FileCleanupTestBase.cs [moved from src/libraries/CoreFx.Private.TestUtilities/src/System/IO/FileCleanupTestBase.cs with 100% similarity]
src/libraries/Common/tests/CoreFx.Private.TestUtilities/System/PlatformDetection.Unix.cs [moved from src/libraries/CoreFx.Private.TestUtilities/src/System/PlatformDetection.Unix.cs with 66% similarity]
src/libraries/Common/tests/CoreFx.Private.TestUtilities/System/PlatformDetection.Windows.cs [moved from src/libraries/CoreFx.Private.TestUtilities/src/System/PlatformDetection.Windows.cs with 64% similarity]
src/libraries/Common/tests/CoreFx.Private.TestUtilities/System/PlatformDetection.cs [moved from src/libraries/CoreFx.Private.TestUtilities/src/System/PlatformDetection.cs with 58% similarity]
src/libraries/Common/tests/CoreFx.Private.TestUtilities/System/RetryHelper.cs [moved from src/libraries/CoreFx.Private.TestUtilities/src/System/RetryHelper.cs with 98% similarity]
src/libraries/Common/tests/CoreFx.Private.TestUtilities/System/TestEnvironment.cs [moved from src/libraries/CoreFx.Private.TestUtilities/src/System/TestEnvironment.cs with 100% similarity]
src/libraries/Common/tests/StaticTestGenerator/Program.cs
src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/RSA/EncryptDecrypt.cs
src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/RSA/SignVerify.cs
src/libraries/CoreFx.Private.TestUtilities/CoreFx.Private.TestUtilities.sln [deleted file]
src/libraries/CoreFx.Private.TestUtilities/Directory.Build.props [deleted file]
src/libraries/CoreFx.Private.TestUtilities/pkg/CoreFx.Private.TestUtilities.pkgproj [deleted file]
src/libraries/CoreFx.Private.TestUtilities/ref/CoreFx.Private.TestUtilities.cs [deleted file]
src/libraries/CoreFx.Private.TestUtilities/ref/CoreFx.Private.TestUtilities.csproj [deleted file]
src/libraries/CoreFx.Private.TestUtilities/ref/CoreFx.Private.TestUtilities.netcoreapp.cs [deleted file]
src/libraries/CoreFx.Private.TestUtilities/src/Configurations.props [deleted file]
src/libraries/CoreFx.Private.TestUtilities/src/CoreFx.Private.TestUtilities.csproj [deleted file]
src/libraries/CoreFx.Private.TestUtilities/src/Resources/CoreFx.Private.TestUtilities.rd.xml [deleted file]
src/libraries/CoreFx.Private.TestUtilities/src/System/AdminHelpers.Unix.cs [deleted file]
src/libraries/CoreFx.Private.TestUtilities/src/System/AdminHelpers.cs [deleted file]
src/libraries/CoreFx.Private.TestUtilities/src/System/Net/PlatformDetection.Networking.cs [deleted file]
src/libraries/CoreFx.Private.TestUtilities/src/System/PlatformApis.Unix.cs [deleted file]
src/libraries/CoreFx.Private.TestUtilities/src/System/PlatformDetection.NetFx.cs [deleted file]
src/libraries/CoreFx.Private.TestUtilities/src/System/PlatformDetection.NonNetFx.Windows.cs [deleted file]
src/libraries/CoreFx.Private.TestUtilities/src/System/TheoryExtensions.cs [deleted file]
src/libraries/CoreFx.Private.TestUtilities/tests/AssertExtensionTests.cs [deleted file]
src/libraries/CoreFx.Private.TestUtilities/tests/ConditionalAttributeTests.cs [deleted file]
src/libraries/CoreFx.Private.TestUtilities/tests/Configurations.props [deleted file]
src/libraries/CoreFx.Private.TestUtilities/tests/CoreFx.Private.TestUtilities.Tests.csproj [deleted file]
src/libraries/CoreFx.Private.TestUtilities/tests/TheoryExtensionTests.cs [deleted file]
src/libraries/Directory.Build.props
src/libraries/System.Diagnostics.Process/tests/ProcessTestBase.Uap.cs
src/libraries/System.DirectoryServices/tests/System/DirectoryServices/SortOptionTests.cs
src/libraries/System.IO.FileSystem/tests/Directory/CreateDirectory.cs
src/libraries/System.IO.FileSystem/tests/FileSystemTest.cs
src/libraries/System.Linq.Expressions/tests/System.Linq.Expressions.Tests.csproj
src/libraries/System.Net.Http/tests/FunctionalTests/HttpProtocolTests.cs
src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj
src/libraries/System.Private.Uri/tests/FunctionalTests/UriRelativeResolutionTest.cs
src/libraries/System.Runtime.Serialization.Formatters/tests/BinaryFormatterTestData.cs
src/libraries/System.Runtime.Serialization.Formatters/tests/BinaryFormatterTests.cs
src/libraries/System.Runtime.Serialization.Formatters/tests/PlatformExtensions.cs
src/libraries/System.Security.Cryptography.Cng/tests/RsaCngTests.cs
src/libraries/System.Security.Cryptography.Pkcs/tests/EnvelopedCms/DecryptTests.cs
src/libraries/System.Security.Cryptography.Pkcs/tests/EnvelopedCms/DecryptTestsUsingCertWithPrivateKey.cs
src/libraries/System.Security.Cryptography.Pkcs/tests/EnvelopedCms/EdgeCasesTests.cs
src/libraries/System.Security.Cryptography.Pkcs/tests/EnvelopedCms/StateTests.cs
src/libraries/System.Security.Cryptography.Xml/tests/Samples/SigningVerifyingX509Cert.cs
src/libraries/build.proj
src/libraries/dirs.proj
src/libraries/pkg/Microsoft.Private.PackageBaseline/packageIndex.json
src/libraries/pkg/descriptions.json
src/libraries/pkg/test/testPackages.proj
src/libraries/pretest.builds [deleted file]
src/libraries/pretest.proj [new file with mode: 0644]