|
|
ccd8ec |
From 96591cb1ac589021b9f31854a13f8fe3dd565f25 Mon Sep 17 00:00:00 2001
|
|
|
ccd8ec |
From: Sapana Khemkar <Sapana.Khemkar@ibm.com>
|
|
|
ccd8ec |
Date: Tue, 27 Sep 2022 13:08:43 +0530
|
|
|
ccd8ec |
Subject: [PATCH 1/4] add support for ppc64le processor architecture
|
|
|
ccd8ec |
|
|
|
ccd8ec |
---
|
|
|
ccd8ec |
src/Microsoft.TestPlatform.ObjectModel/Architecture.cs | 3 ++-
|
|
|
ccd8ec |
.../Interfaces/System/PlatformArchitecture.cs | 1 +
|
|
|
ccd8ec |
.../netcore/System/PlatformEnvironment.cs | 1 +
|
|
|
ccd8ec |
.../netcore/System/ProcessHelper.cs | 1 +
|
|
|
ccd8ec |
.../Hosting/DefaultTestHostManager.cs | 1 +
|
|
|
ccd8ec |
src/vstest.console/TestPlatformHelpers/TestRequestManager.cs | 2 ++
|
|
|
ccd8ec |
.../Processors/PlatformArgumentProcessorTests.cs | 4 ++--
|
|
|
ccd8ec |
7 files changed, 10 insertions(+), 3 deletions(-)
|
|
|
ccd8ec |
|
|
|
ccd8ec |
diff --git a/src/vstest/src/Microsoft.TestPlatform.ObjectModel/Architecture.cs b/src/vstest/src/Microsoft.TestPlatform.ObjectModel/Architecture.cs
|
|
|
ccd8ec |
index 6c9b9bcde5..7879358840 100644
|
|
|
ccd8ec |
--- a/src/vstest/src/Microsoft.TestPlatform.ObjectModel/Architecture.cs
|
|
|
ccd8ec |
+++ b/src/vstest/src/Microsoft.TestPlatform.ObjectModel/Architecture.cs
|
|
|
ccd8ec |
@@ -11,5 +11,6 @@ public enum Architecture
|
|
|
ccd8ec |
ARM,
|
|
|
ccd8ec |
AnyCPU,
|
|
|
ccd8ec |
ARM64,
|
|
|
ccd8ec |
- S390x
|
|
|
ccd8ec |
+ S390x,
|
|
|
ccd8ec |
+ PPC64le
|
|
|
ccd8ec |
}
|
|
|
ccd8ec |
diff --git a/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/Interfaces/System/PlatformArchitecture.cs b/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/Interfaces/System/PlatformArchitecture.cs
|
|
|
ccd8ec |
index b1d477c7d3..aa81ca0ffc 100644
|
|
|
ccd8ec |
--- a/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/Interfaces/System/PlatformArchitecture.cs
|
|
|
ccd8ec |
+++ b/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/Interfaces/System/PlatformArchitecture.cs
|
|
|
ccd8ec |
@@ -13,4 +13,5 @@ public enum PlatformArchitecture
|
|
|
ccd8ec |
ARM,
|
|
|
ccd8ec |
ARM64,
|
|
|
ccd8ec |
S390x,
|
|
|
ccd8ec |
+ PPC64le,
|
|
|
ccd8ec |
}
|
|
|
ccd8ec |
diff --git a/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/netcore/System/PlatformEnvironment.cs b/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/netcore/System/PlatformEnvironment.cs
|
|
|
ccd8ec |
index 10d4a61570..14d1234ef6 100644
|
|
|
ccd8ec |
--- a/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/netcore/System/PlatformEnvironment.cs
|
|
|
ccd8ec |
+++ b/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/netcore/System/PlatformEnvironment.cs
|
|
|
ccd8ec |
@@ -28,6 +28,7 @@ public PlatformArchitecture Architecture
|
|
|
ccd8ec |
// preview 6 or later, so use the numerical value for now.
|
|
|
ccd8ec |
// case System.Runtime.InteropServices.Architecture.S390x:
|
|
|
ccd8ec |
(Architecture)5 => PlatformArchitecture.S390x,
|
|
|
ccd8ec |
+ (Architecture)6 => PlatformArchitecture.PPC64le,
|
|
|
ccd8ec |
_ => throw new NotSupportedException(),
|
|
|
ccd8ec |
};
|
|
|
ccd8ec |
}
|
|
|
ccd8ec |
diff --git a/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/netcore/System/ProcessHelper.cs b/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/netcore/System/ProcessHelper.cs
|
|
|
ccd8ec |
index 6cf4b0f91b..d1e31bb0f6 100644
|
|
|
ccd8ec |
--- a/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/netcore/System/ProcessHelper.cs
|
|
|
ccd8ec |
+++ b/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/netcore/System/ProcessHelper.cs
|
|
|
ccd8ec |
@@ -41,6 +41,7 @@ public PlatformArchitecture GetCurrentProcessArchitecture()
|
|
|
ccd8ec |
// preview 6 or later, so use the numerical value for now.
|
|
|
ccd8ec |
// case System.Runtime.InteropServices.Architecture.S390x:
|
|
|
ccd8ec |
(Architecture)5 => PlatformArchitecture.S390x,
|
|
|
ccd8ec |
+ (Architecture)6 => PlatformArchitecture.PPC64le,
|
|
|
ccd8ec |
_ => throw new NotSupportedException(),
|
|
|
ccd8ec |
};
|
|
|
ccd8ec |
}
|
|
|
ccd8ec |
diff --git a/src/vstest/src/Microsoft.TestPlatform.TestHostProvider/Hosting/DefaultTestHostManager.cs b/src/vstest/src/Microsoft.TestPlatform.TestHostProvider/Hosting/DefaultTestHostManager.cs
|
|
|
ccd8ec |
index 2eca302b43..54fa36e344 100644
|
|
|
ccd8ec |
--- a/src/vstest/src/Microsoft.TestPlatform.TestHostProvider/Hosting/DefaultTestHostManager.cs
|
|
|
ccd8ec |
+++ b/src/vstest/src/Microsoft.TestPlatform.TestHostProvider/Hosting/DefaultTestHostManager.cs
|
|
|
ccd8ec |
@@ -274,6 +274,7 @@ private static string GetTestHostName(Architecture architecture, Framework targe
|
|
|
ccd8ec |
PlatformArchitecture.ARM => Architecture.ARM,
|
|
|
ccd8ec |
PlatformArchitecture.ARM64 => Architecture.ARM64,
|
|
|
ccd8ec |
PlatformArchitecture.S390x => Architecture.S390x,
|
|
|
ccd8ec |
+ PlatformArchitecture.PPC64le => Architecture.PPC64le,
|
|
|
ccd8ec |
_ => throw new NotSupportedException(),
|
|
|
ccd8ec |
};
|
|
|
ccd8ec |
|
|
|
ccd8ec |
diff --git a/src/vstest/src/vstest.console/TestPlatformHelpers/TestRequestManager.cs b/src/vstest/src/vstest.console/TestPlatformHelpers/TestRequestManager.cs
|
|
|
ccd8ec |
index 642e36bb9e..c7a0f93927 100644
|
|
|
ccd8ec |
--- a/src/vstest/src/vstest.console/TestPlatformHelpers/TestRequestManager.cs
|
|
|
ccd8ec |
+++ b/src/vstest/src/vstest.console/TestPlatformHelpers/TestRequestManager.cs
|
|
|
ccd8ec |
@@ -841,6 +841,8 @@ static Architecture TranslateToArchitecture(PlatformArchitecture targetArchitect
|
|
|
ccd8ec |
return Architecture.ARM64;
|
|
|
ccd8ec |
case PlatformArchitecture.S390x:
|
|
|
ccd8ec |
return Architecture.S390x;
|
|
|
ccd8ec |
+ case PlatformArchitecture.PPC64le:
|
|
|
ccd8ec |
+ return Architecture.PPC64le;
|
|
|
ccd8ec |
default:
|
|
|
ccd8ec |
EqtTrace.Error($"TestRequestManager.TranslateToArchitecture: Unhandled architecture '{targetArchitecture}'.");
|
|
|
ccd8ec |
break;
|
|
|
ccd8ec |
diff --git a/src/vstest/test/vstest.console.UnitTests/Processors/PlatformArgumentProcessorTests.cs b/src/vstest/test/vstest.console.UnitTests/Processors/PlatformArgumentProcessorTests.cs
|
|
|
ccd8ec |
index 207e4590fd..472688248d 100644
|
|
|
ccd8ec |
--- a/src/vstest/test/vstest.console.UnitTests/Processors/PlatformArgumentProcessorTests.cs
|
|
|
ccd8ec |
+++ b/src/vstest/test/vstest.console.UnitTests/Processors/PlatformArgumentProcessorTests.cs
|
|
|
ccd8ec |
@@ -85,7 +85,7 @@ public void InitializeShouldThrowIfArgumentIsNotAnArchitecture()
|
|
|
ccd8ec |
{
|
|
|
ccd8ec |
ExceptionUtilities.ThrowsException<CommandLineException>(
|
|
|
ccd8ec |
() => _executor.Initialize("foo"),
|
|
|
ccd8ec |
- "Invalid platform type: {0}. Valid platform types are X86, X64, ARM, ARM64, S390x.",
|
|
|
ccd8ec |
+ "Invalid platform type: {0}. Valid platform types are X86, X64, ARM, ARM64, S390x, PPC64le.",
|
|
|
ccd8ec |
"foo");
|
|
|
ccd8ec |
}
|
|
|
ccd8ec |
|
|
|
ccd8ec |
@@ -94,7 +94,7 @@ public void InitializeShouldThrowIfArgumentIsNotASupportedArchitecture()
|
|
|
ccd8ec |
{
|
|
|
ccd8ec |
ExceptionUtilities.ThrowsException<CommandLineException>(
|
|
|
ccd8ec |
() => _executor.Initialize("AnyCPU"),
|
|
|
ccd8ec |
- "Invalid platform type: {0}. Valid platform types are X86, X64, ARM, ARM64, S390x.",
|
|
|
ccd8ec |
+ "Invalid platform type: {0}. Valid platform types are X86, X64, ARM, ARM64, S390x, PPC64le.",
|
|
|
ccd8ec |
"AnyCPU");
|
|
|
ccd8ec |
}
|
|
|
ccd8ec |
|
|
|
ccd8ec |
|
|
|
ccd8ec |
From 750b193e964a446dad5fc5927b745861eb19a9a9 Mon Sep 17 00:00:00 2001
|
|
|
ccd8ec |
From: Sapana Khemkar <Sapana.Khemkar@ibm.com>
|
|
|
ccd8ec |
Date: Wed, 28 Sep 2022 11:06:08 +0530
|
|
|
ccd8ec |
Subject: [PATCH 2/4] change enum name from PPC64le to Ppc64le to match with
|
|
|
ccd8ec |
System.Runtime.InteropServices.Architecture enum name
|
|
|
ccd8ec |
|
|
|
ccd8ec |
---
|
|
|
ccd8ec |
src/Microsoft.TestPlatform.ObjectModel/Architecture.cs | 2 +-
|
|
|
ccd8ec |
.../Interfaces/System/PlatformArchitecture.cs | 2 +-
|
|
|
ccd8ec |
.../netcore/System/PlatformEnvironment.cs | 2 +-
|
|
|
ccd8ec |
.../netcore/System/ProcessHelper.cs | 2 +-
|
|
|
ccd8ec |
.../Hosting/DefaultTestHostManager.cs | 2 +-
|
|
|
ccd8ec |
src/vstest.console/TestPlatformHelpers/TestRequestManager.cs | 4 ++--
|
|
|
ccd8ec |
.../Processors/PlatformArgumentProcessorTests.cs | 4 ++--
|
|
|
ccd8ec |
7 files changed, 9 insertions(+), 9 deletions(-)
|
|
|
ccd8ec |
|
|
|
ccd8ec |
diff --git a/src/vstest/src/Microsoft.TestPlatform.ObjectModel/Architecture.cs b/src/vstest/src/Microsoft.TestPlatform.ObjectModel/Architecture.cs
|
|
|
ccd8ec |
index 7879358840..f3d59e7ae4 100644
|
|
|
ccd8ec |
--- a/src/vstest/src/Microsoft.TestPlatform.ObjectModel/Architecture.cs
|
|
|
ccd8ec |
+++ b/src/vstest/src/Microsoft.TestPlatform.ObjectModel/Architecture.cs
|
|
|
ccd8ec |
@@ -12,5 +12,5 @@ public enum Architecture
|
|
|
ccd8ec |
AnyCPU,
|
|
|
ccd8ec |
ARM64,
|
|
|
ccd8ec |
S390x,
|
|
|
ccd8ec |
- PPC64le
|
|
|
ccd8ec |
+ Ppc64le
|
|
|
ccd8ec |
}
|
|
|
ccd8ec |
diff --git a/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/Interfaces/System/PlatformArchitecture.cs b/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/Interfaces/System/PlatformArchitecture.cs
|
|
|
ccd8ec |
index aa81ca0ffc..907ec721dd 100644
|
|
|
ccd8ec |
--- a/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/Interfaces/System/PlatformArchitecture.cs
|
|
|
ccd8ec |
+++ b/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/Interfaces/System/PlatformArchitecture.cs
|
|
|
ccd8ec |
@@ -13,5 +13,5 @@ public enum PlatformArchitecture
|
|
|
ccd8ec |
ARM,
|
|
|
ccd8ec |
ARM64,
|
|
|
ccd8ec |
S390x,
|
|
|
ccd8ec |
- PPC64le,
|
|
|
ccd8ec |
+ Ppc64le,
|
|
|
ccd8ec |
}
|
|
|
ccd8ec |
diff --git a/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/netcore/System/PlatformEnvironment.cs b/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/netcore/System/PlatformEnvironment.cs
|
|
|
ccd8ec |
index 14d1234ef6..f2163db898 100644
|
|
|
ccd8ec |
--- a/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/netcore/System/PlatformEnvironment.cs
|
|
|
ccd8ec |
+++ b/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/netcore/System/PlatformEnvironment.cs
|
|
|
ccd8ec |
@@ -28,7 +28,7 @@ public PlatformArchitecture Architecture
|
|
|
ccd8ec |
// preview 6 or later, so use the numerical value for now.
|
|
|
ccd8ec |
// case System.Runtime.InteropServices.Architecture.S390x:
|
|
|
ccd8ec |
(Architecture)5 => PlatformArchitecture.S390x,
|
|
|
ccd8ec |
- (Architecture)6 => PlatformArchitecture.PPC64le,
|
|
|
ccd8ec |
+ (Architecture)8 => PlatformArchitecture.Ppc64le,
|
|
|
ccd8ec |
_ => throw new NotSupportedException(),
|
|
|
ccd8ec |
};
|
|
|
ccd8ec |
}
|
|
|
ccd8ec |
diff --git a/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/netcore/System/ProcessHelper.cs b/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/netcore/System/ProcessHelper.cs
|
|
|
ccd8ec |
index d1e31bb0f6..d2d048e355 100644
|
|
|
ccd8ec |
--- a/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/netcore/System/ProcessHelper.cs
|
|
|
ccd8ec |
+++ b/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/netcore/System/ProcessHelper.cs
|
|
|
ccd8ec |
@@ -41,7 +41,7 @@ public PlatformArchitecture GetCurrentProcessArchitecture()
|
|
|
ccd8ec |
// preview 6 or later, so use the numerical value for now.
|
|
|
ccd8ec |
// case System.Runtime.InteropServices.Architecture.S390x:
|
|
|
ccd8ec |
(Architecture)5 => PlatformArchitecture.S390x,
|
|
|
ccd8ec |
- (Architecture)6 => PlatformArchitecture.PPC64le,
|
|
|
ccd8ec |
+ (Architecture)8 => PlatformArchitecture.Ppc64le,
|
|
|
ccd8ec |
_ => throw new NotSupportedException(),
|
|
|
ccd8ec |
};
|
|
|
ccd8ec |
}
|
|
|
ccd8ec |
diff --git a/src/vstest/src/Microsoft.TestPlatform.TestHostProvider/Hosting/DefaultTestHostManager.cs b/src/vstest/src/Microsoft.TestPlatform.TestHostProvider/Hosting/DefaultTestHostManager.cs
|
|
|
ccd8ec |
index 54fa36e344..02001d23ab 100644
|
|
|
ccd8ec |
--- a/src/vstest/src/Microsoft.TestPlatform.TestHostProvider/Hosting/DefaultTestHostManager.cs
|
|
|
ccd8ec |
+++ b/src/vstest/src/Microsoft.TestPlatform.TestHostProvider/Hosting/DefaultTestHostManager.cs
|
|
|
ccd8ec |
@@ -274,7 +274,7 @@ private static string GetTestHostName(Architecture architecture, Framework targe
|
|
|
ccd8ec |
PlatformArchitecture.ARM => Architecture.ARM,
|
|
|
ccd8ec |
PlatformArchitecture.ARM64 => Architecture.ARM64,
|
|
|
ccd8ec |
PlatformArchitecture.S390x => Architecture.S390x,
|
|
|
ccd8ec |
- PlatformArchitecture.PPC64le => Architecture.PPC64le,
|
|
|
ccd8ec |
+ PlatformArchitecture.Ppc64le => Architecture.Ppc64le,
|
|
|
ccd8ec |
_ => throw new NotSupportedException(),
|
|
|
ccd8ec |
};
|
|
|
ccd8ec |
|
|
|
ccd8ec |
diff --git a/src/vstest/src/vstest.console/TestPlatformHelpers/TestRequestManager.cs b/src/vstest/src/vstest.console/TestPlatformHelpers/TestRequestManager.cs
|
|
|
ccd8ec |
index c7a0f93927..25cca0ca07 100644
|
|
|
ccd8ec |
--- a/src/vstest/src/vstest.console/TestPlatformHelpers/TestRequestManager.cs
|
|
|
ccd8ec |
+++ b/src/vstest/src/vstest.console/TestPlatformHelpers/TestRequestManager.cs
|
|
|
ccd8ec |
@@ -841,8 +841,8 @@ static Architecture TranslateToArchitecture(PlatformArchitecture targetArchitect
|
|
|
ccd8ec |
return Architecture.ARM64;
|
|
|
ccd8ec |
case PlatformArchitecture.S390x:
|
|
|
ccd8ec |
return Architecture.S390x;
|
|
|
ccd8ec |
- case PlatformArchitecture.PPC64le:
|
|
|
ccd8ec |
- return Architecture.PPC64le;
|
|
|
ccd8ec |
+ case PlatformArchitecture.Ppc64le:
|
|
|
ccd8ec |
+ return Architecture.Ppc64le;
|
|
|
ccd8ec |
default:
|
|
|
ccd8ec |
EqtTrace.Error($"TestRequestManager.TranslateToArchitecture: Unhandled architecture '{targetArchitecture}'.");
|
|
|
ccd8ec |
break;
|
|
|
ccd8ec |
diff --git a/src/vstest/test/vstest.console.UnitTests/Processors/PlatformArgumentProcessorTests.cs b/src/vstest/test/vstest.console.UnitTests/Processors/PlatformArgumentProcessorTests.cs
|
|
|
ccd8ec |
index 472688248d..f33166ae6c 100644
|
|
|
ccd8ec |
--- a/src/vstest/test/vstest.console.UnitTests/Processors/PlatformArgumentProcessorTests.cs
|
|
|
ccd8ec |
+++ b/src/vstest/test/vstest.console.UnitTests/Processors/PlatformArgumentProcessorTests.cs
|
|
|
ccd8ec |
@@ -85,7 +85,7 @@ public void InitializeShouldThrowIfArgumentIsNotAnArchitecture()
|
|
|
ccd8ec |
{
|
|
|
ccd8ec |
ExceptionUtilities.ThrowsException<CommandLineException>(
|
|
|
ccd8ec |
() => _executor.Initialize("foo"),
|
|
|
ccd8ec |
- "Invalid platform type: {0}. Valid platform types are X86, X64, ARM, ARM64, S390x, PPC64le.",
|
|
|
ccd8ec |
+ "Invalid platform type: {0}. Valid platform types are X86, X64, ARM, ARM64, S390x, ppc64le.",
|
|
|
ccd8ec |
"foo");
|
|
|
ccd8ec |
}
|
|
|
ccd8ec |
|
|
|
ccd8ec |
@@ -94,7 +94,7 @@ public void InitializeShouldThrowIfArgumentIsNotASupportedArchitecture()
|
|
|
ccd8ec |
{
|
|
|
ccd8ec |
ExceptionUtilities.ThrowsException<CommandLineException>(
|
|
|
ccd8ec |
() => _executor.Initialize("AnyCPU"),
|
|
|
ccd8ec |
- "Invalid platform type: {0}. Valid platform types are X86, X64, ARM, ARM64, S390x, PPC64le.",
|
|
|
ccd8ec |
+ "Invalid platform type: {0}. Valid platform types are X86, X64, ARM, ARM64, S390x, ppc64le.",
|
|
|
ccd8ec |
"AnyCPU");
|
|
|
ccd8ec |
}
|
|
|
ccd8ec |
|
|
|
ccd8ec |
|
|
|
ccd8ec |
From 4d97db82c39caf0aa6ca7bd3f47f1c3714aa6f2c Mon Sep 17 00:00:00 2001
|
|
|
ccd8ec |
From: Sapana Khemkar <Sapana.Khemkar@ibm.com>
|
|
|
ccd8ec |
Date: Wed, 28 Sep 2022 17:58:27 +0530
|
|
|
ccd8ec |
Subject: [PATCH 3/4] add defination of enum
|
|
|
ccd8ec |
Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformArchitecture.Ppc64le
|
|
|
ccd8ec |
and Microsoft.VisualStudio.TestPlatform.ObjectModel.Architecture.Ppc64le in
|
|
|
ccd8ec |
Microsoft.TestPlatform.ObjectModel and
|
|
|
ccd8ec |
/Microsoft.TestPlatform.PlatformAbstractions PublicAPI.Shipped.txt file.
|
|
|
ccd8ec |
|
|
|
ccd8ec |
---
|
|
|
ccd8ec |
.../PublicAPI/PublicAPI.Shipped.txt | 1 +
|
|
|
ccd8ec |
.../PublicAPI/PublicAPI.Shipped.txt | 1 +
|
|
|
ccd8ec |
2 files changed, 2 insertions(+)
|
|
|
ccd8ec |
|
|
|
ccd8ec |
diff --git a/src/vstest/src/Microsoft.TestPlatform.ObjectModel/PublicAPI/PublicAPI.Shipped.txt b/src/vstest/src/Microsoft.TestPlatform.ObjectModel/PublicAPI/PublicAPI.Shipped.txt
|
|
|
ccd8ec |
index 9df7e09b00..5d69e70774 100644
|
|
|
ccd8ec |
--- a/src/vstest/src/Microsoft.TestPlatform.ObjectModel/PublicAPI/PublicAPI.Shipped.txt
|
|
|
ccd8ec |
+++ b/src/vstest/src/Microsoft.TestPlatform.ObjectModel/PublicAPI/PublicAPI.Shipped.txt
|
|
|
ccd8ec |
@@ -113,6 +113,7 @@ Microsoft.VisualStudio.TestPlatform.ObjectModel.Architecture.ARM = 3 -> Microsof
|
|
|
ccd8ec |
Microsoft.VisualStudio.TestPlatform.ObjectModel.Architecture.ARM64 = 5 -> Microsoft.VisualStudio.TestPlatform.ObjectModel.Architecture
|
|
|
ccd8ec |
Microsoft.VisualStudio.TestPlatform.ObjectModel.Architecture.Default = 0 -> Microsoft.VisualStudio.TestPlatform.ObjectModel.Architecture
|
|
|
ccd8ec |
Microsoft.VisualStudio.TestPlatform.ObjectModel.Architecture.S390x = 6 -> Microsoft.VisualStudio.TestPlatform.ObjectModel.Architecture
|
|
|
ccd8ec |
+Microsoft.VisualStudio.TestPlatform.ObjectModel.Architecture.Ppc64le = 7 -> Microsoft.VisualStudio.TestPlatform.ObjectModel.Architecture
|
|
|
ccd8ec |
Microsoft.VisualStudio.TestPlatform.ObjectModel.Architecture.X64 = 2 -> Microsoft.VisualStudio.TestPlatform.ObjectModel.Architecture
|
|
|
ccd8ec |
Microsoft.VisualStudio.TestPlatform.ObjectModel.Architecture.X86 = 1 -> Microsoft.VisualStudio.TestPlatform.ObjectModel.Architecture
|
|
|
ccd8ec |
Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet
|
|
|
ccd8ec |
diff --git a/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/PublicAPI/PublicAPI.Shipped.txt b/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/PublicAPI/PublicAPI.Shipped.txt
|
|
|
ccd8ec |
index 696ed76517..8f0f763f94 100644
|
|
|
ccd8ec |
--- a/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/PublicAPI/PublicAPI.Shipped.txt
|
|
|
ccd8ec |
+++ b/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/PublicAPI/PublicAPI.Shipped.txt
|
|
|
ccd8ec |
@@ -67,6 +67,7 @@ Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformArchitecture
|
|
|
ccd8ec |
Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformArchitecture.ARM = 2 -> Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformArchitecture
|
|
|
ccd8ec |
Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformArchitecture.ARM64 = 3 -> Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformArchitecture
|
|
|
ccd8ec |
Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformArchitecture.S390x = 4 -> Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformArchitecture
|
|
|
ccd8ec |
+Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformArchitecture.Ppc64le = 5 -> Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformArchitecture
|
|
|
ccd8ec |
Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformArchitecture.X64 = 1 -> Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformArchitecture
|
|
|
ccd8ec |
Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformArchitecture.X86 = 0 -> Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformArchitecture
|
|
|
ccd8ec |
Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformAssemblyExtensions
|
|
|
ccd8ec |
|
|
|
ccd8ec |
From 389b923569be952cfa6875af209e70d9490bfd73 Mon Sep 17 00:00:00 2001
|
|
|
ccd8ec |
From: Sapana Khemkar <Sapana.Khemkar@ibm.com>
|
|
|
ccd8ec |
Date: Wed, 28 Sep 2022 19:45:55 +0530
|
|
|
ccd8ec |
Subject: [PATCH 4/4] corrected typo in ppc64le arch name
|
|
|
ccd8ec |
|
|
|
ccd8ec |
---
|
|
|
ccd8ec |
.../Processors/PlatformArgumentProcessorTests.cs | 4 ++--
|
|
|
ccd8ec |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
ccd8ec |
|
|
|
ccd8ec |
diff --git a/src/vstest/test/vstest.console.UnitTests/Processors/PlatformArgumentProcessorTests.cs b/src/vstest/test/vstest.console.UnitTests/Processors/PlatformArgumentProcessorTests.cs
|
|
|
ccd8ec |
index f33166ae6c..b452b48408 100644
|
|
|
ccd8ec |
--- a/src/vstest/test/vstest.console.UnitTests/Processors/PlatformArgumentProcessorTests.cs
|
|
|
ccd8ec |
+++ b/src/vstest/test/vstest.console.UnitTests/Processors/PlatformArgumentProcessorTests.cs
|
|
|
ccd8ec |
@@ -85,7 +85,7 @@ public void InitializeShouldThrowIfArgumentIsNotAnArchitecture()
|
|
|
ccd8ec |
{
|
|
|
ccd8ec |
ExceptionUtilities.ThrowsException<CommandLineException>(
|
|
|
ccd8ec |
() => _executor.Initialize("foo"),
|
|
|
ccd8ec |
- "Invalid platform type: {0}. Valid platform types are X86, X64, ARM, ARM64, S390x, ppc64le.",
|
|
|
ccd8ec |
+ "Invalid platform type: {0}. Valid platform types are X86, X64, ARM, ARM64, S390x, Ppc64le.",
|
|
|
ccd8ec |
"foo");
|
|
|
ccd8ec |
}
|
|
|
ccd8ec |
|
|
|
ccd8ec |
@@ -94,7 +94,7 @@ public void InitializeShouldThrowIfArgumentIsNotASupportedArchitecture()
|
|
|
ccd8ec |
{
|
|
|
ccd8ec |
ExceptionUtilities.ThrowsException<CommandLineException>(
|
|
|
ccd8ec |
() => _executor.Initialize("AnyCPU"),
|
|
|
ccd8ec |
- "Invalid platform type: {0}. Valid platform types are X86, X64, ARM, ARM64, S390x, ppc64le.",
|
|
|
ccd8ec |
+ "Invalid platform type: {0}. Valid platform types are X86, X64, ARM, ARM64, S390x, Ppc64le.",
|
|
|
ccd8ec |
"AnyCPU");
|
|
|
ccd8ec |
}
|
|
|
ccd8ec |
|