File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,13 @@ def setUp(self):
84
84
.format (self .cpu , self .revision ))
85
85
raise unittest .SkipTest ("HMIHandling not supported on CPU={} Revision={}"
86
86
.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 ))
87
94
else :
88
95
log .debug ("Skipping, HMIHandling NOT supported on CPU={} Revision={}"
89
96
.format (self .cpu , self .revision ))
You can’t perform that action at this time.
0 commit comments