From: sangeeta jain <[email protected]>

updated the testcase to read microcode versions applied for exact
signature for CPU. This change will skip test case when run on a
platform which is a prototype or early silicon and there is no microcode
being early loaded by OS. Previously it was failing in this scenario.

Signed-off-by: sangeeta jain <[email protected]>
---
 lib/oeqa/runtime/cases/microcode.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/oeqa/runtime/cases/microcode.py 
b/lib/oeqa/runtime/cases/microcode.py
index 6ce36a6..d2b059f 100644
--- a/lib/oeqa/runtime/cases/microcode.py
+++ b/lib/oeqa/runtime/cases/microcode.py
@@ -16,7 +16,7 @@ class MicrocodeTest(OERuntimeTestCase):
 
     @OEHasPackage(["iucode-tool"])
     def test_microcode_update(self):
-        (status, output) = self.target.run('iucode_tool 
/lib/firmware/intel-ucode/ -tb -lS | grep rev')
+        (status, output) = self.target.run('iucode_tool 
/lib/firmware/intel-ucode/ -tb -l --scan-system=2 | grep rev')
         if status:
             self.skipTest("The iucode_tool detected no microcode for update.")
 
-- 
2.7.4

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6919): 
https://lists.yoctoproject.org/g/meta-intel/message/6919
Mute This Topic: https://lists.yoctoproject.org/mt/80671805/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to