Browse Source

Added ppc64le architecture to support testcases on power machine. (#48638)

ashutoshjadhav9 2 years ago
parent
commit
70167f8b68

+ 2 - 1
src/Hosting/Server.IntegrationTesting/src/Common/RuntimeArchitecture.cs

@@ -7,5 +7,6 @@ public enum RuntimeArchitecture
 {
     arm64,
     x64,
-    x86
+    x86,
+    ppc64le //Power Architecture
 }

+ 1 - 0
src/Hosting/Server.IntegrationTesting/src/Common/RuntimeArchitectures.cs

@@ -16,6 +16,7 @@ public class RuntimeArchitectures
                 Architecture.Arm64 => RuntimeArchitecture.arm64,
                 Architecture.X64 => RuntimeArchitecture.x64,
                 Architecture.X86 => RuntimeArchitecture.x86,
+                Architecture.Ppc64le => RuntimeArchitecture.ppc64le,
                 _ => throw new NotImplementedException($"Unknown RuntimeInformation.OSArchitecture: {RuntimeInformation.OSArchitecture.ToString()}"),
             };
         }