File tree 1 file changed +13
-0
lines changed
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,19 @@ def setUp(self):
90
90
91
91
log .debug ("Setting up to run HMIHandling on CPU={} Revision={}" .format (
92
92
self .cpu , self .revision ))
93
+ elif self .cpu in ["POWER8" , "POWER8E" , "POWER8NVL" ]:
94
+ self .revision = '' .join (self .cv_HOST .host_run_command ("grep '^revision' /proc/cpuinfo |uniq|sed -e 's/^.*: //;s/ (.*)//;'" , console = 1 ))
95
+ if not self .revision in ["1.0" , "2.0" , "2.1" ]:
96
+ log .debug ("Skipping, HMIHandling NOT supported on CPU={} Revision={}"
97
+ .format (self .cpu , self .revision ))
98
+ raise unittest .SkipTest ("HMIHandling not supported on CPU={} Revision={}"
99
+ .format (self .cpu , self .revision ))
100
+ else :
101
+ log .debug ("Skipping, HMIHandling NOT supported on CPU={} Revision={}"
102
+ .format (self .cpu , self .revision ))
103
+ raise unittest .SkipTest ("HMIHandling not supported on CPU={} Revision={}"
104
+ .format (self .cpu , self .revision ))
105
+ log .debug ("Setting up to run HMIHandling on CPU={} Revision={}" .format (self .cpu , self .revision ))
93
106
94
107
def clear_stop (self ):
95
108
self .cv_SYSTEM .stop = 0
You can’t perform that action at this time.
0 commit comments