From 996128aec7f63ad3ac7cb07f8e8f55a85bdfe775 Mon Sep 17 00:00:00 2001 From: Kun Qin Date: Tue, 3 Oct 2023 08:01:05 -0700 Subject: [PATCH] Fixing the string matching for Windows ARM64 system --- .pytool/Plugin/RustHostUnitTestPlugin/RustHostUnitTestPlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pytool/Plugin/RustHostUnitTestPlugin/RustHostUnitTestPlugin.py b/.pytool/Plugin/RustHostUnitTestPlugin/RustHostUnitTestPlugin.py index b053e66b65..e0d78170ca 100644 --- a/.pytool/Plugin/RustHostUnitTestPlugin/RustHostUnitTestPlugin.py +++ b/.pytool/Plugin/RustHostUnitTestPlugin/RustHostUnitTestPlugin.py @@ -26,7 +26,7 @@ def RunBuildPlugin(self, packagename, Edk2pathObj, pkgconfig, environment, PLM, with_coverage = pkgconfig.get("CalculateCoverage", True) - if platform.system() == "Windows" and platform.machine() == 'aarch64': + if platform.system() == "Windows" and platform.machine() == 'ARM64': logging.debug("Coverage skipped by plugin, not supported on Windows ARM") with_coverage = False