File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,13 @@ def setUp(self):
8484 .format (self .cpu , self .revision ))
8585 raise unittest .SkipTest ("HMIHandling not supported on CPU={} Revision={}"
8686 .format (self .cpu , self .revision ))
87+ elif self .cpu in ["POWER8" , "POWER8E" , "POWER8NVL" ]:
88+ self .revision = '' .join (self .cv_HOST .host_run_command ("grep '^revision' /proc/cpuinfo |uniq|sed -e 's/^.*: //;s/ (.*)//;'" , console = 1 ))
89+ if not self .revision in ["1.0" , "2.0" , "2.1" ]:
90+ log .debug ("Skipping, HMIHandling NOT supported on CPU={} Revision={}"
91+ .format (self .cpu , self .revision ))
92+ raise unittest .SkipTest ("HMIHandling not supported on CPU={} Revision={}"
93+ .format (self .cpu , self .revision ))
8794 else :
8895 log .debug ("Skipping, HMIHandling NOT supported on CPU={} Revision={}"
8996 .format (self .cpu , self .revision ))
You can’t perform that action at this time.
0 commit comments